/* =========================================================================
   MÉMOIRE VIVE — Présentation client
   Charte : fond ink + or + crème, serif Cormorant + Inter
   ========================================================================= */

:root {
  /* Palette */
  --ink:        #0d0e12;
  --ink-2:      #14161c;
  --ink-3:      #1b1e26;
  --ink-soft:   #22252e;

  --cream:      #f4ede0;
  --cream-2:    #ece4d3;
  --cream-deep: #1a1812;

  --gold:       #c9a55c;
  --gold-light: #e2c98a;
  --gold-dark:  #a8854a;

  --text-on-dark:        #e8e4d8;
  --text-on-dark-muted:  rgba(232, 228, 216, 0.62);
  --text-on-dark-faint:  rgba(232, 228, 216, 0.42);

  --text-on-cream:        #1a1812;
  --text-on-cream-muted:  rgba(26, 24, 18, 0.65);

  --border-gold:    rgba(201, 165, 92, 0.28);
  --border-gold-2:  rgba(201, 165, 92, 0.5);

  /* Type */
  --font-serif:  "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-sans:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  18px;

  --shadow-card: 0 24px 60px -24px rgba(0, 0, 0, 0.55), 0 1px 0 0 rgba(255,255,255,0.02) inset;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--text-on-dark);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover { color: var(--gold); }

::selection { background: var(--gold); color: var(--ink); }

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

/* =========================================================================
   ATOMS
   ========================================================================= */

/* Section label "SECTION 01 — TITLE" */
.section-label {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.section-label__dash {
  color: var(--gold);
  opacity: 0.6;
}

/* Ornament */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 32px 0 44px;
  color: var(--gold);
}
.ornament__rule {
  flex: 0 1 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 60%, var(--gold));
}
.ornament__rule:last-child {
  background: linear-gradient(90deg, var(--gold), var(--gold) 40%, transparent);
}
.ornament__diamond {
  width: 14px;
  height: 14px;
  opacity: 0.9;
}

.gold-rule {
  height: 1px;
  background: var(--border-gold);
  margin: 64px 0;
}

/* Display heading — serif italic accent */
.display-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--text-on-dark);
  text-wrap: balance;
}
.display-heading em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.lead {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.5;
  color: var(--text-on-dark);
}
.lead--muted { color: var(--text-on-dark-muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
  box-shadow: 0 8px 30px -8px rgba(201, 165, 92, 0.55);
}
.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 12px 36px -10px rgba(226, 201, 138, 0.65);
}
.btn--ghost {
  background: transparent;
  color: var(--text-on-dark);
  border-color: var(--border-gold-2);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}
.btn--ghost-dark {
  background: transparent;
  color: var(--text-on-cream);
  border-color: rgba(26, 24, 18, 0.25);
}
.conclusion--dark .btn--ghost-dark {
  color: var(--text-on-dark);
  border-color: var(--border-gold-2);
}
.btn--ghost-dark:hover {
  border-color: var(--gold-dark);
  color: var(--gold-dark);
}
.conclusion--dark .btn--ghost-dark:hover {
  color: var(--gold-light);
  border-color: var(--gold);
}
.btn--lg {
  padding: 17px 28px;
  font-size: 15px;
}

/* Badge */
.badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-gold-2);
  border-radius: 999px;
  padding: 5px 12px;
  margin-right: 14px;
  vertical-align: middle;
}

strong { color: var(--text-on-dark); font-weight: 600; }
em { font-style: italic; }

/* =========================================================================
   HEADER
   ========================================================================= */
.page-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 14, 18, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 165, 92, 0.12);
}
.page-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.page-header__logo {
  height: 30px;
  width: auto;
}
.page-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
}
.page-header__nav a {
  color: var(--text-on-dark-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.page-header__nav a:hover { color: var(--text-on-dark); }
.page-header__cta {
  padding: 9px 18px;
  border: 1px solid var(--border-gold-2);
  border-radius: 999px;
  color: var(--gold) !important;
}
.page-header__cta:hover {
  border-color: var(--gold);
  background: rgba(201, 165, 92, 0.07);
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  padding: 140px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(201, 165, 92, 0.07), transparent 60%),
    var(--ink);
}
.hero__glow {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(201, 165, 92, 0.06), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(201, 165, 92, 0.04), transparent 40%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 56px;
}
.hero__eyebrow-line {
  flex: 0 1 60px;
  height: 1px;
  background: var(--border-gold-2);
}
.hero__logo {
  height: 64px;
  width: auto;
  margin: 0 auto 56px;
}
.hero__tagline {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(46px, 6.5vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 36px;
  color: var(--text-on-dark);
  text-wrap: balance;
}
.hero__tagline em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.hero__sub {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-on-dark-muted);
  max-width: 640px;
  margin: 0 auto 48px;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}

/* =========================================================================
   EXPLICATION
   ========================================================================= */
.explication {
  padding: 120px 0;
  background: var(--ink);
  border-top: 1px solid rgba(201, 165, 92, 0.1);
}
.explication__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 80px;
}
.explication__col p { margin: 0; }

