/* ==========================================================================
   TapNow, site vitrine v3. Une page. Typo système (SF Pro, Segoe UI, Roboto).
   Charte : navy #031C49, ciel #2EA8DD, or #F5B800.
   ========================================================================== */

:root {
  --navy: #031C49;
  --navy-2: #0B2B6B;
  --navy-3: #143A86;
  --ink: #0F1F3D;
  --text: #3A465E;
  --muted: #6B7690;
  --line: #E5E9F0;
  --line-strong: #CBD3DF;
  --tint: #F5F7FA;
  --white: #FFFFFF;
  --sky: #2EA8DD;
  --sky-ink: #1477A8;
  --sky-soft: #E8F4FB;
  --gold: #F5B800;
  --gold-soft: #FFF3C4;
  --green: #178A48;
  --green-soft: #E4F5EA;
  --on-navy: #C5D2EA;
  --on-navy-2: #8FA3C7;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-btn: 12px;
  --r-card: 20px;
  --r-frame: 24px;
  --shadow-device: 0 24px 48px -24px rgba(3, 28, 73, .45), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  --shadow-card: 0 1px 2px rgba(15, 31, 61, .04), 0 12px 32px -20px rgba(15, 31, 61, .18);
  --container: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 64px;
  --section: clamp(64px, 5vw + 32px, 120px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 600; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: var(--r-btn); font-weight: 600; }
.skip-link:focus { top: 12px; }
.ic { width: 1.2em; height: 1.2em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic--fill { fill: currentColor; stroke: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------------- type */
h1, h2, h3 { color: var(--ink); line-height: 1.08; letter-spacing: -.022em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 1.3rem + 3.9vw, 3.55rem); letter-spacing: -.03em; line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 1.15rem + 2.8vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -.015em; }
.lead { font-size: clamp(1.08rem, 1rem + .45vw, 1.28rem); line-height: 1.5; }
.kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--sky-ink); margin-bottom: 1rem; }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head .lead { margin-top: .9rem; color: var(--muted); max-width: 56ch; }
.section--navy .section-head .lead { color: var(--on-navy); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

.tag { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; padding: .3rem .6rem; border-radius: 7px; line-height: 1; }
.tag--premium { background: var(--gold); color: var(--ink); }
.tag--free { background: var(--sky-soft); color: var(--sky-ink); }
.tag .ic { width: .85em; height: .85em; }

/* --------------------------------------------------------------- layout */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { max-width: 800px; }
.section { padding-block: var(--section); }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .lead { color: var(--on-navy); }

/* --------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 600; font-size: .98rem; line-height: 1; padding: .95rem 1.35rem; border-radius: var(--r-btn); border: 1.5px solid var(--navy); background: var(--navy); color: #fff; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s, transform .15s var(--ease); }
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn:active { transform: translateY(1px); }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--line-strong); }
.btn--outline:hover { background: var(--tint); border-color: var(--navy); }
.btn--white { background: #fff; color: var(--navy); border-color: #fff; }
.btn--white:hover { background: var(--sky-soft); border-color: var(--sky-soft); }
.btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn--ghost-white:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--sm { padding: .62rem 1rem; font-size: .9rem; }
.btn--lg { padding: 1.1rem 1.65rem; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn .ic { width: 1.05em; height: 1.05em; }

/* --------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; }
.brand img { height: 30px; width: auto; }
.site-nav { display: none; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.site-header__order { display: none; }
.burger { position: relative; width: 42px; height: 42px; border: 0; background: transparent; border-radius: var(--r-btn); cursor: pointer; padding: 0; }
.burger span { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .22s ease, opacity .15s, top .22s ease; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
.menu-mobile { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49; background: #fff; padding: .5rem var(--gutter) 1.5rem; overflow-y: auto; display: flex; flex-direction: column; }
.menu-mobile[hidden] { display: none; }
.menu-mobile__nav { display: flex; flex-direction: column; }
.menu-mobile__nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.menu-mobile__actions { margin-top: auto; padding-top: 1.5rem; display: grid; gap: .6rem; }
body.menu-open { overflow: hidden; }
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s var(--ease); }
.mobile-cta.is-visible { transform: none; }
body.cookie-open .mobile-cta, body.menu-open .mobile-cta { transform: translateY(110%); }

/* --------------------------------------------------------------- reveal */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .reveal.in-view { opacity: 1; transform: none; }

/* --------------------------------------------------------------- hero */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 6vw, 96px); }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero .lead { margin-top: 1.25rem; max-width: 52ch; color: var(--text); }
.hero .lead strong { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: .5rem .6rem; margin-top: 1.75rem; }
.hero__proof li { display: inline-flex; align-items: center; gap: .4rem; font-size: .84rem; font-weight: 600; color: var(--ink); background: var(--tint); border: 1px solid var(--line); border-radius: 9px; padding: .4rem .65rem; }
.hero__proof .ic { width: 15px; height: 15px; color: var(--sky-ink); }
.hero__visual { position: relative; width: min(100%, 480px); margin: 0 auto; padding-right: 12%; padding-bottom: 10%; }
.hero__photo { aspect-ratio: 4 / 5; border-radius: var(--r-frame); overflow: hidden; background: var(--tint); box-shadow: 0 40px 80px -40px rgba(3, 28, 73, .4); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__device { position: absolute; right: 0; bottom: 0; }

/* --------------------------------------------------------------- phone device */
.phone { --pw: 250px; width: var(--pw); max-width: 100%; background: #10182A; border-radius: calc(var(--pw) * .16); padding: calc(var(--pw) * .04); box-shadow: var(--shadow-device); }
.phone--xs { --pw: clamp(120px, 34vw, 160px); }
.phone--sm { --pw: 210px; }
.phone--lg { --pw: 290px; }
.phone__screen { position: relative; border-radius: calc(var(--pw) * .125); overflow: hidden; background: #031C4B; }
.phone__bar { position: relative; z-index: 3; height: calc(var(--pw) * .135); display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--pw) * .085) 0 calc(var(--pw) * .09); color: #fff; font-size: calc(var(--pw) * .048); font-weight: 600; background: #031C4B; }
.phone__status { width: calc(var(--pw) * .16); height: auto; }
.phone__island { position: absolute; left: 50%; top: calc(var(--pw) * .028); transform: translateX(-50%); width: calc(var(--pw) * .3); height: calc(var(--pw) * .085); background: #06080E; border-radius: 999px; }
.phone__view { position: relative; }
.phone__view img { width: 100%; }

/* --------------------------------------------------------------- steps */
.steps { display: grid; gap: 1.5rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.25rem; display: grid; gap: 1.25rem; box-shadow: var(--shadow-card); }
.step__visual { height: clamp(240px, 28vw, 300px); border-radius: 14px; overflow: hidden; background: var(--tint); display: grid; place-items: end center; }
.step__visual > img { width: 100%; height: 100%; object-fit: cover; }
.step__visual .phone { margin-bottom: -24%; }
.step__visual .browser { width: 104%; max-width: none; margin-bottom: -6%; }
.step__body { padding: 0 .25rem .25rem; }
.step__num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: .8rem; }
.step__body h3 { font-size: 1.35rem; }
.step__body p { margin-top: .45rem; color: var(--text); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: clamp(2rem, 4vw, 3rem); }
.gallery img { border-radius: 14px; }
.gallery figcaption { font-size: .88rem; font-weight: 600; color: var(--ink); margin-top: .55rem; }

/* --------------------------------------------------------------- browser frame */
.browser { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card); }
.browser__bar { height: 34px; border-bottom: 1px solid var(--line); background: var(--tint); display: flex; align-items: center; gap: 6px; padding: 0 12px; position: relative; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.browser__url { position: absolute; left: 50%; transform: translateX(-50%); font-size: .72rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 12px; line-height: 1.5; }

/* --------------------------------------------------------------- demo (ce que vos clients voient) */
.demo { display: grid; gap: 1.5rem; align-items: center; }
.demo__nav { display: grid; gap: .6rem; max-width: 560px; }
.demo__item { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 1rem 1.1rem; cursor: pointer; position: relative; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.demo__item:hover { border-color: var(--line-strong); }
.demo__item[aria-selected="true"] { border-color: var(--navy); box-shadow: var(--shadow-card); }
.demo__item h3 { font-size: 1.05rem; display: flex; align-items: center; gap: .55rem; }
.demo__item p { font-size: .93rem; color: var(--muted); margin-top: .3rem; }
.demo__item .tag { margin-left: auto; }
.demo__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--sky); }
.demo__item[aria-selected="true"] .demo__bar { animation: demobar var(--demo-ms, 4500ms) linear forwards; }
.demo.is-paused .demo__bar { animation-play-state: paused; }
@keyframes demobar { to { width: 100%; } }
.demo__phone { display: grid; justify-items: center; }
.demo__screens { position: relative; }
.demo__screens img { width: 100%; transition: opacity .45s var(--ease); }
.demo__screens img + img { position: absolute; inset: 0; opacity: 0; }
.demo__screens img.is-active { opacity: 1; }
.demo__screens img:first-child:not(.is-active) { opacity: 0; }

/* --------------------------------------------------------------- rating simulator (avis) */
.rate__layer { position: absolute; inset: 0; opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.rate__layer.is-on { opacity: 1; pointer-events: auto; }
.rate__stars { position: absolute; left: 0; right: 0; top: 23.4%; height: 5.2%; }
.rate__star { position: absolute; top: 50%; left: var(--x); width: 9%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 0; background: transparent; padding: 0; cursor: pointer; color: var(--gold); display: grid; place-items: center; }
.rate__star .ic { width: 100%; height: 100%; opacity: 0; transition: opacity .15s; }
.rate__star.is-lit .ic { opacity: 1; }
.rate__google { background: #fff; display: grid; grid-template-rows: auto 1fr; text-align: center; }
.rate__google .tn__top { background: #031C4B; height: auto; padding: 3.5% 0; }
.rate__google-body { display: grid; place-items: center; padding: 10%; }
.rate__google-card { border: 1px solid var(--line); border-radius: 14px; padding: 8% 6%; width: 100%; }
.rate__google-card .stars { justify-content: center; margin: 4% 0; }
.rate__google-card b { display: block; font-size: 5.2cqw; color: var(--ink); }
.rate__google-card span { display: block; font-size: 4cqw; color: var(--muted); margin-top: 2%; }
.rate__google-card em { display: block; font-style: normal; margin-top: 6%; font-size: 4cqw; font-weight: 600; color: #fff; background: var(--navy); border-radius: 8px; padding: 4% 6%; }
.phone__view { container-type: inline-size; }
.phone__view--page { aspect-ratio: 377 / 815; }
.tn { height: 100%; }
.stars { display: flex; gap: .15rem; color: var(--gold); }
.stars .ic { width: 26px; height: 26px; }
.stars .is-off { color: var(--line-strong); }
.benefits { display: grid; gap: .6rem; margin-top: clamp(2rem, 4vw, 3rem); }
.benefits li { display: flex; gap: .7rem; align-items: center; font-weight: 600; color: var(--ink); padding: .8rem 1rem; background: var(--tint); border-radius: 12px; }
.benefits .ic { color: var(--sky-ink); }

/* --------------------------------------------------------------- publicités */
.placements { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin: 0 calc(-1 * var(--gutter)); padding: .25rem var(--gutter) 1rem; scrollbar-width: none; }
.placements::-webkit-scrollbar { display: none; }
.placement { flex: 0 0 min(72vw, 240px); scroll-snap-align: center; }
.placement { display: grid; justify-items: center; text-align: center; gap: .9rem; }
.zone { position: absolute; left: var(--inset); right: var(--inset); top: var(--top); height: var(--h); border: 2px solid var(--gold); border-radius: 8px; box-shadow: 0 0 0 200vmax rgba(3, 28, 73, .55); }
.placement figcaption b { display: block; color: var(--ink); }
.placement figcaption span { font-size: .88rem; color: var(--muted); }
.modes { display: grid; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.mode { border-radius: var(--r-card); padding: 1.5rem; background: #fff; border: 1px solid var(--line); }
.mode--premium { background: var(--navy); color: #fff; border-color: var(--navy); }
.mode--premium h3 { color: #fff; }
.mode--premium p { color: var(--on-navy); }
.mode .tag { margin-bottom: .85rem; }
.mode h3 { font-size: 1.15rem; }
.mode p { margin-top: .4rem; font-size: .98rem; }
.money { margin-top: 1rem; background: var(--navy); color: #fff; border-radius: var(--r-card); padding: clamp(1.5rem, 4vw, 3rem); display: grid; gap: 2rem; }
.money h3 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); }
.money__stat { display: flex; align-items: baseline; gap: .6rem; margin-top: 1rem; }
.money__stat b { font-size: clamp(3.4rem, 2rem + 6vw, 5rem); font-weight: 800; color: var(--gold); letter-spacing: -.035em; line-height: 1; }
.money__stat span { color: var(--on-navy); }
.money__quote { margin-top: .75rem; max-width: 50ch; }
.money__punch { margin-top: .5rem; color: var(--sky); font-weight: 600; }
.money__ways { display: grid; margin-top: 1.5rem; }
.money__ways li { padding: .8rem 0; border-top: 1px solid rgba(255, 255, 255, .16); display: grid; gap: .1rem; }
.money__ways b { color: #fff; }
.money__ways span { color: var(--on-navy); font-size: .92rem; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.mosaic img { border-radius: 12px; }
.mosaic p { grid-column: 1 / -1; font-size: .85rem; color: var(--on-navy-2); text-align: center; }

/* --------------------------------------------------------------- composer (boutons et réseaux) */
.composer { display: grid; gap: 1.75rem; align-items: start; }
.composer__phone { display: grid; justify-items: center; }
.composer__panel { display: grid; gap: 1.5rem; max-width: 560px; }
.composer__group h3 { font-size: 1.05rem; display: flex; align-items: center; gap: .6rem; }
.composer__group h3 small { font-weight: 500; color: var(--muted); font-size: .88rem; }
.switches { display: grid; gap: .5rem; margin-top: .75rem; }
.switch-row { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.switch-row:has(input:checked) { border-color: var(--navy); }
.switch-row:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.switch-row .ic { color: var(--sky-ink); }
.switch-row span { flex: 1; font-weight: 600; color: var(--ink); }
.switch-row input { appearance: none; -webkit-appearance: none; width: 44px; height: 26px; border-radius: 999px; background: var(--line-strong); position: relative; margin: 0; cursor: inherit; transition: background-color .2s; flex: 0 0 44px; }
.switch-row input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.switch-row input:checked { background: var(--navy); }
.switch-row input:checked::after { transform: translateX(18px); }
.composer__hint { font-size: .92rem; color: var(--muted); }

/* replica of the TapNow page */
.tn { background: linear-gradient(180deg, #031C4B 0 26%, #2EA8DD 100%); min-height: 100%; padding: 0 5.5% 6%; font-size: 3.6cqw; color: var(--ink); }
.tn__top { height: 12%; display: grid; place-items: center; padding: 4% 0; }
.tn__top img { height: 5.4cqw; width: auto; }
.tn__card { background: #fff; border-radius: 4cqw; padding: 6% 5% 5%; box-shadow: 0 6cqw 12cqw -8cqw rgba(0, 0, 0, .35); }
.tn__name { text-align: center; font-weight: 700; font-size: 4.4cqw; }
.tn__social { display: flex; justify-content: center; gap: 2.4cqw; margin-top: 3%; min-height: 6.6cqw; }
.tn__social span { width: 6.6cqw; height: 6.6cqw; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.tn__social .ic { width: 3.8cqw; height: 3.8cqw; }
.tn__q { text-align: center; color: var(--muted); font-size: 3cqw; margin-top: 3%; }
.tn__btns { display: grid; gap: 2.2cqw; margin-top: 4%; }
.tn__btn { display: flex; align-items: center; gap: 2.4cqw; padding: 3.4cqw 3.4cqw; border-radius: 2.6cqw; color: #fff; font-weight: 700; font-size: 3.3cqw; background: var(--c, var(--navy)); }
.tn__btn .ic { width: 4cqw; height: 4cqw; }
.tn__btn--doc { background: linear-gradient(90deg, #2B78B6, #3D9FDA); }
.tn__btn--avis { background: var(--gold); color: var(--ink); }
.tn__ad { margin-top: 4%; border-radius: 2cqw; overflow: hidden; border: 1px solid var(--line); }
.tn__adlabel { display: flex; justify-content: space-between; font-size: 2.3cqw; color: var(--muted); padding: 1.5cqw 2cqw; }
.tn__by { text-align: center; font-size: 2.6cqw; color: var(--muted); margin-top: 5%; }
.tn__by b { color: var(--ink); }
.tn__btn.is-new { animation: popin .35s var(--ease); }
@keyframes popin { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }

/* --------------------------------------------------------------- pricing */
.pricing-controls { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.switch { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-btn); padding: 4px; background: #fff; }
.switch__opt { border: 0; background: transparent; padding: .55rem .95rem; border-radius: 9px; font-weight: 600; color: var(--muted); cursor: pointer; display: inline-flex; gap: .45rem; align-items: center; font-size: .95rem; }
.switch__opt.is-on { background: var(--navy); color: #fff; }
.switch__opt em { font-style: normal; font-size: .72rem; background: var(--gold); color: var(--ink); padding: .18rem .4rem; border-radius: 5px; font-weight: 600; }
.stepper { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); border-radius: var(--r-btn); padding: 4px 4px 4px 1rem; background: #fff; }
.stepper__label { font-size: .92rem; font-weight: 600; color: var(--ink); margin-right: .35rem; }
.stepper__btn { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.stepper__btn:hover { background: var(--tint); }
.stepper__btn:disabled { opacity: .35; cursor: default; }
.stepper__btn .ic { width: 16px; height: 16px; }
.stepper__value { min-width: 2.2ch; text-align: center; font-weight: 700; font-size: 1.05rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.plans { display: grid; gap: 1.25rem; }
.plan { border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; position: relative; background: #fff; box-shadow: var(--shadow-card); }
.plan--premium { background: var(--navy); color: #fff; border-color: var(--navy); }
.plan h3 { font-size: 1.1rem; }
.plan--premium h3 { color: var(--gold); }
.plan__ribbon { position: absolute; top: -13px; left: clamp(1.5rem, 3vw, 2.25rem); background: var(--gold); color: var(--ink); font-weight: 600; font-size: .78rem; padding: .32rem .6rem; border-radius: 7px; }
.plan__price { display: flex; align-items: baseline; gap: .5rem; margin: .8rem 0 .25rem; flex-wrap: wrap; }
.plan__price b { font-size: 2.9rem; font-weight: 800; letter-spacing: -.035em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan--premium .plan__price b { color: #fff; }
.plan__price span { color: var(--muted); font-size: .95rem; }
.plan--premium .plan__price span { color: var(--on-navy); }
.plan__sub { font-size: .92rem; color: var(--muted); }
.plan--premium .plan__sub { color: #fff; font-weight: 600; }
.plan__detail { font-size: .88rem; color: var(--muted); margin-top: .25rem; }
.plan--premium .plan__detail { color: var(--on-navy); }
.plan__more { font-size: .88rem; font-weight: 600; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--ink); }
.plan--premium .plan__more { border-top-color: rgba(255, 255, 255, .18); color: var(--on-navy); }
.plan__list { display: grid; gap: .55rem; margin: 1rem 0 1.5rem; flex: 1; }
.plan__list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .97rem; line-height: 1.4; }
.plan__list .ic { width: 18px; height: 18px; color: var(--sky-ink); margin-top: 3px; }
.plan--premium .plan__list .ic { color: var(--gold); }
.plan__list .is-muted { color: var(--muted); }
.plan__list .is-muted .ic { color: var(--line-strong); }
.plan--free .plan__list { margin-top: 1.4rem; }

/* --------------------------------------------------------------- parrainage */
.referral { display: grid; gap: 1rem; counter-reset: ref; }
.referral li { position: relative; background: var(--navy-2); border-radius: var(--r-card); padding: 1.5rem; counter-increment: ref; }
.referral li::before { content: "0" counter(ref); position: absolute; right: 1.25rem; top: 1.1rem; font-weight: 800; font-size: 1.3rem; color: rgba(255, 255, 255, .22); letter-spacing: -.02em; }
.referral__icon { width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--sky-ink); display: grid; place-items: center; margin-bottom: 1rem; }
.referral__icon .ic { width: 22px; height: 22px; }
.referral h3 { font-size: 1.1rem; padding-right: 2.5rem; color: #fff; }
.referral p { color: var(--on-navy); font-size: .95rem; margin-top: .3rem; }
.code { display: inline-flex; align-items: center; gap: .8rem; background: #fff; color: var(--navy); border-radius: 10px; padding: .55rem .9rem; font-weight: 700; letter-spacing: .08em; margin-top: 1rem; }
.code .ic { color: var(--sky-ink); width: 18px; height: 18px; }
.stars--gold { margin-top: 1rem; }
.referral__more { margin-top: 1.5rem; display: flex; gap: .6rem; align-items: center; font-size: 1.05rem; font-weight: 600; color: #fff; }
.referral__more .ic { color: var(--gold); width: 24px; height: 24px; }
.referral__more b { color: var(--gold); }

/* --------------------------------------------------------------- faq */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 0 1.25rem; color: var(--text); max-width: 66ch; }

/* --------------------------------------------------------------- cta final */
.cta { display: grid; gap: 1.75rem; align-items: center; }
.cta h2 { max-width: 14ch; }
.cta .lead { margin-top: .9rem; max-width: 44ch; color: var(--text); }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.cta__sticker { width: 190px; justify-self: center; filter: drop-shadow(0 18px 24px rgba(3, 28, 73, .22)); }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--navy); color: #fff; padding: 3.5rem 0 calc(2rem + 76px + env(safe-area-inset-bottom)); }
.site-footer__grid { display: grid; gap: 2rem; }
.site-footer__brand img { height: 30px; width: auto; }
.site-footer__brand p { color: var(--on-navy); font-size: .95rem; margin-top: 1rem; max-width: 38ch; }
.site-footer__mail { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 600; margin-top: 1rem; }
.site-footer__mail .ic { color: var(--sky); }
.site-footer__col { display: flex; flex-direction: column; }
.site-footer__col h3 { font-size: .85rem; color: var(--sky); margin-bottom: .6rem; font-weight: 600; }
.site-footer__col a, .linklike { color: rgba(255, 255, 255, .86); padding: .28rem 0; font-size: .95rem; text-align: left; }
.site-footer__col a:hover, .linklike:hover { color: #fff; }
.linklike { background: none; border: 0; cursor: pointer; }
.linklike--inline { padding: 0; text-decoration: underline; text-underline-offset: 3px; color: var(--sky-ink); font-weight: 600; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: .85rem; color: var(--on-navy); }
.site-footer__badges { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }

/* --------------------------------------------------------------- cookies */
.cookie { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.1rem; box-shadow: 0 24px 48px -24px rgba(3, 28, 73, .35); display: grid; gap: .9rem; }
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 1rem; letter-spacing: 0; }
.cookie p { font-size: .9rem; margin-top: .3rem; color: var(--text); }
.cookie a { color: var(--sky-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: flex; gap: .6rem; }
.cookie__actions .btn { flex: 1; }

/* --------------------------------------------------------------- legal */
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); }
.legal h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); }
.legal__date { color: var(--muted); margin-top: .75rem; }
.legal__notice { border-radius: 12px; padding: 1rem 1.1rem; margin: 1.75rem 0 2.5rem; font-size: .95rem; color: var(--ink); background: var(--gold-soft); }
.legal section + section { margin-top: 2.25rem; }
.legal h2 { font-size: 1.4rem; margin-bottom: .5rem; }
.legal p, .legal li { max-width: 72ch; }
.legal ul { list-style: disc; padding-left: 1.25rem; }
.legal .placeholder { color: var(--muted); font-style: italic; }
.legal__back { display: inline-block; font-weight: 600; color: var(--sky-ink); margin-bottom: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .demo__bar, .tn__btn.is-new { animation: none !important; }
  *, *::before, *::after { transition-duration: .001s !important; }
}

/* ==========================================================================
   Tablette
   ========================================================================== */
@media (min-width: 720px) {
  .site-header__order { display: inline-flex; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; }
  .hero__visual { margin: 0 0 0 auto; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .demo { grid-template-columns: 1fr auto; gap: 3rem; }
    .placements { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: 1.5rem; }
  .placement { flex: none; }
  .modes { grid-template-columns: 1fr 1fr; }
  .money { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; }
  .composer { grid-template-columns: auto 1fr; gap: 3rem; align-items: center; }
  .plans { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .referral { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .cta { grid-template-columns: 1fr auto; }
  .cta__sticker { width: 230px; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
  .cookie { left: auto; right: 20px; bottom: 20px; max-width: 420px; }
  .cookie__actions { justify-content: flex-end; }
  .cookie__actions .btn { flex: 0 1 auto; }
}

/* ==========================================================================
   Desktop
   ========================================================================== */
@media (min-width: 1024px) {
  :root { --header-h: 72px; }
  .site-nav { display: flex; gap: 1.35rem; margin-left: 1.75rem; }
  .site-nav a { font-size: .95rem; font-weight: 500; color: var(--text); white-space: nowrap; }
  .site-nav a:hover { color: var(--ink); }
  .burger { display: none; }
  .menu-mobile { display: none !important; }
  .mobile-cta { display: none; }
  .site-footer { padding-bottom: 2rem; }
  .brand img { height: 30px; }
  .hero { padding: clamp(48px, 6vw, 96px) 0; }
  .hero__visual { width: 100%; max-width: 540px; }
  .demo { grid-template-columns: 1fr 340px; gap: 4rem; }
  .composer { grid-template-columns: 320px 1fr; gap: 4rem; }
  .step__body p { max-width: 34ch; }
}


/* ==========================================================================
   v4 : ajustements après retours
   ========================================================================== */
.mt { margin-top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* hero : toasts + ondes NFC */
.hero__visual { padding: 18px 12% 10% 6%; }
.hero__ripple { position: absolute; left: 16.5%; top: 57%; width: 0; height: 0; }
.hero__ripple i { position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2px solid #fff; opacity: 0; animation: ripple 2.6s var(--ease) infinite; }
.hero__ripple i:nth-child(2) { animation-delay: .85s; }
.hero__ripple i:nth-child(3) { animation-delay: 1.7s; }
@keyframes ripple { 0% { transform: scale(.4); opacity: .95; } 100% { transform: scale(9); opacity: 0; } }
.toast { display: flex; align-items: center; gap: .65rem; background: #fff; border-radius: 14px; padding: .6rem .85rem; box-shadow: 0 14px 36px -14px rgba(3, 28, 73, .3); border: 1px solid rgba(3, 28, 73, .06); }
.toast__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 34px; }
.toast__icon .ic { width: 17px; height: 17px; }
.toast__icon--sky { background: var(--sky-soft); color: var(--sky-ink); }
.toast__icon--gold { background: var(--gold-soft); color: var(--gold); }
.toast__text { display: flex; flex-direction: column; line-height: 1.25; }
.toast__text b { font-size: .84rem; color: var(--ink); white-space: nowrap; }
.toast__text small { font-size: .73rem; color: var(--muted); white-space: nowrap; }
.toast--static { box-shadow: var(--shadow-card); width: 100%; }
.hero__toast { position: absolute; }
.hero__toast--doc { left: 0; top: 0; }
.hero__toast--avis { left: -2px; top: 42%; }
.hero__toast--link { left: 6%; bottom: 4%; }
.hero__device { z-index: 2; }

/* étape 3 : email + espace */
.step__visual--pad { display: grid; align-content: center; gap: .75rem; padding: 1rem; place-items: stretch; height: auto; min-height: clamp(240px, 28vw, 300px); }
.docs-ui { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); }
.docs-ui__head { display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: baseline; padding: .8rem 1rem; border-bottom: 1px solid var(--line); background: var(--tint); }
.docs-ui__head b { color: var(--ink); font-size: .95rem; }
.docs-ui__head span { color: var(--muted); font-size: .8rem; }
.docs-ui__row { display: grid; grid-template-columns: 38px 1fr; gap: .6rem .8rem; padding: .85rem 1rem; align-items: start; border-top: 1px solid var(--line); }
.docs-ui__row:first-of-type { border-top: 0; }
.docs-ui__row.is-new { background: #F6FBFE; }
.docs-ui__icon { width: 38px; height: 38px; border-radius: 10px; background: var(--sky-soft); color: var(--sky-ink); display: grid; place-items: center; }
.docs-ui__icon .ic { width: 18px; height: 18px; }
.docs-ui__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .5rem; min-width: 0; }
.docs-ui__meta b { font-size: .92rem; color: var(--ink); }
.docs-ui__meta small { flex-basis: 100%; font-size: .78rem; color: var(--muted); }
.docs-ui__pill { font-size: .68rem; font-weight: 600; background: var(--sky-soft); color: var(--sky-ink); padding: .15rem .45rem; border-radius: 6px; }
.docs-ui__exp { color: var(--sky-ink) !important; font-weight: 600; }
.docs-ui__exp.is-warn { color: #B4560A !important; }
.docs-ui__actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: .4rem; }
.docs-ui__actions i { font-style: normal; font-size: .74rem; font-weight: 600; padding: .38rem .6rem; border-radius: 7px; border: 1px solid transparent; }
.a-navy { background: var(--navy); color: #fff; }
.a-sky { background: var(--sky); color: #fff; }
.a-gold { background: var(--gold-soft); color: #7A5A00; border-color: #F1D774 !important; }
.a-green { background: var(--green-soft); color: var(--green); border-color: #BFE6CB !important; }
.a-red { background: #FDECEC; color: #B42318; border-color: #F5C2C2 !important; }
.docs-ui--mini .docs-ui__head { padding: .55rem .8rem; }
.docs-ui--mini .docs-ui__row { padding: .65rem .8rem; }
.docs-ui--mini .docs-ui__actions i { padding: .3rem .5rem; }

/* documents : flux v1 + espace lisible */
.flow { display: grid; gap: .5rem; }
.flow__node { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.35rem 1.35rem 1.25rem; box-shadow: var(--shadow-card); }
.flow__node--accent { background: var(--navy); color: #fff; border-color: var(--navy); }
.flow__node--accent h3 { color: #fff; }
.flow__node--accent p { color: var(--on-navy); }
.flow__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sky-soft); color: var(--sky-ink); font-weight: 700; margin-bottom: .9rem; }
.flow__num .ic { width: 20px; height: 20px; }
.flow__node--accent .flow__num { background: var(--navy-2); color: var(--sky); }
.flow__node h3 { font-size: 1.1rem; }
.flow__node p { margin-top: .3rem; font-size: .95rem; color: var(--text); }
.flow__link { height: 26px; width: 0; margin: 0 auto; border-left: 2px dashed var(--line-strong); }
.flow__link svg { display: none; }
.flow__link svg path { stroke: var(--line-strong); stroke-width: 2; fill: none; stroke-dasharray: 5 7; vector-effect: non-scaling-stroke; }
.flow.in-view .flow__link svg path { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.docs { display: grid; gap: 1.5rem; margin-top: clamp(2rem, 4vw, 3rem); align-items: center; }
.docs__points { display: grid; gap: .5rem; }
.docs__points li { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.docs__points .ic { color: var(--sky-ink); width: 20px; height: 20px; }
.docs__points b { color: var(--ink); font-size: .98rem; }
.note { display: grid; gap: .45rem; border-radius: 16px; padding: 1.35rem; background: var(--gold-soft); color: var(--ink); margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.note h3 { font-size: 1.1rem; color: var(--ink); display: flex; align-items: center; gap: .5rem; }
.note h3 .ic { color: var(--ink); }
.note p { color: var(--text); max-width: 78ch; font-size: .98rem; }
.flow__node--accent p { color: #fff; opacity: .88; }

/* avis : didacticiel */
.tour { display: grid; justify-items: center; gap: 1rem; position: relative; }
.tour__progress { font-size: .85rem; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; }
.tour .phone { --pw: clamp(250px, 76vw, 310px); }
.rate__stars { position: absolute; left: 0; right: 0; top: 20.8%; height: 5.2%; z-index: 2; }
.rate__star { position: absolute; top: 50%; left: var(--x); width: 9%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 0; background: transparent; padding: 0; cursor: pointer; color: var(--gold); display: grid; place-items: center; }
.rate__star .ic { width: 100%; height: 100%; opacity: 0; transition: opacity .15s; }
.rate__star.is-lit .ic { opacity: 1; }
.rate__stars.is-hidden { visibility: hidden; }
.rate__star.is-hint::after { content: ""; position: absolute; inset: -26%; border-radius: 50%; border: 2.5px solid var(--sky); animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.92); opacity: .9; } 50% { transform: scale(1.12); opacity: 1; } }
.bubble { position: absolute; left: 6%; right: 6%; z-index: 4; background: var(--navy); color: #fff; border-radius: 12px; padding: 4.4cqw 4.8cqw; box-shadow: 0 18px 40px -14px rgba(3, 28, 73, .6); display: grid; gap: 2cqw; text-align: left; animation: bubblein .35s var(--ease); }
.bubble[hidden] { display: none; }
@keyframes bubblein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.bubble--stars { top: 31%; }
.bubble--stars::before { content: ""; position: absolute; left: 50%; top: -7px; width: 14px; height: 14px; background: var(--navy); transform: translateX(-50%) rotate(45deg); animation: caret 1.2s ease-in-out infinite; }
@keyframes caret { 0%, 100% { top: -7px; } 50% { top: -11px; } }
.bubble--bottom { bottom: 13%; }
.bubble__step { display: inline-block; justify-self: start; font-size: 2.9cqw; font-weight: 600; color: var(--navy); background: var(--gold); padding: .9cqw 2.2cqw; border-radius: 6px; }
.bubble__step--good { color: #fff; background: var(--green); }
.bubble b { font-size: 4.1cqw; line-height: 1.3; color: #fff; }
.bubble small { font-size: 3.2cqw; color: var(--on-navy); line-height: 1.35; }
.bubble .btn { justify-self: start; padding: 2.6cqw 3.6cqw; font-size: 3.2cqw; border-radius: 8px; margin-top: .6cqw; }
/* publicités : plans + bloc argent allégé */
.mode__plan { display: inline-flex; align-items: center; gap: .45rem; }
.mode__plan .ic { width: 20px; height: 20px; color: var(--gold); }
.mode--premium { border: 1.5px solid var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.mode--premium .mode__plan--premium { color: var(--gold); }
.money__quote { font-size: 1rem; max-width: 44ch; }
.money__ways { display: grid; gap: .5rem; margin-top: 1.25rem; }
.money__ways li { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; background: var(--navy-2); border-radius: 10px; border: 0; color: #fff; font-weight: 600; font-size: .95rem; }
.money__ways .ic { color: var(--gold); width: 20px; height: 20px; }

/* composeur : formulaire de création */
.maker { display: grid; gap: .9rem; }
.maker__field { display: grid; gap: .35rem; }
.maker__field span { font-size: .82rem; font-weight: 600; color: var(--muted); }
.maker__field input { width: 100%; font: inherit; padding: .75rem .9rem; border: 1.5px solid var(--line-strong); border-radius: 10px; color: var(--ink); background: #fff; }
.maker__field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--sky-soft); }
.maker__colors { display: flex; gap: .55rem; flex-wrap: wrap; }
.swatch { position: relative; width: 34px; height: 34px; cursor: pointer; }
.swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.swatch i { position: absolute; inset: 0; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line-strong); transition: transform .15s; }
.swatch input:checked + i { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--navy); transform: scale(1.12); }
.swatch input:focus-visible + i { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--sky); }
.maker__list { display: grid; gap: .4rem; margin-top: .6rem; }
.maker__list li { display: flex; align-items: center; gap: .6rem; padding: .5rem .5rem .5rem .8rem; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.maker__list i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); flex: 0 0 14px; }
.maker__list span { flex: 1; }
.maker__list button { border: 0; background: var(--tint); color: var(--muted); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; }
.maker__list button:hover { background: #FDECEC; color: #B42318; }
.maker__list button .ic { width: 14px; height: 14px; }
.composer__group h3 small { margin-left: .2rem; }
.maker.is-full { opacity: .55; pointer-events: none; }

/* démo mobile : onglets au-dessus du téléphone */
.demo__caption { display: none; }
.pricing-live { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .6rem; width: 100%; padding: .85rem 1rem; background: var(--navy); color: #fff; border-radius: 12px; }
.pricing-live__label { font-size: .85rem; font-weight: 600; color: var(--gold); }
.pricing-live b { font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pricing-live span:last-child { font-size: .88rem; color: var(--on-navy); }

@media (max-width: 719.98px) {
  :root { --section: 52px; }
  .section-head { margin-bottom: 1.5rem; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__proof { display: grid; grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--tint); overflow: hidden; }
  .hero__proof li { border: 0; border-radius: 0; background: transparent; padding: .7rem .9rem; font-size: .9rem; }
  .hero__proof li + li { border-top: 1px solid var(--line); }
  .hero__visual { width: min(100%, 420px); padding: 16px 14% 12% 4%; }
  .hero__toast--avis { top: 44%; }
  .demo { grid-template-columns: 1fr; }
  .demo__nav { grid-template-columns: repeat(3, 1fr); gap: .4rem; order: -1; max-width: none; }
  .demo__item { padding: .7rem .5rem .8rem; text-align: center; border-radius: 10px; }
  .demo__item h3 { font-size: .85rem; justify-content: center; }
  .demo__item p, .demo__item .tag { display: none; }
  .demo__caption { display: block; text-align: center; font-size: .95rem; color: var(--text); margin-top: 1rem; max-width: 34ch; }
  .composer { grid-template-columns: 1fr; gap: 1rem; }
  .composer__phone .phone { --pw: clamp(240px, 72vw, 290px); }
  .composer__phone { scroll-margin-top: calc(var(--header-h) + 12px); }
}
@media (min-width: 720px) {
  .flow { grid-template-columns: 1fr 56px 1fr 56px 1fr; gap: 0; align-items: stretch; }
  .flow__link { height: auto; width: auto; border: 0; margin: 0; display: flex; align-items: center; padding: 0 4px; align-self: center; }
  .flow__link svg { display: block; width: 100%; height: 20px; overflow: visible; }
  .docs { grid-template-columns: 1.5fr 1fr; gap: 2.5rem; }
  .composer__phone .phone { --pw: 290px; }
  .pricing-live { width: auto; }
}
@media (min-width: 1024px) {
  .composer { grid-template-columns: 320px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__ripple, .flow.in-view .flow__link svg path { animation: none !important; }
}

/* v4.1 : ligne d'ajout, tiroir de création, aperçu */
.switch-row--add { border-style: dashed; background: var(--tint); cursor: pointer; text-align: left; font: inherit; }
.switch-row--add .ic { color: var(--navy); }
.switch-row--add em { font-style: normal; font-size: .8rem; color: var(--muted); font-weight: 500; }
.switch-row--add:hover { border-color: var(--navy); background: #fff; }
.switch-row--add:disabled { opacity: .5; cursor: not-allowed; }
.switch-row__remove { border: 0; background: var(--tint); color: var(--muted); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; flex: 0 0 30px; }
.switch-row__remove:hover { background: #FDECEC; color: #B42318; }
.switch-row__remove .ic { width: 14px; height: 14px; }
.switch-row__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); flex: 0 0 14px; }
.sheet { border: 0; padding: 0; background: #fff; color: var(--text); border-radius: 20px; width: min(100% - 24px, 440px); box-shadow: 0 40px 80px -30px rgba(3, 28, 73, .5); }
.sheet::backdrop { background: rgba(3, 28, 73, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet .maker { padding: 1.35rem; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sheet__head h3 { font-size: 1.15rem; }
.sheet__close { border: 0; background: var(--tint); color: var(--ink); width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; }
.sheet__close .ic { width: 16px; height: 16px; }
.maker__preview { display: grid; place-items: center; padding: 1rem; background: var(--tint); border-radius: 12px; }
.maker__preview .tn__btn { font-size: .95rem; padding: .8rem 1rem; border-radius: 10px; gap: .55rem; width: min(100%, 280px); justify-content: center; }
.maker__preview .tn__btn .ic { width: 18px; height: 18px; }
@media (max-width: 719.98px) {
  .sheet { margin: auto 0 0; width: 100%; max-width: none; border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .sheet .maker { padding: 1.25rem 1.25rem 1.5rem; }
  .hero__toast--link { display: none; }
  .hero__toast--doc { left: 0; top: 2%; transform: scale(.9); transform-origin: left top; }
  .hero__toast--avis { left: 0; top: auto; bottom: 8%; transform: scale(.9); transform-origin: left bottom; }
  .composer__phone { order: 1; }
  .composer__panel { order: 2; }
}
@media (min-width: 720px) {
  .hero__toast--avis { left: 0; top: auto; bottom: 6%; }
  .hero__toast--link { left: auto; right: 22%; top: 12%; bottom: auto; }
}

/* v4.2 : didacticiel avec projecteur, main qui tape et carte latérale */
.tour__stage { display: grid; justify-items: center; gap: 1.25rem; width: 100%; }
.spot { position: absolute; left: 12%; right: 12%; top: 17.6%; height: 11.6%; border-radius: 14px; box-shadow: 0 0 0 200vmax rgba(3, 28, 73, .62); z-index: 1; pointer-events: none; transition: opacity .3s; }
.spot.is-off { opacity: 0; }
.rate__layer { z-index: 3; }
.tap-hand { position: absolute; left: var(--x, 50%); top: 23.4%; width: 11%; aspect-ratio: 1; z-index: 5; color: #fff; pointer-events: none; filter: drop-shadow(0 4px 8px rgba(3, 28, 73, .5)); transform-origin: 20% 10%; animation: tap 1.3s ease-in-out infinite; }
.tap-hand .ic { width: 100%; height: 100%; stroke-width: 2.2; fill: var(--navy); }
.tap-hand[hidden] { display: none; }
@keyframes tap { 0%, 100% { transform: translate(-10%, 38%) scale(1); } 45% { transform: translate(-10%, 10%) scale(.9); } 60% { transform: translate(-10%, 12%) scale(.9); } }
.bubble__do { display: inline-flex; align-items: center; gap: 1.6cqw; color: #fff; font-weight: 600; background: var(--sky); padding: 1.8cqw 2.6cqw; border-radius: 8px; font-size: 3.3cqw; justify-self: start; }
.bubble__do .ic { width: 4cqw; height: 4cqw; }
.coach { display: none; }
.coach__card { position: relative; width: 340px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.35rem 1.4rem; box-shadow: 0 24px 56px -24px rgba(3, 28, 73, .35); display: grid; gap: .6rem; animation: bubblein .35s var(--ease); }
.coach__card[hidden] { display: none; }
.coach__card::before { content: ""; position: absolute; left: -9px; top: 26px; width: 16px; height: 16px; background: #fff; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.coach__step { display: inline-block; justify-self: start; font-size: .8rem; font-weight: 600; color: var(--ink); background: var(--gold); padding: .28rem .55rem; border-radius: 6px; }
.coach__step--good { color: #fff; background: var(--green); }
.coach__card h3 { font-size: 1.2rem; }
.coach__card p { color: var(--text); font-size: .97rem; }
.coach__do { display: inline-flex; align-items: center; gap: .5rem; color: #fff; background: var(--sky); font-weight: 600; padding: .55rem .8rem; border-radius: 9px; justify-self: start; font-size: .92rem; }
.coach__do .ic { width: 18px; height: 18px; }
.coach__card .btn { justify-self: start; margin-top: .25rem; }
@media (min-width: 900px) {
  .tour__stage { grid-template-columns: auto 340px; justify-content: center; align-items: start; gap: 2.5rem; }
  .coach { display: block; margin-top: 168px; }
  .tour .bubble { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tap-hand, .rate__star.is-hint::after, .bubble--stars::before { animation: none !important; }
}

@media (min-width: 1024px) and (max-width: 1199.98px) {
  .site-nav { gap: 1rem; margin-left: 1.25rem; }
  .site-nav a { font-size: .9rem; }
  .site-nav a:last-child { display: none; }
}

/* v4.3 : pages légales */
.legal h2 { font-size: 1.35rem; margin-top: 2.5rem; margin-bottom: .6rem; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal h3 { font-size: 1.08rem; margin: 1.4rem 0 .4rem; color: var(--ink); }
.legal p + p { margin-top: .6rem; }
.legal ol { list-style: decimal; padding-left: 1.3rem; }
.legal ul, .legal ol { margin: .5rem 0; display: grid; gap: .35rem; }
.legal section + section { margin-top: 0; }
.legal__intro { font-size: 1.05rem; color: var(--text); margin-top: 1.5rem; }
.legal__toc { margin: 1.75rem 0 .5rem; padding: 1.1rem 1.25rem; background: var(--tint); border-radius: 14px; }
.legal__toc h2 { font-size: .9rem; margin: 0 0 .5rem; color: var(--muted); }
.legal__toc ol { columns: 2; column-gap: 1.5rem; gap: .2rem; display: block; }
.legal__toc li { font-size: .92rem; break-inside: avoid; padding: .15rem 0; }
.legal__toc a { color: var(--sky-ink); }
.legal__toc a:hover { text-decoration: underline; }
.legal__table { width: 100%; border-collapse: collapse; margin: .75rem 0 1rem; font-size: .92rem; }
.legal__table th, .legal__table td { border: 1px solid var(--line); padding: .55rem .7rem; text-align: left; vertical-align: top; }
.legal__table th { background: var(--tint); color: var(--ink); font-weight: 600; }
.legal__annex { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--line); }
@media (max-width: 719.98px) {
  .legal__toc ol { columns: 1; }
  .legal__table { display: block; overflow-x: auto; }
}

/* v5.1 : bandeau promo (site) */
.promo { position: relative; background: linear-gradient(90deg, var(--gold) 0%, #FFD23F 100%); color: var(--navy); }
.promo.is-hidden { display: none; }
.promo__inner { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: .7rem; flex-wrap: wrap; padding: .45rem 2.6rem .45rem 0; text-align: center; font-size: .9rem; font-weight: 600; line-height: 1.35; }
.promo__ico { font-size: 1rem; }
.promo__txt b { font-weight: 800; }
.promo__cta { flex: 0 0 auto; background: var(--navy); color: #fff; font-weight: 700; font-size: .8rem; padding: .4rem .9rem; border-radius: 9px; white-space: nowrap; transition: transform .15s var(--ease), box-shadow .15s; }
.promo__cta:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgba(3, 28, 73, .7); }
.promo__close { position: absolute; top: 50%; right: max(8px, calc((100% - var(--container)) / 2 - 8px)); transform: translateY(-50%); background: transparent; border: 0; color: var(--navy); width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; cursor: pointer; opacity: .65; }
.promo__close:hover { opacity: 1; background: rgba(3, 28, 73, .08); }
.promo__close .ic { width: 18px; height: 18px; }
@media (max-width: 719.98px) {
  .promo__inner { font-size: .82rem; gap: .45rem; padding: .5rem 2.4rem .5rem 0; }
  .promo__cta { display: none; }
  .promo__close { right: 6px; }
}

/* v5.2 : pages piliers, comparatif, blog */
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line-strong); }
.crumbs a { color: var(--sky-ink); }
.crumbs a:hover { text-decoration: underline; }
.pillar-hero { padding: clamp(24px, 4vw, 56px) 0 clamp(16px, 3vw, 32px); }
.pillar-hero__grid { display: grid; gap: 2rem; align-items: center; }
.pillar-hero h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3rem); }
.pillar-hero .lead { margin-top: 1rem; color: var(--text); max-width: 56ch; }
.pillar-hero__visual { display: grid; justify-items: center; }
.pillar-hero__visual picture img { border-radius: var(--r-frame); box-shadow: 0 30px 60px -30px rgba(3, 28, 73, .35); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem); margin-top: 2.6rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.prose p { margin-top: .85rem; }
.prose ul, .prose ol { margin: .85rem 0 0 1.25rem; display: grid; gap: .45rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--sky-ink); font-weight: 600; }
.prose a { color: var(--sky-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose .textlink { display: inline-block; margin-top: 1.5rem; font-weight: 600; }
.prose__note { font-size: .85rem; color: var(--muted); }
.callout { background: var(--sky-soft); border-radius: 14px; padding: 1.1rem 1.25rem; margin-top: 1.5rem; color: var(--ink); }
.callout--gold { background: var(--gold-soft); }
.table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .93rem; }
.table th, .table td { border: 1px solid var(--line); padding: .6rem .75rem; text-align: left; vertical-align: top; }
.table th { background: var(--tint); color: var(--ink); font-weight: 600; }
.article-meta { color: var(--muted); font-size: .92rem; margin-top: .9rem; }
.article__figure { margin: .5rem 0 1.5rem; }
.article__figure img { border-radius: var(--r-frame); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose--article .lead { margin-top: 0; color: var(--text); }
.cards { display: grid; gap: 1.25rem; }
.card { display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); color: inherit; transition: transform .2s var(--ease), box-shadow .2s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -24px rgba(3, 28, 73, .3); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card__body { padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: .5rem; align-content: start; }
.card h2 { font-size: 1.1rem; line-height: 1.3; }
.card p { font-size: .92rem; color: var(--text); }
.card__meta { font-size: .8rem; color: var(--muted); font-weight: 600; }
@media (min-width: 720px) {
  .pillar-hero__grid { grid-template-columns: 1.15fr .85fr; gap: 3rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 2rem; }
}
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 719.98px) { .table { display: block; overflow-x: auto; } }

.more-link { margin-top: 1.5rem; }
.textlink { color: var(--sky-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.textlink:hover { color: var(--navy); }

/* v5.3 : bouton attestation HDS dans l'en-tête de section */
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem 2rem; }
.section-head--row > div { max-width: 720px; }
.doc-link { white-space: nowrap; }
.doc-link__ext { font-size: .72rem; font-weight: 700; color: var(--sky-ink); background: var(--sky-soft); padding: .2rem .4rem; border-radius: 5px; margin-left: .25rem; }
@media (max-width: 719.98px) { .doc-link { width: 100%; } }
@media (min-width: 720px) { .section-head--row .doc-link { margin-top: .35rem; } }
