/* Xenertec Réservation — site de présentation
   Complète base.css / layout.css / components.css : en-tête, menu, sections,
   cadres de capture, vidéos produit, pied de page. */

:root {
  --gutter: clamp(20px, 5vw, 40px);
  --maxw: 1180px;
}

/* Chiffres alignés partout (Cormorant sort des chiffres elzéviriens par défaut,
   ce qui faisait plonger le « 5 » sous la ligne et lire le « 1 » comme un I). */
body,
.tnum,
.font-heading {
  font-variant-numeric: lining-nums tabular-nums;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--noir);
  color: var(--creme);
  padding: 12px 18px;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible {
  outline: 2px solid var(--or-sombre);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------- en-tête */
.site-header { gap: 18px; }
.header-logo { color: inherit; text-decoration: none; }
.header-logo-icon { display: block; }
.header-logo-text-accent { color: var(--or-sombre); }
.header-actions { display: flex; align-items: center; gap: clamp(12px, 3vw, 26px); }
/* Bouton de connexion mis en avant. */
.header-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--noir);
  border-radius: 999px;
  background: var(--noir);
  color: var(--creme);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 6px 18px -10px rgba(32, 31, 29, .6);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.header-login svg { flex: none; color: var(--or-clair); transition: color .3s ease; }
.header-login:hover {
  background: var(--or-sombre);
  border-color: var(--or-sombre);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -10px rgba(125, 84, 17, .75);
}
.header-login:hover svg { color: #fff; }

@media (max-width: 560px) {
  .site-header { gap: 10px; padding-left: 16px; padding-right: 16px; }
  .header-actions { gap: 10px; }
  .header-logo { gap: 9px; }
  .header-logo-text { font-size: 16px; letter-spacing: .03em; }
  .header-login { padding: 8px 12px; gap: 6px; font-size: 10.5px; letter-spacing: .04em; }
  .burger-label { display: none; }
}
.login-short { display: none; }
@media (max-width: 380px) {
  .login-long { display: none; }
  .login-short { display: inline; }
  .site-header .header-logo-text .header-logo-text-accent { display: none; }
}

/* En-tête posé sur une section sombre */
.site-header.is-dark { background: transparent; }
.site-header.is-dark .header-logo-text { color: rgba(243, 242, 242, .82); }
.site-header.is-dark .header-login { background: var(--creme); border-color: var(--creme); color: var(--noir); }
.site-header.is-dark .header-login svg { color: var(--or-sombre); }
.site-header.is-dark .header-login:hover { background: var(--or-clair); border-color: var(--or-clair); color: var(--noir); }
.site-header.is-dark .header-logo-text-accent,
.site-header.is-dark .burger-label { color: var(--or-clair); }
.site-header.is-dark .burger-bar { background: #f3f2f2; }
.site-header.is-scrolled {
  background: rgba(243, 242, 242, .82);
  backdrop-filter: blur(10px) saturate(115%);
  -webkit-backdrop-filter: blur(10px) saturate(115%);
}
.site-header.is-scrolled.is-dark {
  background: rgba(25, 24, 23, .72);
  border-bottom-color: rgba(243, 242, 242, .08);
}

/* ------------------------------------------------------------------- menu */
.mobile-menu[hidden] { display: none; }
.mobile-menu-footer {
  position: relative;
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu-contact { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; color: var(--texte-dim); }
.mobile-menu-contact .italic { font-style: italic; color: var(--texte-muted); }
.mobile-menu-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.mobile-menu-item:hover .title { color: var(--or-sombre); }
.mobile-menu-item .title { transition: color .25s ease; }

/* --------------------------------------------------------------- sections */
.wrap { max-width: var(--maxw); margin: 0 auto; width: 100%; }
.wrap-narrow { max-width: 820px; margin: 0 auto; width: 100%; }

.sec { position: relative; padding: clamp(64px, 9vw, 120px) var(--gutter); }
.sec-tight { padding: clamp(44px, 6vw, 80px) var(--gutter); }
.sec-alt { background: var(--fond-alt); }
.sec-dark { background: var(--noir); color: var(--creme); }
.sec-dark h2, .sec-dark h3 { color: var(--creme); }
.sec-dark p { color: rgba(243, 242, 242, .68); }
.sec-line { border-top: 1px solid rgba(32, 31, 29, .14); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--or-sombre);
  margin: 0 0 16px;
}
.eyebrow::before { content: ""; display: block; width: 38px; height: 1px; background: var(--or); }
.sec-dark .eyebrow { color: var(--or-clair); }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; color: var(--texte); }
.h1 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.03; margin: 0; letter-spacing: -.01em; }
.h2 { font-size: clamp(28px, 4vw, 50px); line-height: 1.06; margin: 0; }
.h3 { font-size: clamp(21px, 2.4vw, 27px); line-height: 1.2; margin: 0 0 8px; font-weight: 500; }
em.or { font-style: italic; color: var(--or-sombre); }
.sec-dark em.or { color: var(--or-clair); }

.lead { font-size: clamp(15.5px, 1.5vw, 17.5px); line-height: 1.8; color: var(--texte-dim); margin: 22px 0 0; max-width: 58ch; }
.sec-dark .lead { color: rgba(243, 242, 242, .7); }
.p { font-size: 15.5px; line-height: 1.8; color: var(--texte-dim); margin: 12px 0 0; }
.small { font-size: 13px; line-height: 1.7; color: var(--texte-ghost); }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.split-top { align-items: start; }
.cols-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr)); gap: clamp(24px, 3vw, 40px); }
.stack-24 > * + * { margin-top: 24px; }

/* ------------------------------------------------------ listes numérotées */
.steps { display: grid; gap: 22px; margin: 34px 0 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: baseline; border-top: 1px solid rgba(32, 31, 29, .16); padding-top: 16px; }
.sec-dark .step { border-top-color: rgba(243, 242, 242, .16); }
.step-num { font-family: var(--font-heading); font-size: 17px; color: var(--or); }
.step p { margin: 6px 0 0; max-width: 46ch; }

/* --------------------------------------------------------------- visuels */
.media {
  position: relative;
  border-radius: 10px;
  border: 1px solid rgba(32, 31, 29, .18);
  background: #eae9e9;
  padding: 10px;
  box-shadow: 0 50px 80px -55px rgba(45, 43, 43, .6), 0 14px 32px -26px rgba(45, 43, 43, .4);
}
.sec-dark .media { border-color: rgba(243, 242, 242, .14); background: #26241f; }
.media-bar { display: flex; gap: 6px; padding: 2px 4px 9px; }
.media-bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(32, 31, 29, .18); }
.media-bar span:last-child { background: rgba(182, 130, 53, .5); }
.media-frame { position: relative; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: #16150f; }
.media-frame img, .media-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.media-caption { margin: 14px 2px 0; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--texte-ghost); }
.sec-dark .media-caption { color: rgba(243, 242, 242, .45); }

