/* ==========================================================================
   NotaVera — landing
   Transpilé depuis docs/design/template.dc.html (DSL Claude Design).
   Les valeurs sont reprises telles quelles : aucune retouche visuelle.
   ========================================================================== */

/* --- Polices auto-hébergées ------------------------------------------------
   Reprises de la source, sous-ensembles `vietnamese` retirés.
   Public Sans et Space Grotesk sont variables : un même fichier sert
   plusieurs graisses, comme dans l'export d'origine.
   -------------------------------------------------------------------------- */

/* latin-ext */
@font-face {
  font-family: 'Public Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/public-sans-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Public Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/public-sans-italic-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/public-sans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/public-sans-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/public-sans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/public-sans-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/public-sans-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/public-sans-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Jetons ---------------------------------------------------------------- */

:root {
  --bg: #FCFBF9;
  --surface: #F6F4F0;
  --ink: #1C1915;
  --ink-soft: #4F4A43;
  --ink-mute: #6E675F;
  --ink-faint: #8B847B;
  --ink-ghost: #B7B0A6;

  --amber: #C97912;
  --amber-dark: #A96909;
  --amber-light: #E9A83B;
  --amber-pale: #F2CE8B;

  --tint: #F7EEDC;
  --tint-glow: #F8ECD3;
  --tint-strong: #F0E1C2;
  --tint-wash: #FBF6EA;

  --line: #ECE8E1;
  --line-mid: #E2DDD4;
  --line-soft: #DDD8D1;
  --dot: #D8D2C9;
  --card-line: #E9E5DF;
  --row-line: #EFEBE4;

  --avatar: #CFC9C0;
  --phone-shell: #161310;
  --phone-screen: #F2F0EC;
  --wa-bubble: #DFEEDF;
  --wa-meta: #5F6E60;
  --teaser-line: #EAE0CC;

  --font-sans: 'Public Sans', system-ui, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', monospace;

  --pill: 99px;

  --shadow-phone: 0 30px 70px -24px rgba(30, 22, 8, .4);
  --shadow-card: 0 24px 50px -30px rgba(30, 22, 8, .25);
  --shadow-review: 0 6px 20px -10px rgba(30, 22, 8, .18);
  --shadow-bubble: 0 1px 2px rgba(0, 0, 0, .07);
  --shadow-teaser: 0 6px 18px -12px rgba(30, 22, 8, .2);
  --shadow-portrait: 0 20px 44px -22px rgba(30, 22, 8, .4);
  --shadow-cta: 0 14px 32px -12px rgba(201, 121, 18, .55);
}

/* --- Base (reprise du <style> global de la source) ------------------------- */

html { scroll-behavior: smooth }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--amber-dark) }
a:hover { color: var(--ink) }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

@keyframes rise { from { opacity: 0; transform: translateY(26px) } to { opacity: 1; transform: none } }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(14px) scale(.92) } to { opacity: 1; transform: none } }
@keyframes starPop { 0% { opacity: .15; transform: scale(.3); color: #DDD8D1 } 60% { opacity: 1; transform: scale(1.3); color: #E9A83B } 100% { opacity: 1; transform: scale(1); color: #E9A83B } }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes popIn { 0% { opacity: 0; transform: scale(.5) } 70% { transform: scale(1.1) } 100% { opacity: 1; transform: scale(1) } }
@keyframes blink { 50% { opacity: 0 } }
/* -20% = exactement une des 5 copies du bandeau. Fraction exacte, donc aucune
   dérive sous-pixel à la jointure ; distance parcourue inchangée (~1062 px en
   32 s), donc vitesse identique à la maquette. */
@keyframes marquee { to { transform: translateX(-20%) } }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-9px) } }
@keyframes spinSlow { to { transform: rotate(360deg) } }

/* --- Utilitaires partagés -------------------------------------------------- */

.wrap { max-width: 1080px; margin: 0 auto }
.wrap--narrow { max-width: 820px }