.manifesto {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 56px;
  background:
    linear-gradient(180deg, rgba(201, 165, 92, 0.04), transparent),
    var(--ink-2);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  position: relative;
}
.manifesto::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}
.manifesto p:first-child {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.45;
  margin: 0 0 24px;
  color: var(--text-on-dark);
  text-wrap: pretty;
}
.manifesto p:first-child em { color: var(--gold); }
.manifesto__small {
  margin: 0;
  font-size: 14px;
  color: var(--text-on-dark-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* =========================================================================
   COMMENT ÇA MARCHE
   ========================================================================= */
.comment {
  padding: 140px 0 120px;
  background:
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  border-top: 1px solid rgba(201, 165, 92, 0.1);
}

.step {
  display: grid;
  gap: 80px;
  align-items: center;
  margin-top: 100px;
  position: relative;
}
.step--qr,
.step--famille {
  grid-template-columns: 1.05fr 1fr;
}
.step--hommage {
  grid-template-columns: 1fr 1.05fr;
}
.step__num {
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 1;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 24px;
  font-feature-settings: "lnum";
}
.step__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  margin: 0 0 24px;
  color: var(--text-on-dark);
  text-wrap: balance;
}
.step__title em { font-style: italic; color: var(--gold); font-weight: 400; }

.step__text {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-on-dark-muted);
  margin: 0 0 24px;
  max-width: 540px;
}
.step__text--muted {
  font-size: 14px;
  color: var(--text-on-dark-faint);
  font-style: italic;
}

.step__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: var(--text-on-dark-muted);
}
.step__list li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.step__list svg { color: var(--gold); flex-shrink: 0; }

figure { margin: 0; }
figcaption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--text-on-dark-faint);
  text-align: center;
  margin-top: 18px;
  letter-spacing: 0.01em;
}

/* QR frame */
.step__media--qr { display: flex; flex-direction: column; align-items: center; }
.qr-frame {
  background: var(--cream);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  max-width: 380px;
  width: 100%;
}
.qr-frame::before,
.qr-frame::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--gold);
  opacity: 0.6;
}
.qr-frame::before {
  top: 10px; left: 10px;
  border-right: none;
  border-bottom: none;
}
.qr-frame::after {
  bottom: 10px; right: 10px;
  border-left: none;
  border-top: none;
}
.qr-frame img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

/* Phone frame */
.step__media--phone { display: flex; flex-direction: column; align-items: center; }
.phone-frame {
  width: 100%;
  max-width: 320px;
  background: #000;
  border-radius: 38px;
  padding: 10px;
  position: relative;
  box-shadow:
    var(--shadow-card),
    0 0 0 1px rgba(201, 165, 92, 0.15),
    0 0 0 6px rgba(255,255,255,0.02);
}
.phone-frame__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 26px;
  background: #000;
  border-radius: 14px;
  z-index: 2;
}
.phone-frame__screen {
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  background: #000;
  aspect-ratio: 9 / 19.5;
}
.phone-frame__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Action list (numbered i,ii,iii,iv) */
.action-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.action-list > li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(201, 165, 92, 0.12);
}
.action-list > li:last-child { border-bottom: none; padding-bottom: 0; }
.action-list__n {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--gold);
  font-weight: 500;
  padding-top: 2px;
}
.action-list h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 20px;
  margin: 0 0 6px;
  color: var(--text-on-dark);
}
.action-list p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-on-dark-muted);
}
.action-list .exclu {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-size: 14px;
}

/* Famille stats */
.famille-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0 24px;
  max-width: 460px;
}
.stat {
  background: var(--ink-3);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.stat__value {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-on-dark-faint);
}