.phone {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 19;
  margin: 0 auto;
  border-radius: 38px;
  border: 1px solid rgba(32, 31, 29, .3);
  background: var(--noir);
  padding: 10px;
  box-shadow: 0 50px 80px -50px rgba(45, 43, 43, .75);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: #161514; }
.phone-screen img, .phone-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.phone::after { content: ""; position: absolute; left: 50%; top: 19px; width: 74px; height: 5px; margin-left: -37px; border-radius: 3px; background: rgba(243, 242, 242, .25); }

.video-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--texte-ghost);
}
.video-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--or); }

/* ---------------------------------------------------------------- cartes */
.card {
  border: 1px solid rgba(32, 31, 29, .16);
  background: var(--creme);
  padding: clamp(22px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sec-dark .card { border-color: rgba(243, 242, 242, .14); background: rgba(243, 242, 242, .03); }
.card-num { font-family: var(--font-heading); font-size: 26px; color: var(--or); }
.card p { margin: 0; }

.tag-soon {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--or-sombre);
  border: 1px solid rgba(182, 130, 53, .5);
  padding: 4px 9px;
  white-space: nowrap;
}
.sec-dark .tag-soon { color: var(--or-clair); }

.note {
  border-left: 2px solid var(--or);
  padding: 4px 0 4px 18px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--texte-dim);
  max-width: 70ch;
}
.sec-dark .note { color: rgba(243, 242, 242, .66); }

/* --------------------------------------------------------------- tarifs */
.price-card { border: 1px solid rgba(32, 31, 29, .18); background: var(--creme); padding: clamp(26px, 4vw, 40px); }
.price-amount { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 6px; }
.price-amount b { font-family: var(--font-heading); font-weight: 400; font-size: clamp(48px, 7vw, 76px); line-height: 1; }
.price-list { list-style: none; margin: 22px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(32, 31, 29, .16); display: grid; gap: 11px; }
.price-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline; font-size: 14.5px; line-height: 1.65; color: var(--texte-dim); }
.price-list li::before { content: "—"; color: var(--or); }

.compare { width: 100%; border-collapse: collapse; background: var(--creme); border: 1px solid rgba(32, 31, 29, .18); font-size: 13.5px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid rgba(32, 31, 29, .1); vertical-align: top; }
.compare th { font-weight: 400; color: var(--texte-ghost); font-size: 12.5px; }
.compare .own { background: rgba(182, 130, 53, .07); border-left: 1px solid rgba(182, 130, 53, .45); color: var(--texte); }
.table-scroll { overflow-x: auto; }
.table-scroll > * { min-width: 620px; }

/* ------------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid rgba(32, 31, 29, .15); margin-top: 34px; }

/* --------------------------------------------------------------- formulaire */
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-ghost); }
.sec-dark .field label { color: rgba(243, 242, 242, .5); }
.sec-dark .input-underline { color: var(--creme); border-bottom-color: rgba(243, 242, 242, .28); }
.sec-dark .input-underline::placeholder { color: rgba(243, 242, 242, .35); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status { font-size: 14.5px; line-height: 1.7; min-height: 22px; }
.form-status.ok { color: #2f6b45; }
.form-status.ko { color: #a3382c; }
.sec-dark .form-status.ok { color: #9ed3ae; }
.sec-dark .form-status.ko { color: #eaa79c; }
.sec-dark .btn-primary { border-color: var(--or); color: var(--or-clair); }
.sec-dark .btn-primary:hover { background: rgba(182, 130, 53, .16); }
.sec-dark .btn-secondary { border-color: rgba(243, 242, 242, .28); color: rgba(243, 242, 242, .82); }
button[disabled] { opacity: .55; cursor: not-allowed; }

/* -------------------------------------------------------------- pied de page */
.site-footer { background: var(--noir); color: var(--creme); padding: clamp(48px, 7vw, 72px) var(--gutter) 34px; border-top: 1px solid rgba(182, 130, 53, .2); }
.site-footer-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 36px; }
.site-footer-brand { font-family: var(--font-heading); font-size: 22px; color: var(--or); margin-bottom: 16px; }
.site-footer p { font-size: 14px; line-height: 1.7; color: rgba(243, 242, 242, .5); margin: 0 0 10px; max-width: 34ch; }
.site-footer-mail a { color: rgba(243, 242, 242, .78); }
.site-footer-title { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--or-sombre); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; font-size: 14px; }
.site-footer ul a { color: rgba(243, 242, 242, .72); }
.site-footer ul a:hover { color: var(--or-clair); }
.site-footer-bottom {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(243, 242, 242, .1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(243, 242, 242, .35);
}

/* ------------------------------------------------- révélation au défilement */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* --------------------------------------------- narration « une journée » */
/* Hauteur totale : un écran + un demi-écran par étape suivante. */
.journey { position: relative; height: calc(100svh + (var(--steps, 5) - 1) * 52svh); }
.journey-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto auto;
  overflow: hidden;
  background: var(--creme);
  padding: clamp(78px, 11vh, 110px) var(--gutter) clamp(14px, 2.5vh, 26px);
  transition: background-color .9s ease;
}
.journey.is-night .journey-sticky { background: var(--noir); }
.journey.is-night .journey-clock { color: var(--or-clair); }
.journey.is-night .journey-title { color: var(--creme); }
.journey.is-night .journey-body { color: rgba(243, 242, 242, .7); }
.journey.is-night .eyebrow { color: var(--or-clair); }
.journey.is-night .media { border-color: rgba(243, 242, 242, .14); background: #26241f; }

.journey-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.journey-clock {
  font-family: var(--font-heading);
  font-size: clamp(64px, 10vw, 138px);
  line-height: .9;
  color: var(--or);
  font-variant-numeric: lining-nums tabular-nums;
  transition: color .9s ease;
}
.journey-copy { transition: opacity .2s ease, transform .2s ease; }
.journey-copy.is-leaving { opacity: 0; transform: translateY(-14px); }
.journey-copy.is-leaving[data-dir="down"] { transform: translateY(14px); }
.journey-copy.is-entering { opacity: 0; transform: translateY(18px); transition: none; }
.journey-copy.is-entering[data-dir="down"] { transform: translateY(-18px); }
.journey-copy:not(.is-leaving):not(.is-entering) { transition: opacity .55s ease, transform .55s cubic-bezier(.16, 1, .3, 1); }
.journey-title { font-family: var(--font-heading); font-size: clamp(26px, 3.1vw, 42px); line-height: 1.12; margin: 18px 0 0; color: var(--texte); transition: color .9s ease; }
.journey-body { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.7; margin: 14px 0 0; max-width: 40ch; color: var(--texte-dim); transition: color .9s ease; }

.journey-shot { width: 100%; }
.journey-frames img {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .75s ease, transform 1.2s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}
.journey-frames img.is-on { opacity: 1; transform: scale(1); }

.journey-timeline { max-width: var(--maxw); width: 100%; margin: clamp(14px, 3vh, 30px) auto 0; }
.journey-track { position: relative; height: 2px; background: rgba(155, 151, 151, .3); overflow: hidden; }
.journey-track span { position: absolute; inset: 0; background: var(--or); transform: scaleX(0); transform-origin: left; }
.journey-timeline ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--steps, 5), 1fr); }
.journey-timeline button {
  width: 100%;
  display: grid;
  gap: 2px;
  justify-items: start;
  padding: 12px 6px 4px 0;
  background: none;
  border: 0;
  border-top: 2px solid transparent;
  margin-top: -2px;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--texte-muted);
  text-align: left;
  transition: color .35s ease;
}
.journey-timeline button b, .journey-timeline button { font-variant-numeric: lining-nums tabular-nums; }
.journey-timeline button b { font-family: var(--font-heading); font-weight: 400; font-size: clamp(17px, 1.8vw, 22px); line-height: 1; }
.journey-timeline button span { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; }
.journey-timeline button:hover, .journey-timeline button.is-past { color: var(--texte-dim); }
.journey-timeline button.is-on { color: var(--or-sombre); }
.journey.is-night .journey-timeline button { color: rgba(243, 242, 242, .38); }
.journey.is-night .journey-timeline button.is-past { color: rgba(243, 242, 242, .62); }
.journey.is-night .journey-timeline button.is-on { color: var(--or-clair); }
.journey.is-night .journey-track { background: rgba(243, 242, 242, .16); }