.section { padding: clamp(56px, 8vw, 110px) 24px; scroll-margin-top: 70px }
.section--alt { background: var(--surface) }
.section--tint { background: var(--tint) }
.section--qui { padding: clamp(48px, 7vw, 100px) 24px }

.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-dark);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 10px 0 0;
}
.h2--narrow { max-width: 20ch; text-wrap: balance }
.h2--lead { line-height: 1.12; margin: 10px 0 18px; text-wrap: balance }
.h2--demain {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 18px 0 16px;
  text-wrap: balance;
}

.lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.1rem);
  text-wrap: pretty;
}
.lead--roomy { line-height: 1.65 }

.amber { color: var(--amber) }
.star { color: var(--amber-light) }

.split { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between }
.split--bilan { gap: 48px 80px }
.split--tarif { gap: 44px 72px }
.split--demain { gap: 36px 72px }
.split--qui { gap: 36px 48px; justify-content: center }
.split__text { flex: 1 1 320px; max-width: 480px }
.split__text--tarif { flex: 1 1 300px; max-width: 440px }
.split__text--demain { flex: 1 1 320px; max-width: 560px }

.pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--tint);
  color: var(--amber-dark);
  padding: 4px 12px;
  border-radius: var(--pill);
}
.pill--lg {
  font-size: 12.5px;
  letter-spacing: .06em;
  padding: 6px 14px;
  margin-top: 16px;
}
.pill--dark { background: var(--ink); color: var(--amber-pale); padding: 6px 14px }

/* Apparitions au scroll — animation-timeline: view(), comme la source.
   Là où la propriété n'est pas supportée, l'animation joue au chargement
   et le contenu reste visible. */
.reveal {
  animation: rise .7s ease both;
  animation-timeline: view();
}
.reveal--40 { animation-range: entry 0% entry 40% }
.reveal--45 { animation-range: entry 0% entry 45% }
.reveal--50 { animation-range: entry 0% entry 50% }
.reveal--d05 { animation-delay: .05s }
.reveal--d1 { animation-delay: .1s }
.reveal--d2 { animation-delay: .2s }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-weight: 700;
  border-radius: 14px;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
  color: var(--bg);
}
.btn-primary--hero { font-size: clamp(1.05rem, 2.4vw, 1.25rem); padding: 18px 30px }
.btn-primary--block {
  display: block;
  text-align: center;
  font-size: 1.1rem;
  padding: 17px 28px;
  margin-top: 28px;
}

/* --- En-tête --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 251, 249, .85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.header-cta {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  background: var(--tint);
  padding: 8px 16px;
  border-radius: var(--pill);
  transition: background .2s;
}
.header-cta:hover { background: var(--tint-strong) }

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 10vw, 128px) 24px clamp(60px, 8vw, 110px);
}
.hero__glow {
  position: absolute;
  top: -160px;
  right: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(closest-side, var(--tint-glow), transparent 72%);
  pointer-events: none;
}
.hero__watermark {
  position: absolute;
  top: 4%;
  right: 2%;
  font-size: min(360px, 38vw);
  line-height: 1;
  color: var(--amber);
  opacity: .08;
  animation: spinSlow 90s linear infinite;
  pointer-events: none;
  user-select: none;
}
.hero__inner { position: relative }
.hero__stars { display: flex; gap: 6px; margin-top: 26px; font-size: 19px; line-height: 1 }
.hero__stars span { animation: starPop .5s both }
.hero__stars span:nth-child(1) { animation-delay: .2s }
.hero__stars span:nth-child(2) { animation-delay: .4s }
.hero__stars span:nth-child(3) { animation-delay: .6s }
.hero__stars span:nth-child(4) { animation-delay: .8s }
.hero__stars span:nth-child(5) { animation-delay: 1s }
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 9vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 16px 0 0;
  text-wrap: balance;
}
.hero__lead {
  font-size: clamp(1.05rem, 2.3vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 33em;
  margin: 28px 0 38px;
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center }
.link-quiet {
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  text-decoration: none;
  padding: 16px 4px;
  transition: color .2s;
}
.link-quiet:hover { color: var(--amber-dark) }

/* --- Bandeau défilant ----------------------------------------------------- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 13px 0;
  background: var(--bg);
}
.marquee__track { display: flex; width: max-content; animation: marquee 32s linear infinite }
/* Gelée par demo.js dès que le bandeau quitte l'écran : le compositeur n'a plus
   rien à recalculer pendant qu'on lit le reste de la page. */