/* Mini steps grid */
.mini-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 120px;
}
.mini-step {
  position: relative;
  padding: 36px 32px 40px;
  background: var(--ink-2);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.mini-step:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold-2);
  box-shadow: var(--shadow-card);
}
.mini-step--featured {
  background:
    linear-gradient(180deg, rgba(201, 165, 92, 0.07), transparent 70%),
    var(--ink-2);
  border-color: var(--border-gold-2);
}
.mini-step__icon {
  color: var(--gold);
  margin-bottom: 24px;
}
.mini-step__num {
  position: absolute;
  top: 28px;
  right: 32px;
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--gold);
  opacity: 0.45;
  line-height: 1;
}
.mini-step__exclu {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  border: 1px solid var(--border-gold-2);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 14px;
}
.mini-step h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 14px;
  color: var(--text-on-dark);
}
.mini-step h3 em { color: var(--gold); font-style: italic; font-weight: 400; }
.mini-step p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
  margin: 0;
}

/* =========================================================================
   DEMO
   ========================================================================= */
.demo {
  padding: 140px 0;
  background: var(--ink-2);
  border-top: 1px solid rgba(201, 165, 92, 0.1);
}
.demo__intro {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text-on-dark-muted);
  max-width: 720px;
  margin: 0 0 56px;
}
.demo__cards {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
}
.demo-card {
  display: flex;
  flex-direction: column;
  padding: 44px 44px 36px;
  border-radius: var(--radius-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.demo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.demo-card--primary {
  background:
    radial-gradient(circle at 80% -10%, rgba(201, 165, 92, 0.25), transparent 50%),
    var(--ink-3);
  border: 1px solid var(--border-gold-2);
  color: var(--text-on-dark);
}
.demo-card--secondary {
  background: var(--cream);
  border: 1px solid rgba(26, 24, 18, 0.1);
  color: var(--text-on-cream);
}
.demo-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 32px;
}
.demo-card--primary .demo-card__tag {
  color: var(--gold);
  border: 1px solid var(--border-gold-2);
}
.demo-card--secondary .demo-card__tag {
  color: var(--gold-dark);
  background: rgba(168, 133, 74, 0.1);
  border: 1px solid rgba(168, 133, 74, 0.2);
}
.demo-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  margin: 0 0 16px;
  text-wrap: balance;
}
.demo-card h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.demo-card--secondary h3 em { color: var(--gold-dark); }
.demo-card p {
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0 0 28px;
  max-width: 420px;
}
.demo-card--primary p { color: var(--text-on-dark-muted); }
.demo-card--secondary p { color: var(--text-on-cream-muted); }
.demo-card__url {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  max-width: 100%;
  word-break: break-all;
}
.demo-card--primary .demo-card__url {
  background: rgba(0,0,0,0.3);
  color: var(--text-on-dark-faint);
  border: 1px solid rgba(201, 165, 92, 0.15);
}
.demo-card--secondary .demo-card__url {
  background: rgba(26, 24, 18, 0.06);
  color: var(--text-on-cream-muted);
}
.demo-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  margin-top: auto;
}
.demo-card--primary .demo-card__cta { color: var(--gold-light); }
.demo-card--secondary .demo-card__cta { color: var(--gold-dark); }
.demo-card:hover .demo-card__cta svg {
  transform: translate(2px, -2px);
}
.demo-card__cta svg { transition: transform 0.2s ease; }

/* =========================================================================
   CONCLUSION
   ========================================================================= */
.conclusion {
  padding: 140px 0 120px;
  transition: background 0.3s ease, color 0.3s ease;
}
.conclusion--cream {
  background: var(--cream);
  color: var(--text-on-cream);
}
.conclusion--cream .display-heading,
.conclusion--cream .step__title {
  color: var(--text-on-cream);
}
.conclusion--cream .display-heading em { color: var(--gold-dark); }
.conclusion--cream .section-label { color: var(--gold-dark); }
.conclusion--cream .ornament { color: var(--gold-dark); }
.conclusion--cream .ornament__rule { background: linear-gradient(90deg, transparent, var(--gold-dark)); }
.conclusion--cream .ornament__rule:last-child { background: linear-gradient(90deg, var(--gold-dark), transparent); }
.conclusion--cream .conclusion__lead { color: var(--text-on-cream-muted); }

.conclusion--dark {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 165, 92, 0.08), transparent 60%),
    var(--ink-2);
  border-top: 1px solid rgba(201, 165, 92, 0.1);
}