.journey-cue { justify-self: center; margin-top: clamp(8px, 1.6vh, 16px); transition: opacity .4s ease, color .9s ease; }
.journey.is-night .journey-cue { color: rgba(243, 242, 242, .6); }
.journey.is-night .scroll-cue-mouse { border-color: rgba(243, 242, 242, .5); }
.journey.is-done .journey-cue { opacity: 0; pointer-events: none; }

@media (max-width: 860px) {
  .journey { height: calc(100svh + (var(--steps, 5) - 1) * 46svh); }
  .journey-sticky { padding-top: 76px; }
  .journey-grid { grid-template-columns: 1fr; align-content: center; gap: 18px; }
  .journey-clock { font-size: clamp(52px, 15vw, 80px); }
  .journey-title { margin-top: 8px; font-size: clamp(23px, 6vw, 30px); }
  .journey-body { margin-top: 8px; }
  .journey-text .eyebrow { margin-bottom: 8px; }
  .journey-shot { max-width: 560px; justify-self: center; }
  .journey-timeline button span { display: none; }
  .journey-timeline button b { font-size: 16px; }
}
@media (max-height: 620px) and (max-width: 860px) {
  .journey-shot { display: none; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: calc(100svh - 70px); display: grid; align-content: center; gap: clamp(30px, 6vh, 64px); padding: clamp(40px, 8vh, 90px) var(--gutter) clamp(50px, 9vh, 100px); overflow: hidden; }
.hero-bg { position: absolute; inset: -10% -5%; z-index: -2; background: radial-gradient(115% 85% at 50% 8%, #fffaf1 0%, #f5f3f0 52%, #eae7e4 100%); }
.hero-clock {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); z-index: -1;
  font-family: var(--font-heading); font-size: min(30vw, 380px); line-height: .8;
  color: rgba(182, 130, 53, .12); letter-spacing: -.02em; white-space: nowrap; pointer-events: none;
}
.hero-inner { text-align: center; display: grid; justify-items: center; }
.hero-inner .eyebrow::before { display: none; }
.hero-title { max-width: 15ch; }
.hero-lead { max-width: 54ch; margin: clamp(18px, 3vh, 28px) 0 0; font-size: clamp(15px, 1.6vw, 17.5px); line-height: 1.7; color: #444141; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: clamp(22px, 4vh, 38px); }
.hero-meta { margin: clamp(16px, 3vh, 26px) 0 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-ghost); }
.hero-panel { max-width: min(980px, 92vw); margin: 0 auto; width: 100%; }

.quote { font-family: var(--font-heading); font-weight: 300; font-style: italic; font-size: clamp(24px, 3.4vw, 46px); line-height: 1.32; margin: 0; color: var(--texte); }

@media (max-width: 620px) {
  /* La description passe sous le titre : plus de texte collé au bord. */
  .mobile-menu-item { grid-template-columns: auto 1fr; row-gap: 4px; }
  .mobile-menu-item .desc { grid-column: 2; }
}

@media (max-width: 620px) {
  /* Une capture d'écran de bureau réduite à 390 px devient illisible : on
     cadre sur le coin haut-gauche plutôt que de tout montrer en miniature. */
  .media-frame { aspect-ratio: 4 / 3; }
  .media-frame img { transform: scale(1.5); transform-origin: left top; object-position: left top; }
  .journey-shot .media-frame img { transform: scale(1.35); }
}

/* ------------------------------------------------------------ guide / texte long */
.prose h2 { margin-bottom: 18px; }
.prose h3 { margin-top: 26px; }
.prose p { font-size: 16px; line-height: 1.85; color: var(--texte-dim); margin: 0 0 14px; max-width: 70ch; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 0; list-style: none; display: grid; gap: 10px; max-width: 70ch; }
.prose li { font-size: 16px; line-height: 1.75; color: var(--texte-dim); padding-left: 26px; position: relative; }
.prose ul li::before { content: "—"; position: absolute; left: 0; color: var(--or); }
.prose ol.numbered { counter-reset: n; }
.prose ol.numbered li { counter-increment: n; padding-left: 40px; }
.prose ol.numbered li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 1px; font-family: var(--font-heading); color: var(--or); font-size: 17px; }
.prose strong { color: var(--texte); font-weight: 500; }
.prose a:not(.btn-primary) { text-decoration: underline; text-underline-offset: 3px; }
.toc { margin-top: 30px; border-left: 2px solid var(--or); padding: 6px 0 6px 20px; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 15px; }
.toc a { color: var(--texte-dim); }
.toc a:hover { color: var(--or-sombre); }

/* =====================================================================
   Parcours immersif — sections plein écran, boutons, visite guidée,
   animations. Couleurs inchangées : seules les nuances existantes.
   ===================================================================== */

/* Transition douce entre les pages (navigateurs compatibles). */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: xnPageOut .28s ease both; }
::view-transition-new(root) { animation: xnPageIn .45s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes xnPageOut { to { opacity: 0; transform: translateY(-8px); } }
@keyframes xnPageIn { from { opacity: 0; transform: translateY(12px); } }

html { scroll-padding-top: 76px; }
body { overflow-x: clip; }
img, video { max-width: 100%; }

/* Barre de lecture sous l'en-tête. */
.scroll-progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--or-sombre), var(--or-clair)); transform: scaleX(0); transform-origin: left; }

.site-header { min-height: 64px; }