.marquee__track.is-paused { animation-play-state: paused }
.marquee__row {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}
.marquee__sep { color: var(--amber-light); font-size: 11px }

/* --- Démo interactive ----------------------------------------------------- */

.demo {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 72px;
  align-items: flex-start;
  justify-content: center;
  margin-top: clamp(36px, 5vw, 64px);
}
.demo__phone-col { display: flex; flex-direction: column; align-items: center; gap: 18px }

.phone {
  width: 292px;
  background: var(--phone-shell);
  border-radius: 46px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
}
.phone__screen {
  position: relative;
  background: var(--phone-screen);
  border-radius: 37px;
  overflow: hidden;
  height: 590px;
  display: flex;
  flex-direction: column;
}
.phone__notch {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 24px;
  background: var(--phone-shell);
  border-radius: 14px;
  z-index: 5;
}
.phone__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 4px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg);
}
.phone__status-right { display: inline-flex; align-items: center; gap: 5px }
.battery {
  width: 18px;
  height: 9px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  display: inline-flex;
  padding: 1px;
}
.battery__fill { width: 70%; background: var(--ink); border-radius: 1px }

/* Étapes : une seule visible à la fois. Le passage de display:none à
   l'affichage relance les animations, exactement comme le montage/démontage
   du runtime d'origine. */
.panel { display: none }
.panel--chat { flex-direction: column; flex: 1; min-height: 0; animation: fadeIn .4s both }
.panel--card { flex: 1; min-height: 0; padding: 16px 14px; animation: fadeIn .4s both }
.panel--chat.is-active { display: flex }
.panel--card.is-active { display: block }

.chat__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--card-line);
  background: var(--bg);
}
.chat__back { color: var(--ink-faint); font-size: 20px; line-height: 1 }
.chat__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.chat__avatar--brand { background: var(--amber); font-size: 14px; font-family: var(--font-display) }
.chat__avatar--sms { background: var(--ink-faint); font-size: 12px }
.chat__id { display: flex; flex-direction: column; line-height: 1.25 }
.chat__name { font-weight: 700; font-size: 14px }
.chat__sub { font-size: 11px; color: var(--ink-faint) }
.chat__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px }

.chip {
  align-self: center;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--amber-dark);
  background: var(--tint);
  padding: 3px 12px;
  border-radius: var(--pill);
}
.chip--table { display: table; margin: 0 auto 12px }

.bubble { box-shadow: var(--shadow-bubble) }
.bubble--out {
  align-self: flex-end;
  max-width: 86%;
  background: var(--wa-bubble);
  border-radius: 16px 16px 4px 16px;
  padding: 9px 10px;
  animation: bubbleIn .5s .6s both;
}
.bubble--in {
  align-self: flex-start;
  background: var(--bg);
  border-radius: 16px 16px 16px 4px;
  font-size: 13px;
}
.bubble--reply { max-width: 88%; padding: 10px 12px; line-height: 1.45; animation: bubbleIn .5s 2.2s both }
.bubble--sms { max-width: 92%; padding: 11px 13px; line-height: 1.5; animation: bubbleIn .5s .9s both }
.bubble__meta { font-size: 10.5px; color: var(--wa-meta); margin-top: 6px; text-align: right }

.contact-card {
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(252, 251, 249, .9);
  border-radius: 10px;
  padding: 8px 10px;
}
.contact-card__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--avatar);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex: none;
}
.contact-card__id { display: flex; flex-direction: column; line-height: 1.3 }
.contact-card__name { font-weight: 700; font-size: 13px }
.contact-card__phone { font-size: 12px; color: var(--ink-mute) }