.conclusion__lead {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.5;
  max-width: 760px;
  margin: 0 0 48px;
}
.conclusion__lead p {
  margin: 0 0 12px;
}
.conclusion__lead p:last-child {
  margin-bottom: 0;
}
.conclusion__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 96px;
}

/* ----- Famille contact form (lives inside .conclusion) ----- */
.famille-form {
  margin: 0 0 96px;
  padding: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 880px;
}
.conclusion--cream .famille-form {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(168, 133, 74, 0.28);
  box-shadow: 0 24px 60px -32px rgba(26, 24, 18, 0.18);
}
.conclusion--dark .famille-form {
  background: var(--ink-2);
  border: 1px solid var(--border-gold);
}

.famille-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.famille-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.famille-form__field--full { grid-column: 1 / -1; }
.famille-form__field > span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
}
.conclusion--cream .famille-form__field > span { color: var(--gold-dark); }
.conclusion--dark .famille-form__field > span { color: var(--gold); }

.famille-form__field > span em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
  margin-left: 4px;
}
.conclusion--cream .famille-form__field > span em { color: rgba(26, 24, 18, 0.5); }
.conclusion--dark .famille-form__field > span em { color: var(--text-on-dark-faint); }

.famille-form input,
.famille-form textarea {
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
  resize: vertical;
  width: 100%;
  box-sizing: border-box;
}
.conclusion--cream .famille-form input,
.conclusion--cream .famille-form textarea {
  background: #ffffff;
  border: 1px solid rgba(26, 24, 18, 0.14);
  color: var(--text-on-cream);
}
.conclusion--cream .famille-form input::placeholder,
.conclusion--cream .famille-form textarea::placeholder {
  color: rgba(26, 24, 18, 0.35);
}
.conclusion--cream .famille-form input:focus,
.conclusion--cream .famille-form textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
  background: #fffaf0;
}
.conclusion--dark .famille-form input,
.conclusion--dark .famille-form textarea {
  background: var(--ink-3);
  border: 1px solid rgba(201, 165, 92, 0.18);
  color: var(--text-on-dark);
}
.conclusion--dark .famille-form input::placeholder,
.conclusion--dark .famille-form textarea::placeholder {
  color: var(--text-on-dark-faint);
}
.conclusion--dark .famille-form input:focus,
.conclusion--dark .famille-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(201, 165, 92, 0.04);
}

.famille-form__submit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 12px;
}
.famille-form__note {
  font-size: 12.5px;
  margin: 0;
  max-width: 540px;
  line-height: 1.5;
}
.conclusion--cream .famille-form__note { color: rgba(26, 24, 18, 0.55); }
.conclusion--dark .famille-form__note { color: var(--text-on-dark-faint); }

.famille-form__success {
  padding: 24px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.famille-form__success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.famille-form__success h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
  margin: 0;
}
.conclusion--cream .famille-form__success h3 { color: var(--text-on-cream); }
.conclusion--cream .famille-form__success h3 em { color: var(--gold-dark); }
.conclusion--dark .famille-form__success h3 { color: var(--text-on-dark); }
.conclusion--dark .famille-form__success h3 em { color: var(--gold-light); }
.famille-form__success p { margin: 0; font-size: 15px; max-width: 540px; }
.conclusion--cream .famille-form__success p { color: var(--text-on-cream-muted); }
.conclusion--dark .famille-form__success p { color: var(--text-on-dark-muted); }
.conclusion--cream .famille-form__success .btn--ghost-dark {
  color: var(--text-on-cream);
  border-color: rgba(26, 24, 18, 0.2);
}

.conclusion__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 64px;
  border-top: 1px solid currentColor;
  border-top-color: rgba(168, 133, 74, 0.25);
}
.value__icon {
  color: var(--gold-dark);
  margin-bottom: 18px;
}
.conclusion--dark .value__icon { color: var(--gold); }
.value h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 8px;
}
.value p {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
  max-width: 280px;
}
.conclusion--cream .value p { color: var(--text-on-cream-muted); }
.conclusion--dark .value p { color: var(--text-on-dark-muted); }
.conclusion--dark .value h4 { color: var(--text-on-dark); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.page-footer {
  background: var(--ink);
  padding: 64px 0 48px;
  border-top: 1px solid rgba(201, 165, 92, 0.12);
  text-align: center;
}
.page-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.page-footer__logo { height: 36px; opacity: 0.85; }
.page-footer__tagline {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--gold);
  margin: 4px 0 12px;
}
.page-footer__links {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  color: var(--text-on-dark-faint);
}
.page-footer__links a { color: var(--text-on-dark-muted); }
.page-footer__links a:hover { color: var(--gold); }
.page-footer__copy {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-on-dark-faint);
  margin-top: 8px;
}