/* Sections plein écran sur ordinateur et tablette. */
@media (min-width: 761px) and (min-height: 560px) {
  .screen { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
  .screen > .wrap, .screen > .wrap-narrow { width: 100%; }
}
.section-head { max-width: 58ch; margin-bottom: clamp(28px, 4.5vh, 52px); }

/* ------------------------------------------------------------ boutons */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1.2;
  border-radius: 999px;
  padding: 15px 28px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary {
  background: var(--or-sombre);
  border-color: var(--or-sombre);
  color: #fdf8f1;
  box-shadow: 0 12px 26px -16px rgba(125, 84, 17, .9);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, var(--or) 0%, var(--or-sombre) 100%);
  opacity: 0;
  transition: opacity .35s ease;
}
.btn-primary:hover { color: #fff; background: var(--or-sombre); transform: translateY(-1px); box-shadow: 0 16px 30px -16px rgba(125, 84, 17, .95); }
.btn-primary:hover::before { opacity: 1; }
.btn-secondary { border-color: rgba(32, 31, 29, .28); color: var(--texte); }
.btn-secondary:hover { border-color: var(--noir); background: rgba(32, 31, 29, .04); }
.btn-primary.small, .btn-secondary.small { padding: 11px 20px; font-size: 11.5px; letter-spacing: .1em; line-height: 1.2; color: inherit; }
.btn-primary.small { color: #fdf8f1; }
.btn-secondary.small { color: var(--texte); }
.btn-arrow { display: inline-block; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.btn-primary:hover .btn-arrow, .btn-secondary:hover .btn-arrow, .module-cta:hover .btn-arrow { transform: translateX(5px); }
.btn-play { width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.sec-dark .btn-primary, .next-step .btn-primary { background: var(--or); border-color: var(--or); color: var(--noir); }
.sec-dark .btn-primary:hover { color: var(--noir); }
.sec-dark .btn-primary::before { background: linear-gradient(100deg, var(--or-clair), var(--or)); }
.sec-dark .btn-secondary { border-color: rgba(243, 242, 242, .3); color: rgba(243, 242, 242, .88); }
.sec-dark .btn-secondary:hover { border-color: var(--or-clair); color: #fff; background: rgba(243, 242, 242, .05); }

/* Menu : boutons de même hauteur, texte centré. */
.mobile-menu-cta { align-items: stretch; }
.mobile-menu-cta a { min-width: 150px; }
.mobile-menu-item { transition: padding-left .35s cubic-bezier(.16, 1, .3, 1); }
.mobile-menu-item:hover { padding-left: 10px; }
@media (max-width: 420px) {
  .mobile-menu-cta { width: 100%; }
  .mobile-menu-cta a { flex: 1 1 0; min-width: 0; }
}

/* ---------------------------------------------------------------- hero */
.hero.screen { min-height: calc(100svh - 64px); }
.hero-in { opacity: 0; transform: translateY(18px); animation: xnRise .9s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
@keyframes xnRise { to { opacity: 1; transform: none; } }
.hero-panel { will-change: transform; }
.media-tilt { animation: xnTiltIn 1.3s cubic-bezier(.16, 1, .3, 1) .45s both; transform-origin: 50% 0; }
@keyframes xnTiltIn { from { opacity: 0; transform: perspective(1400px) rotateX(14deg) translateY(40px); } to { opacity: 1; transform: none; } }
.hero-clock { animation: xnBreath 9s ease-in-out infinite; }

/* Indicateur « faire défiler ». */
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: clamp(10px, 3vh, 26px) auto 0;
  padding: 6px 10px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--texte-ghost);
}
.scroll-cue:hover { color: var(--or-sombre); }
.scroll-cue-mouse { position: relative; flex: none; width: 20px; height: 31px; border: 1.5px solid rgba(32, 31, 29, .45); border-radius: 12px; }
.scroll-cue-mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--or); animation: xnWheel 1.7s cubic-bezier(.65, 0, .35, 1) infinite; }
@keyframes xnWheel { 0% { opacity: 0; transform: translateY(0); } 25% { opacity: 1; } 80% { opacity: 0; transform: translateY(10px); } 100% { opacity: 0; } }
.hero > .scroll-cue { justify-self: center; }

/* ------------------------------------------------------ par où commencer */
.tour-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.tour-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 14px 22px;
  background: var(--creme);
  border: 1px solid rgba(32, 31, 29, .14);
  border-radius: 14px;
  color: var(--texte);
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s ease, border-color .3s ease;
}
.tour-card:hover { color: var(--texte); transform: translateY(-6px); border-color: rgba(182, 130, 53, .55); box-shadow: 0 30px 50px -34px rgba(45, 43, 43, .55); }
.tour-num { position: absolute; top: 22px; left: 24px; z-index: 1; font-family: var(--font-heading); font-size: 15px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.tour-img, .tour-price { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 9px; overflow: hidden; background: var(--noir); margin-bottom: 12px; }
.tour-img img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.tour-card:hover .tour-img img { transform: scale(1.06); }
.tour-price { display: flex; flex-direction: column; justify-content: center; align-items: center; background: radial-gradient(120% 90% at 50% 0%, #34302a 0%, var(--noir) 70%); color: var(--creme); }
.tour-card .tour-price .tour-num, .tour-price b { color: var(--or-clair); }
.tour-price b { font-family: var(--font-heading); font-weight: 400; font-size: clamp(44px, 5vw, 64px); line-height: 1; }
.tour-price small { margin-top: 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(243, 242, 242, .6); }
.tour-title { padding: 0 8px; font-family: var(--font-heading); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; }
.tour-desc { padding: 0 8px; font-size: 14px; line-height: 1.55; color: var(--texte-dim); }
.tour-go { position: absolute; right: 20px; bottom: 20px; color: var(--or); font-size: 18px; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.tour-card:hover .tour-go { transform: translateX(5px); }
.tour-alt { margin: clamp(22px, 4vh, 36px) 0 0; font-size: 14.5px; color: var(--texte-dim); }
.tour-alt a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1020px) { .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .tour-grid { grid-template-columns: 1fr; gap: 12px; }
  .tour-card { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px 44px 10px 10px; }
  .tour-img, .tour-price { width: 92px; flex: none; aspect-ratio: 1; margin: 0 6px 0 0; }
  .tour-price b { font-size: 30px; }
  .tour-price small { display: none; }
  .tour-num { top: 14px; left: 16px; font-size: 12px; }
  .tour-card > .tour-title, .tour-card > .tour-desc { flex: 1 1 calc(100% - 110px); padding: 0; }
  .tour-card { display: grid; grid-template-columns: 92px 1fr; column-gap: 14px; row-gap: 2px; }
  .tour-img, .tour-price { grid-row: 1 / span 2; }
  .tour-title { align-self: end; font-size: 21px; }
  .tour-desc { align-self: start; font-size: 13px; }
  .tour-go { top: 50%; bottom: auto; right: 16px; margin-top: -12px; }
}

/* ------------------------------------------------------------- modules */
.module-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(32, 31, 29, .14); border: 1px solid rgba(32, 31, 29, .14); border-radius: 14px; overflow: hidden; }
.module {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 190px;
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--creme);
  color: var(--texte);
  transition: background-color .35s ease;
}
a.module:hover { background: #fbf6ee; color: var(--texte); }
.module .h3 { margin: 10px 0 0; }
.module .p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.module::after { content: "→"; position: absolute; right: 22px; top: 22px; color: var(--or); opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .35s cubic-bezier(.16, 1, .3, 1); }
a.module:hover::after { opacity: 1; transform: none; }
.module-soon { background: #efece8; }
.module-soon .tag-soon { align-self: flex-start; margin-top: auto; }
.module-cta { justify-content: center; align-items: flex-start; background: var(--noir) !important; color: var(--creme) !important; }
.module-cta::after { display: none; }
.module-cta-price { font-family: var(--font-heading); font-size: clamp(46px, 5vw, 64px); line-height: 1; color: var(--or-clair); }
.module-cta-price small { font-size: 18px; margin-left: 6px; color: rgba(243, 242, 242, .6); }
.module-cta-link { margin-top: 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--creme); }
@media (max-width: 1020px) { .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .module-grid { grid-template-columns: 1fr; } .module { min-height: 0; } }

/* ------------------------------------------------ visite guidée (haut) */
.visit-bar { border-bottom: 1px solid rgba(32, 31, 29, .08); padding: 10px var(--gutter); background: rgba(234, 231, 228, .55); }
.visit-bar-inner { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); }
.visit-count { flex: none; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--texte-ghost); }
.visit-count b { font-weight: 400; color: var(--or-sombre); }
.visit-steps { flex: 1; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.visit-steps li { display: flex; align-items: center; flex: 1 1 0; min-width: 0; }
.visit-steps li:first-child { flex: 0 0 auto; }
.visit-steps li + li::before { content: ""; flex: 1 1 auto; min-width: 12px; height: 1px; margin: 0 12px; background: rgba(32, 31, 29, .16); }
.visit-steps li.is-done + li::before { background: var(--or); }
.visit-steps a { display: flex; align-items: center; gap: 8px; flex: none; padding: 4px 0; color: var(--texte-ghost); font-size: 12px; white-space: nowrap; }
.visit-steps a:hover { color: var(--or-sombre); }
.visit-dot { width: 9px; height: 9px; flex: none; border-radius: 50%; border: 1px solid rgba(32, 31, 29, .3); background: var(--creme); }
.visit-steps .is-done .visit-dot { background: var(--or); border-color: var(--or); }
.visit-steps .is-here .visit-dot { background: var(--or-sombre); border-color: var(--or-sombre); box-shadow: 0 0 0 4px rgba(182, 130, 53, .18); }
.visit-steps .is-here a { color: var(--texte); }
.visit-next { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--noir); color: var(--creme); font-size: 12px; letter-spacing: .04em; transition: background-color .3s ease; }
.visit-next:hover { background: var(--or-sombre); color: #fff; }
@media (max-width: 1080px) {
  .visit-steps .visit-label { display: none; }
  .visit-steps li + li::before { margin: 0 6px; }
}
@media (max-width: 560px) {
  .visit-bar { padding-top: 8px; padding-bottom: 8px; }
  .visit-count { display: none; }
  .visit-next-label { display: none; }
  .visit-next { padding: 7px 12px; font-size: 11.5px; }
}

/* ------------------------------------------------ fin de page commune */
.page-end { padding: clamp(40px, 7vh, 72px) var(--gutter); background: var(--creme); border-top: 1px solid rgba(32, 31, 29, .1); }
.page-end-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 22px); align-items: stretch; }
.page-end-grid.page-end--single { grid-template-columns: 1fr; }
.end-trial {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 16px;
  background: var(--noir);
  color: var(--creme);
}
.end-trial .eyebrow { margin: 0; color: var(--or-clair); }
.end-trial-title { margin: 4px 0 0; font-family: var(--font-heading); font-size: clamp(26px, 3vw, 36px); line-height: 1.1; color: var(--creme); }
.end-trial-text { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: rgba(243, 242, 242, .72); max-width: 46ch; }
.end-trial .btn-primary { background: var(--or); border-color: var(--or); color: var(--noir); margin-top: auto; }
.end-trial .btn-primary::before { background: linear-gradient(100deg, var(--or-clair), var(--or)); }
.end-trial .btn-primary:hover { color: var(--noir); }
.page-end--single .end-trial { display: grid; grid-template-columns: 1fr auto; column-gap: 32px; align-items: center; }
.page-end--single .end-trial > :not(.btn-primary) { grid-column: 1; }
.page-end--single .end-trial .btn-primary { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
.next-step-link { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-content: center; align-items: center; padding: clamp(22px, 3vw, 34px); border: 1px solid rgba(32, 31, 29, .14); border-radius: 16px; background: #fff; color: var(--texte); transition: border-color .3s ease, transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s ease; }
.next-step-link:hover { color: var(--texte); border-color: rgba(182, 130, 53, .55); transform: translateY(-3px); box-shadow: 0 30px 50px -36px rgba(45, 43, 43, .5); }
.next-step-kicker { grid-column: 1; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--or-sombre); }
.next-step-title { grid-column: 1; margin-top: 6px; font-family: var(--font-heading); font-size: clamp(26px, 3vw, 36px); line-height: 1.08; }
.next-step-desc { grid-column: 1; margin-top: 6px; font-size: 14.5px; color: var(--texte-dim); }
.next-step-arrow { grid-column: 2; grid-row: 1 / span 3; display: grid; place-items: center; width: clamp(52px, 5vw, 64px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(182, 130, 53, .5); color: var(--or-sombre); transition: background-color .3s ease, color .3s ease, transform .45s cubic-bezier(.16, 1, .3, 1); }
.next-step-arrow svg { width: 60%; }
.next-step-link:hover .next-step-arrow { background: var(--or-sombre); color: #fff; transform: translateX(4px); }
@media (max-width: 860px) {
  .page-end-grid { grid-template-columns: 1fr; }
  .page-end--single .end-trial { display: flex; }
  .page-end--single .end-trial .btn-primary { margin-top: 8px; }
}
.site-footer { border-top-color: rgba(243, 242, 242, .08); }
.media-link { margin: 14px 2px 0; font-size: 13px; }
.sec-dark .media-link a { color: var(--or-clair); }

/* ------------------------------------------------ essai gratuit (accueil) */
.trial { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); border-radius: 20px; overflow: hidden; box-shadow: 0 50px 90px -60px rgba(32, 31, 29, .55); border: 1px solid rgba(32, 31, 29, .1); }
.trial-pitch { display: flex; flex-direction: column; gap: 6px; padding: clamp(28px, 4vw, 52px); background: var(--noir); color: var(--creme); }
.trial-pitch .eyebrow { color: var(--or-clair); }
.trial-pitch .h2 { color: var(--creme); }
.trial-pitch em.or { color: var(--or-clair); }
.trial-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.trial-points li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.5; color: rgba(243, 242, 242, .86); }
.trial-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 1px; background: var(--or-clair); }
.trial-price { margin: auto 0 0; padding-top: 28px; font-size: 14px; color: rgba(243, 242, 242, .6); }
.trial-form { padding: clamp(28px, 4vw, 48px); background: #fff; gap: 16px; }
.trial-form-title { margin: 0 0 4px; font-family: var(--font-heading); font-size: clamp(24px, 2.4vw, 30px); color: var(--texte); }
.trial-form .field label { color: var(--texte-dim); letter-spacing: .14em; }
.trial-form .input-base { background: #faf9f8; border-color: rgba(32, 31, 29, .16); border-radius: 10px; }
.trial-form .input-base:focus { background: #fff; border-color: var(--or-sombre); box-shadow: 0 0 0 3px rgba(182, 130, 53, .15); }
.trial-submit { justify-self: stretch; width: 100%; }
@media (max-width: 860px) { .trial { grid-template-columns: 1fr; } }
.contact-form, .form-grid .input-base { border-radius: 10px; }

/* ------------------------------------------------------------ tarifs */
.offer { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.offer-card { position: relative; padding: clamp(26px, 3.4vw, 40px); border-radius: 20px; background: var(--noir); color: var(--creme); box-shadow: 0 50px 90px -55px rgba(32, 31, 29, .7); }
.offer-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.offer-card .eyebrow { margin: 0; color: var(--or-clair); }
.billing-toggle { display: inline-flex; padding: 3px; border: 1px solid rgba(243, 242, 242, .18); border-radius: 999px; }
.billing-toggle button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 0; border-radius: 999px; background: none; color: rgba(243, 242, 242, .7); font: inherit; font-size: 12.5px; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.billing-toggle button small { font-size: 10.5px; color: var(--or-clair); }
.billing-toggle button[aria-pressed="true"] { background: var(--creme); color: var(--noir); }
.billing-toggle button[aria-pressed="true"] small { color: var(--or-sombre); }
.offer-name { margin: 26px 0 0; font-family: var(--font-heading); font-size: 24px; color: rgba(243, 242, 242, .9); }
.offer-price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 0; }
.offer-price b { font-family: var(--font-heading); font-weight: 400; font-size: clamp(64px, 8vw, 96px); line-height: 1; color: var(--creme); }
.offer-price span { font-size: 15px; color: rgba(243, 242, 242, .65); }
.offer-sub { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: rgba(243, 242, 242, .72); min-height: 3.2em; }
.offer-cta { width: 100%; margin-top: 26px; background: var(--or) !important; border-color: var(--or) !important; color: var(--noir) !important; }
@media (max-width: 480px) { .offer-cta { letter-spacing: .12em; padding-left: 18px; padding-right: 18px; white-space: nowrap; font-size: 11.5px; } }
.offer-cta::before { background: linear-gradient(100deg, var(--or-clair), var(--or)) !important; }
.offer-note { margin: 14px 0 0; text-align: center; font-size: 12.5px; color: rgba(243, 242, 242, .55); }
.offer-details .lead { margin-top: 12px; }
.offer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.offer-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.offer-extras > div { padding: 18px 20px; border: 1px solid rgba(32, 31, 29, .14); border-radius: 14px; background: #fff; }
.offer-extras .h3 { font-size: 19px; margin: 0; }
.offer-extras .p { margin-top: 6px; font-size: 14px; line-height: 1.6; }
@media (max-width: 960px) { .offer { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .offer-list, .offer-extras { grid-template-columns: 1fr; } }

/* ------------------------------------------ images de téléphone entières */
.tour-img--phone { background: radial-gradient(120% 90% at 50% 10%, #f7f3ee 0%, #e6e0d8 100%); }
.tour-img--phone img { object-fit: contain; object-position: center; padding: 10px 0 0; }
.tour-card:hover .tour-img--phone img { transform: scale(1.03); }

/* ------------------------------------------------------- apparitions */
.js .reveal { transition-delay: var(--reveal-delay, 0ms); }
.js .reveal-zoom { transform: translateY(26px) scale(.965); }
.js .reveal-zoom.is-visible { transform: none; }
.media { transition: transform .6s cubic-bezier(.16, 1, .3, 1), box-shadow .6s ease; }
.media:hover { transform: translateY(-4px); box-shadow: 0 60px 90px -55px rgba(45, 43, 43, .7), 0 18px 36px -26px rgba(45, 43, 43, .45); }
.card { border-radius: 12px; transition: transform .45s cubic-bezier(.16, 1, .3, 1), border-color .3s ease, box-shadow .45s ease; }
.card:hover { transform: translateY(-4px); border-color: rgba(182, 130, 53, .45); box-shadow: 0 26px 44px -34px rgba(45, 43, 43, .5); }
.step { transition: border-color .4s ease; }
.step:hover { border-top-color: var(--or); }
.eyebrow::before { transform-origin: left; }
.js .reveal .eyebrow::before, .js .reveal.eyebrow::before { transform: scaleX(0); transition: transform .9s cubic-bezier(.16, 1, .3, 1) .15s; }
.js .reveal.is-visible .eyebrow::before, .js .reveal.is-visible.eyebrow::before { transform: scaleX(1); }

/* Chargement vidéo : léger reflet tant que l'image n'est pas prête. */
.media-frame.is-loading::after, .phone-screen.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .12) 50%, transparent 70%);
  background-size: 250% 100%;
  animation: xnShimmer 1.4s linear infinite;
  pointer-events: none;
}
@keyframes xnShimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.phone { border-radius: 42px; }
.phone-screen video, .media-frame video { background: #16150f; }
.video-note { display: flex; justify-content: center; }

/* Pages intérieures : en-tête de page plus présent. */
@media (min-width: 761px) { .page-hero { min-height: min(62svh, 620px); display: flex; flex-direction: column; justify-content: center; } }

@media (prefers-reduced-motion: reduce) {
  .hero-in, .media-tilt { opacity: 1 !important; transform: none !important; animation: none !important; }
  .scroll-cue-mouse::after { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Pastilles de navigation interne. */
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(22px, 4vh, 36px); }
.chip-nav a { padding: 8px 16px; border: 1px solid rgba(32, 31, 29, .18); border-radius: 999px; font-size: 13px; color: var(--texte); transition: background-color .3s ease, border-color .3s ease, color .3s ease; }
.chip-nav a:hover { background: var(--noir); border-color: var(--noir); color: var(--creme); }

/* Capture à plusieurs vues (onglets). */
.swap-frame img { opacity: 0; transform: scale(1.03); transition: opacity .6s ease, transform 1s cubic-bezier(.16, 1, .3, 1); }
.swap-frame img.is-on { opacity: 1; transform: none; }
.swap-tabs { display: inline-flex; gap: 4px; margin-top: 14px; padding: 4px; border: 1px solid rgba(32, 31, 29, .16); border-radius: 999px; background: rgba(255, 255, 255, .35); }
.swap-tabs button { padding: 7px 16px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-family: var(--font-body); font-size: 12.5px; color: var(--texte-dim); transition: background-color .3s ease, color .3s ease; }
.swap-tabs button[aria-selected="true"] { background: var(--noir); color: var(--creme); }
.sec-dark .swap-tabs { border-color: rgba(243, 242, 242, .18); background: rgba(243, 242, 242, .04); }
.sec-dark .swap-tabs button { color: rgba(243, 242, 242, .7); }
.sec-dark .swap-tabs button[aria-selected="true"] { background: var(--or); color: var(--noir); }

/* Liste de fonctionnalités compacte. */
.feature-list { display: grid; gap: 0; }
.feature-list > div { padding: 14px 0; border-top: 1px solid rgba(32, 31, 29, .14); }
.feature-list .h3 { margin: 0; font-size: clamp(19px, 2vw, 23px); }
.feature-list .p { margin: 2px 0 0; font-size: 14.5px; }
.sec-dark .price-list { border-top-color: rgba(243, 242, 242, .16); }
.sec-dark .price-list li { color: rgba(243, 242, 242, .72); }
.sec-dark .chip-nav a { border-color: rgba(243, 242, 242, .2); color: var(--creme); }

button, input, select, textarea { font-variant-numeric: lining-nums tabular-nums; }
@media (hover: none) and (pointer: coarse) {
  .scroll-cue-mouse { width: 14px; height: 14px; border: 0; border-right: 1.5px solid var(--or); border-bottom: 1.5px solid var(--or); border-radius: 0; transform: rotate(45deg); animation: xnNudge 1.6s ease-in-out infinite; }
  .scroll-cue-mouse::after { display: none; }
}
@keyframes xnNudge { 0%, 100% { translate: 0 -3px; } 50% { translate: 0 3px; } }

/* ------------------------------------------------ menu plein écran */
.burger-btn { padding: 8px 4px 8px 8px; }
.burger-btn:hover .burger-bar-accent { width: 26px; }
.burger-label { transition: color .3s ease; }
.mobile-menu {
  display: block;
  visibility: hidden;
  clip-path: circle(0px at var(--origin-x, calc(100% - 40px)) var(--origin-y, 32px));
  transition: clip-path .7s cubic-bezier(.77, 0, .18, 1), visibility 0s linear .7s;
}
.mobile-menu.is-open { visibility: visible; clip-path: circle(150vmax at var(--origin-x, calc(100% - 40px)) var(--origin-y, 32px)); transition: clip-path .75s cubic-bezier(.77, 0, .18, 1), visibility 0s; }
.mobile-menu.is-closing { visibility: visible; transition: clip-path .5s cubic-bezier(.77, 0, .18, 1), visibility 0s linear .5s; }
.mobile-menu[hidden] { display: none; }
.mobile-menu-panel { animation: none !important; }
.mobile-menu-bg-time { opacity: 0; transform: translateX(40px); transition: opacity 1.2s ease .3s, transform 1.4s cubic-bezier(.16, 1, .3, 1) .3s; }
.mobile-menu.is-open .mobile-menu-bg-time { opacity: 1; transform: none; }
.mobile-menu-header, .mobile-menu-footer { opacity: 0; transition: opacity .5s ease; }
.mobile-menu.is-open .mobile-menu-header { opacity: 1; transition-delay: .25s; }
.mobile-menu.is-open .mobile-menu-footer { opacity: 1; transition-delay: .85s; }

.mobile-menu-item { position: relative; border-bottom: 0; animation: none !important; }
.mobile-menu-item::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: rgba(32, 31, 29, .12);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--item-delay, 0ms);
}
.mobile-menu.is-open .mobile-menu-item::after { transform: scaleX(1); }
.mobile-menu-item .num, .mobile-menu-item .desc {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .6s cubic-bezier(.16, 1, .3, 1), color .3s ease;
  transition-delay: var(--item-delay, 0ms);
}
.mobile-menu-item .desc { transition-delay: calc(var(--item-delay, 0ms) + 220ms); }
.mobile-menu.is-open .mobile-menu-item .num, .mobile-menu.is-open .mobile-menu-item .desc { opacity: 1; transform: none; }
.mobile-menu-item .title .word { display: inline-block; white-space: nowrap; }
/* Écriture lettre par lettre : une lettre pas encore écrite ne prend aucune
   place, le curseur suit donc la dernière lettre tapée. */
.mobile-menu-item .title .ch { display: none; }
.mobile-menu-item .title .ch.on { display: inline-block; animation: xnType .22s ease-out both; }
@keyframes xnType { from { opacity: 0; transform: translateY(.18em); } }
.mobile-menu-item .title::after { content: ""; display: inline-block; width: 2px; height: .78em; margin-left: 3px; background: var(--or); vertical-align: -.04em; opacity: 0; }
.mobile-menu-item.is-typing .title::after { opacity: 1; animation: xnCaret .7s steps(1) infinite; }
@keyframes xnCaret { 50% { opacity: 0; } }
.mobile-menu-item:hover .num, .mobile-menu-item.is-hover .num { color: var(--or-sombre); }
.mobile-menu-item.is-hover .title { color: var(--or-sombre); }
.mobile-menu-item[aria-current="page"] .title { font-style: italic; color: var(--or-sombre); }
.mobile-menu-item[aria-current="page"] .num::after { content: " ·"; }

.menu-preview { display: none; }
@media (min-width: 1080px) {
  .mobile-menu-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    column-gap: clamp(48px, 6vw, 110px);
    padding: 20px clamp(40px, 5vw, 80px) 28px;
  }
  .mobile-menu-header, .mobile-menu-footer { grid-column: 1 / -1; }
  .mobile-menu-list { grid-column: 1; align-self: center; margin-top: 0; }
  .mobile-menu-item { padding: 11px 2px; }
  .mobile-menu-item .title { font-size: clamp(32px, 3.3vw, 46px); }
  .menu-preview { display: block; grid-column: 2; align-self: center; }
  .menu-preview-frame {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    overflow: hidden;
    background: var(--noir);
    border: 1px solid rgba(32, 31, 29, .16);
    box-shadow: 0 60px 90px -60px rgba(45, 43, 43, .7);
    opacity: 0;
    transform: translateY(30px) scale(.96);
    transition: opacity .8s ease .45s, transform 1s cubic-bezier(.16, 1, .3, 1) .45s;
  }
  .mobile-menu.is-open .menu-preview-frame { opacity: 1; transform: none; }
  .menu-preview-frame img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: opacity .25s ease, transform .7s cubic-bezier(.16, 1, .3, 1); }
  .menu-preview-frame img.is-changing { opacity: 0; transform: scale(1.04); }
  .menu-preview-caption { margin: 16px 2px 0; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-ghost); }
}
@media (min-width: 1080px) and (max-height: 760px) {
  .mobile-menu-item { padding: 6px 2px; }
  .mobile-menu-item .title { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-menu, .mobile-menu.is-open, .mobile-menu.is-closing { transition: none; }
  .mobile-menu-item .title .ch.on { animation: none; }
}

/* ------------------------------------------ aperçu du widget (accueil) */
/* Mêmes couleurs, typographies et formes que le vrai widget (/reserver). */
.wdemo {
  --w-bg: #f4f0ea;
  --w-card: #fdfaf6;
  --w-soft: #f5f0e8;
  --w-fg: #1a1410;
  --w-muted: #8c7b6b;
  --w-border: #e2dbd1;
  --w-brand: #2e3b2f;
  --w-serif: "Playfair Display", Georgia, serif;
  --w-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  width: 100%;
  max-width: 400px;
  justify-self: center;
  background: var(--w-card);
  border: 1px solid var(--w-border);
  border-top: 3px solid var(--w-brand);
  border-radius: 16px;
  box-shadow: 0 40px 80px -50px rgba(26, 20, 16, .45);
  color: var(--w-fg);
  font-family: var(--w-sans);
  font-variant-numeric: lining-nums tabular-nums;
  overflow: hidden;
}
.wdemo-head { display: flex; align-items: center; gap: 12px; padding: 20px 20px 0; }
.wdemo-mono { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 1px solid var(--w-border); border-radius: 8px; background: rgba(46, 59, 47, .06); color: var(--w-brand); font-family: var(--w-serif); font-weight: 500; font-size: 20px; }
.wdemo-kicker { margin: 0; font-size: 9.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--w-muted); }
.wdemo-name { margin: 2px 0 0; font-family: var(--w-serif); font-weight: 500; font-size: 23px; line-height: 1.15; letter-spacing: -.012em; color: var(--w-fg); }
.wdemo-addr { margin: 10px 20px 16px; font-size: 12px; color: var(--w-muted); }
.wdemo-body { border-top: 1px solid var(--w-border); padding: 16px 20px 18px; }
.wdemo p { color: inherit; }

.wdemo-ticket { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--w-border); border-radius: 10px; background: rgba(245, 240, 232, .6); }
.wdemo-ticket[hidden] { display: none; }
.wdemo-ticket li { position: relative; min-width: 0; padding: 7px 10px; }
.wdemo-ticket li + li { border-left: 1px solid var(--w-border); }
.wdemo-ticket span { display: block; font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--w-muted); }
.wdemo-ticket b { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wdemo-ticket li::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--w-brand); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.wdemo-ticket li.is-on::after { transform: scaleX(1); }
.wdemo-ticket li.is-link { cursor: pointer; }
.wdemo-ticket li.is-link:hover { background: #f5ede3; }

.wdemo-step[hidden] { display: none; }
.wdemo-step.is-in { animation: wdemoIn .28s cubic-bezier(.22, 1, .36, 1); }
@keyframes wdemoIn { from { opacity: 0; transform: translateY(8px); } }
.wdemo-title { margin: 0 0 14px; font-family: var(--w-serif); font-weight: 500; font-size: 22px; line-height: 1.15; letter-spacing: -.012em; }
.wdemo-sub { display: flex; justify-content: space-between; align-items: baseline; margin: -4px 0 10px; font-size: 11px; color: var(--w-muted); }
.wdemo-sub span:first-child { font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--w-fg); }
.wdemo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.wdemo-choice {
  height: 42px;
  border: 1px solid var(--w-border);
  border-radius: 8px;
  background: var(--w-card);
  color: var(--w-fg);
  font-family: var(--w-sans);
  font-size: 14px;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.wdemo-choice.is-num { height: 50px; font-family: var(--w-serif); font-weight: 500; font-size: 20px; }
.wdemo-choice:hover:not(:disabled) { border-color: rgba(46, 59, 47, .55); }
.wdemo-choice.is-on { background: var(--w-brand); border-color: transparent; color: #fdfaf6; }
.wdemo-choice.is-full { background: transparent; border-style: dashed; color: rgba(140, 123, 107, .5); text-decoration: line-through; cursor: not-allowed; }

.wdemo-ok { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 9.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--w-muted); }
.wdemo-ok span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--w-brand); color: #fdfaf6; font-size: 12px; letter-spacing: 0; }
.wdemo-receipt { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid var(--w-border); border-radius: 10px; background: rgba(245, 240, 232, .6); font-size: 13px; }
.wdemo-receipt div { display: flex; justify-content: space-between; gap: 12px; }
.wdemo-receipt span { color: var(--w-muted); }
.wdemo-receipt b { font-weight: 500; }