.review {
  background: var(--bg);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-review);
}
.review__head { display: flex; align-items: center; gap: 10px }
.review__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--avatar);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.review__avatar--sm { width: 30px; height: 30px; font-size: 11.5px }
.review__id { display: flex; flex-direction: column; line-height: 1.3 }
.review__name { font-weight: 700; font-size: 13.5px }
.review__when { font-size: 11px; color: var(--ink-faint) }
.review__rating { color: var(--amber-light); font-size: 14px; letter-spacing: 1px }
.review__stars { display: flex; gap: 4px; font-size: 22px; line-height: 1; margin: 12px 0 10px }
.review__stars span { animation: starPop .5s both }
.review__stars span:nth-child(1) { animation-delay: .5s }
.review__stars span:nth-child(2) { animation-delay: .85s }
.review__stars span:nth-child(3) { animation-delay: 1.2s }
.review__stars span:nth-child(4) { animation-delay: 1.55s }
.review__stars span:nth-child(5) { animation-delay: 1.9s }
.review__text { margin: 0; font-size: 13.5px; line-height: 1.5; animation: fadeIn .7s 2.5s both }
.review__quote { margin: 8px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-soft) }

/* La réponse de l'artisan est le nom donné au bloc « Réponse de l'artisan ». */
.answer {
  margin-top: 12px;
  background: var(--tint);
  border-radius: 12px;
  padding: 10px 12px;
  animation: bubbleIn .6s .9s both;
}
.answer__label {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber-dark);
}
.answer__text { margin: 0; font-size: 12.5px; line-height: 1.5 }

.badge {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  background: var(--ink);
  color: var(--amber-pale);
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--pill);
  animation: popIn .45s both;
}
.badge.is-visible { display: inline-flex }

.demo-pause {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-mute);
  background: none;
  border: 1px solid var(--line-mid);
  border-radius: var(--pill);
  padding: 7px 16px;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.demo-pause:hover { color: var(--amber-dark); border-color: var(--line-soft); background: var(--tint) }

/* Légendes — le contenu des 4 étapes est en dur, seul l'état actif change. */
.legend__num {
  grid-row: 1 / span 2;
  color: var(--amber);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .08em;
  padding-top: 3px;
}
.legend__title {
  font-weight: 700;
  font-size: 17px;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.legend__desc { grid-column: 2; color: var(--ink-mute); font-size: 14.5px; line-height: 1.5 }

.legend-mobile { flex: 1 1 100%; max-width: 460px; margin: 0 auto }
.legend-active {
  display: none;
  grid-template-columns: 46px 1fr;
  gap: 4px 14px;
  padding: 4px;
  animation: fadeIn .5s both;
}
.legend-active.is-active { display: grid }

.dots { display: flex; gap: 8px; margin-top: 16px; padding-left: 60px }
.dot {
  width: 10px;
  height: 10px;
  border-radius: var(--pill);
  border: none;
  cursor: pointer;
  padding: 0;
  background: var(--dot);
  transition: width .3s, background .3s;
}
.dot.is-active { width: 26px; background: var(--amber) }

.legend-list { flex: 1 1 320px; max-width: 460px; display: flex; flex-direction: column }
.legend-item {
  text-align: left;
  background: none;
  border: none;
  border-top: 1px solid var(--line-mid);
  padding: 18px 4px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 4px 14px;
  font: inherit;
  color: inherit;
  width: 100%;
  opacity: .5;
  transition: opacity .35s;
}
.legend-item.is-active { opacity: 1 }
.legend-item .legend__num { color: var(--ink-ghost); transition: color .35s }
.legend-item.is-active .legend__num { color: var(--amber) }

/* --- Comment ça marche / Pourquoi c'est important -------------------------- */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(28px, 4vw, 48px);
  margin-top: clamp(36px, 5vw, 60px);
}
.card-top {
  border-top: 2px solid var(--ink);
  padding-top: 22px;
  transition: border-top-color .3s, background .3s;
}
.card-top:hover {
  border-top-color: var(--amber);
  background: linear-gradient(var(--tint-wash), transparent 65%);
}
.card-top__num {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  color: var(--amber);
  line-height: 1;
}
.card-top__title {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 14px 0 10px;
}
.card-top__text { margin: 0; color: var(--ink-soft); text-wrap: pretty }
.card-top__stat {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  color: var(--amber);
  line-height: 1;
}
.card-top__proof { margin: 0; color: var(--ink-soft); font-size: 18px; line-height: 1.55; text-wrap: pretty }
.card-top__proof strong { color: var(--ink) }