/* =========================================================================
   BACK TO TOP
   ========================================================================= */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(13, 14, 18, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold-2);
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 60;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease,
              color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.45);
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.back-to-top:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* On the cream-themed pro page, swap to a discreet light-on-dark inverse */
.theme-pro .back-to-top {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(168, 133, 74, 0.4);
  color: var(--gold-dark);
  box-shadow: 0 12px 30px -12px rgba(26, 24, 18, 0.2);
}
.theme-pro .back-to-top:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold-light);
}

@media (max-width: 560px) {
  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* =========================================================================
   ZOOMABLE IMAGES + LIGHTBOX
   ========================================================================= */
.zoomable {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s ease;
}
.zoomable--qr { max-width: 380px; margin: 0 auto; }
.zoomable--phone { max-width: 320px; margin: 0 auto; display: flex; justify-content: center; }
.zoomable:hover { transform: translateY(-2px); }
.zoomable:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: var(--radius); }

.zoomable__hint {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  background: rgba(13, 14, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold-2);
  border-radius: 999px;
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.zoomable:hover .zoomable__hint,
.zoomable:focus-visible .zoomable__hint {
  opacity: 1;
  transform: translateY(0);
}
.zoomable--qr .zoomable__hint { top: 22px; right: 22px; }
.zoomable--phone .zoomable__hint { top: 22px; right: -8px; }

/* Lightbox modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 8, 11, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px 32px;
  animation: lb-fade 0.22s ease;
  cursor: zoom-out;
}
@keyframes lb-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox__close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-gold-2);
  color: var(--text-on-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 101;
}
.lightbox__close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: rotate(90deg);
}
.lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: min(92vw, 880px);
  max-height: 100%;
  cursor: default;
  animation: lb-zoom 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes lb-zoom {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7);
  border: 1px solid var(--border-gold);
  background: var(--ink-2);
}
.lightbox__caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--text-on-dark-muted);
  text-align: center;
  letter-spacing: 0.01em;
  max-width: 560px;
}

@media (max-width: 560px) {
  .lightbox { padding: 60px 16px 16px; }
  .lightbox__img { max-height: calc(100vh - 120px); }
  .zoomable__hint { font-size: 10px; padding: 5px 9px; }
}

@media (max-width: 720px) {
  .famille-form { padding: 28px 22px; }
  .famille-form__row { grid-template-columns: 1fr; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 960px) {
  .container { padding: 0 24px; }
  .hero { padding: 96px 0 80px; }
  .explication { padding: 80px 0; }
  .comment { padding: 96px 0 80px; }
  .demo { padding: 96px 0; }
  .conclusion { padding: 96px 0 80px; }

  .explication__cols { grid-template-columns: 1fr; gap: 28px; }
  .step,
  .step--qr,
  .step--famille,
  .step--hommage {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .step--hommage .step__media--phone { order: 2; }
  .step--hommage .step__body { order: 1; }
  .mini-steps { grid-template-columns: 1fr; }
  .demo__cards { grid-template-columns: 1fr; }
  .conclusion__values { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
  .conclusion__actions { flex-direction: column; align-items: stretch; }
  .conclusion__actions .btn { justify-content: center; }
  .manifesto { padding: 32px 28px; }
  .manifesto p:first-child { font-size: 21px; }

  .page-header__nav { gap: 16px; font-size: 12px; }
  .page-header__nav a:not(.page-header__cta) { display: none; }

  .hero__logo { height: 48px; margin-bottom: 40px; }
  .hero__eyebrow-line { flex: 0 1 30px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero__inner { padding: 0 20px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
  .famille-stats { grid-template-columns: 1fr; }
  .demo-card { padding: 32px 28px; }
}

/* =========================================================================
   PROD — Masque le panneau de tweaks (outil de prototypage Claude Design)
   Le script tweaks-panel.jsx reste chargé pour ne pas casser app.jsx,
   mais le panneau lui-même est invisible et inaccessible en production.
   ========================================================================= */
.twk-panel,
.twk-toggle,
.twk-hd {
  display: none !important;
}