.wdemo-nav { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 18px; }
.wdemo-back { margin-right: auto; padding: 6px 0; border: 0; background: none; font-family: var(--w-sans); font-size: 13px; color: var(--w-muted); cursor: pointer; }
.wdemo-back[hidden] { display: none; }
.wdemo-back:hover { color: var(--w-fg); }
.wdemo-cta { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--w-brand); color: #fdfaf6; font-family: var(--w-sans); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: opacity .2s ease, transform .15s ease; }
.wdemo-cta:active { transform: scale(.98); }
.wdemo-cta:disabled { opacity: .35; cursor: not-allowed; }
.wdemo-note { margin: 0; padding: 10px 20px; border-top: 1px solid var(--w-border); background: var(--w-bg); font-size: 11.5px; color: var(--w-muted); }

/* ------------------------------------------------ panneau cookies */
.cookie-panel {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 80;
  width: min(400px, calc(100vw - 24px));
  padding: 20px;
  border: 1px solid #e2dbd1;
  border-radius: 16px;
  background: #fdfaf6;
  color: #1a1410;
  box-shadow: 0 24px 60px -28px rgba(20, 15, 10, .55);
  font-size: 14px;
  line-height: 1.6;
  animation: cookieIn .5s cubic-bezier(.16, 1, .3, 1) both;
}
.cookie-panel[hidden] { display: none; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(16px); } }
.cookie-kicker { margin: 0; font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #8c7b6b; }
.cookie-text { margin: 6px 0 0; color: #1a1410; }
.cookie-cats { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid #e2dbd1; display: grid; gap: 10px; }
.cookie-cats[hidden] { display: none; }
.cookie-cats li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; }
.cookie-cats b { font-weight: 500; }
.cookie-cats span { padding: 2px 9px; border-radius: 999px; background: #f0eae1; color: #8c7b6b; font-size: 11px; white-space: nowrap; }
.cookie-cats span.cookie-on { background: #e8efe8; color: #2e4a33; }
.cookie-cats small { grid-column: 1 / -1; font-size: 12.5px; line-height: 1.45; color: #6b5d50; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.cookie-links { margin: 0; font-size: 12.5px; color: #6b5d50; }
.cookie-links a { color: #6b5d50; text-decoration: underline; text-underline-offset: 2px; }
.cookie-buttons { display: flex; gap: 8px; }
.cookie-more, .cookie-ok { height: 36px; padding: 0 15px; border-radius: 8px; font: inherit; font-size: 13px; cursor: pointer; }
.cookie-more { border: 1px solid #d9cfc2; background: transparent; color: #1a1410; }
.cookie-more:hover { background: rgba(0, 0, 0, .04); }
.cookie-ok { border: 0; background: #1a1410; color: #fdfaf6; font-weight: 500; }
.cookie-ok:hover { opacity: .9; }
@media (max-width: 520px) { .cookie-panel { left: 12px; bottom: 12px; } }
.footer-link-button { padding: 0; border: 0; background: none; font: inherit; color: rgba(243, 242, 242, .72); cursor: pointer; }
.footer-link-button:hover { color: var(--or-clair); }

.menu-preview-frame.is-phone { background: radial-gradient(120% 90% at 50% 10%, #f7f3ee 0%, #e2dbd1 100%); }
.menu-preview-frame.is-phone img { object-fit: contain; object-position: center; padding: 18px 0; }
.tarifs-hero { padding-bottom: 0; }
.offer-sec { padding-top: clamp(32px, 5vw, 56px); }
.form-status:empty { display: none; }
.tour-card--light .tour-num { color: var(--texte); text-shadow: none; }

/* vidéos à onglets (accueil) */
[data-vpane][hidden] { display: none !important; }
.client-media { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.client-media .swap-tabs { margin: 0; }
.client-media .vpane { width: 100%; display: flex; flex-direction: column; align-items: center; }
.client-media .wdemo { width: 100%; }
.video-title { margin: 30px 0 0; font-size: clamp(22px, 2.2vw, 28px); }
.video-text .lead { margin-top: 12px; }
.video-stage { display: flex; flex-direction: column; justify-content: center; }
.video-media { width: 100%; }
.phone-sm { width: min(270px, 70vw); }
@media (min-width: 900px) {
  .video-stage { min-height: 580px; }
  .client-media { min-height: 700px; justify-content: center; }
}