.star-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: var(--amber-light);
  font-size: 16px;
  margin-top: clamp(56px, 8vw, 90px);
}
.star-row span {
  animation: starPop .5s both;
  animation-timeline: view();
  animation-range: entry 0% entry 60%;
}
.star-row span:nth-child(2) { animation-delay: .15s }
.star-row span:nth-child(3) { animation-delay: .3s }
.star-row span:nth-child(4) { animation-delay: .45s }
.star-row span:nth-child(5) { animation-delay: .6s }

.statement {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-align: center;
  max-width: 22ch;
  margin: 16px auto 0;
  text-wrap: balance;
}

.testimonial {
  margin-top: clamp(40px, 6vw, 64px);
  border: 2px dashed var(--line-soft);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  align-items: center;
}
.testimonial__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex: none;
  background: repeating-linear-gradient(45deg, #F0EDE7, #F0EDE7 6px, #E4DFD6 6px, #E4DFD6 12px);
}
.testimonial__body { flex: 1 1 260px }
.testimonial__text { margin: 10px 0 0; color: var(--ink-faint); font-size: 15px }
.testimonial__hint { margin: 4px 0 0; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-ghost) }

/* --- Bilan mensuel -------------------------------------------------------- */

.report {
  flex: 0 1 400px;
  min-width: 290px;
  background: var(--bg);
  border: 1px solid var(--card-line);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 34px);
  box-shadow: var(--shadow-card);
}
.report__head { display: flex; align-items: center; justify-content: space-between; gap: 12px }
.report__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.report__month {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  background: var(--tint);
  color: var(--amber-dark);
  padding: 4px 14px;
  border-radius: var(--pill);
}
.report__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-top: 1px solid var(--row-line);
  margin-top: 16px;
  padding-top: 16px;
}
.report__row--first { margin-top: 18px; padding-top: 18px }
.report__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: var(--amber);
  min-width: 1.2ch;
  font-variant-numeric: tabular-nums;
}
.report__num--note { min-width: 2.4ch }
.report__num--pct { min-width: 2ch }
.report__pct { display: inline-flex; align-items: baseline }
.report__sign { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--amber) }
.report__unit { font-weight: 600 }
.report__unit--nowrap { white-space: nowrap }

/* --- Tarif ---------------------------------------------------------------- */

.ask {
  margin: 28px 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.phone-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--amber-light);
  margin-top: 6px;
  transition: color .2s;
}
.phone-link:hover { color: var(--amber-dark) }

.price-card {
  flex: 1 1 340px;
  max-width: 520px;
  background: var(--bg);
  border: 1px solid var(--card-line);
  border-radius: 24px;
  padding: clamp(32px, 5vw, 48px);
  box-shadow: var(--shadow-card);
  text-align: left;
  position: relative;
}
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap }
.price__amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 4.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.price__period { font-size: 19px; font-weight: 600; color: var(--ink-mute) }
.features {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.features li { display: flex; gap: 12px; line-height: 1.5 }
.features__check { color: var(--amber); font-weight: 700; flex: none }
.features__note { color: var(--ink-mute); font-size: 15px }

/* --- Et demain ------------------------------------------------------------ */

.teasers {
  flex: 1 1 300px;
  max-width: 420px;
  min-width: 260px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.teaser {
  background: var(--bg);
  border: 1px solid var(--teaser-line);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: var(--shadow-teaser);
}
.teaser--muted { box-shadow: none; opacity: .75 }
.teaser__badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  font-family: var(--font-display);
  flex: none;
}
.teaser__badge--soft { background: var(--tint); color: var(--amber-dark); font-size: 16px }
.teaser__text { font-size: 13.5px; line-height: 1.45; color: var(--ink-soft) }
.teaser__text--muted { color: var(--ink-mute) }

/* --- Qui suis-je ---------------------------------------------------------- */

.portrait {
  width: 210px;
  height: 262px;
  flex: none;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-portrait);
}
.portrait__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transform: scale(1.9);
  transform-origin: 50% 31%;
}
.about { flex: 1 1 300px }
.about__text {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  line-height: 1.55;
  margin: 14px 0 0;
  text-wrap: pretty;
}
.about__siret { margin: 18px 0 0; font-family: var(--font-mono); font-size: 13px; color: var(--ink-faint) }

/* --- Pied de page --------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 64px) 24px 48px;
  background: var(--surface);
}
.site-footer__inner {
  max-width: 820px;
  margin: 0 auto;
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.7;
}
.site-footer__legal { margin: 0 }
.site-footer__legal strong { color: var(--ink) }
.site-footer details { margin-top: 22px; scroll-margin-top: 70px }
.site-footer summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 6px 0 }
.site-footer__list {
  margin: 12px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer__nav { margin: 22px 0 0 }
.site-footer__brand {
  margin: 26px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}
.site-footer__brand span { font-family: var(--font-sans); font-weight: 400; color: var(--ink-faint) }

/* --- Pages légales -------------------------------------------------------
   Même habillage que la landing : mêmes jetons, mêmes polices, aucune
   animation. Largeur de lecture resserrée.
   ------------------------------------------------------------------------- */

.brand--link { color: var(--ink); text-decoration: none }
.brand--link:hover { color: var(--amber-dark) }

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 88px) 24px clamp(56px, 8vw, 96px);
}
.legal__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 12px 0 0;
  text-wrap: balance;
}
.legal__updated { margin: 14px 0 0; color: var(--ink-faint); font-size: 14px }
.legal__intro {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.1rem);
  text-wrap: pretty;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 44px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.legal h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin: 26px 0 0;
}
.legal p { margin: 12px 0 0; color: var(--ink-soft); text-wrap: pretty }
.legal ul { margin: 12px 0 0; padding-left: 22px; color: var(--ink-soft) }
.legal li { margin-top: 8px; text-wrap: pretty }
.legal li strong, .legal p strong { color: var(--ink) }

.facts { margin: 16px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 22px }
.facts dt {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 4px;
}
.facts dd { margin: 0; color: var(--ink-soft) }

/* Repère visible pour tout ce qui reste à renseigner. */
.todo {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .82em;
  font-weight: 700;
  color: var(--amber-dark);
  background: var(--tint);
  border: 1px dashed var(--amber-light);
  border-radius: 5px;
  padding: 1px 7px;
}

/* Libellé du CTA sans JS : les pages légales ne chargent aucun script. */
.cta-short { display: none }

/* --- Bascule mobile / desktop --------------------------------------------
   La source testait `(max-width: 720px)` en JS faute de mieux ; ici les deux
   variantes sont mutuellement exclusives en CSS pur.
   ------------------------------------------------------------------------- */

@media (max-width: 720px) {
  .phone-scale { transform: scale(.78); transform-origin: top center; margin-bottom: -134px }
  .legend-list { display: none }
  .cta-long { display: none }
  .cta-short { display: inline }
  .facts { grid-template-columns: 1fr; gap: 4px }
  .facts dd { margin-bottom: 12px }
}

@media (min-width: 721px) {
  .legend-mobile { display: none }
}

/* --- Mouvement réduit (bloc conservé à l'identique) ----------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto }

  /* Ajout au bloc d'origine : les révélations au scroll sont pilotées par la
     progression du défilement, pas par le temps — le navigateur ignore donc
     leur `animation-duration` et elles continueraient de s'animer. Les
     repasser sur la timeline temporelle les fait jouer instantanément, donc
     rester statiques et lisibles. */
  .reveal,
  .star-row span { animation-timeline: auto !important }
}
