/* =====================================================================
   Flair Motion — feuille de style
   Direction : l'écriture de vos vidéos (Sneakaumax, Sell by Flair).
   Fond clair gris-lavande, halos pervenche flous, grille fine,
   mots d'accent en italique pervenche, puces flottantes, bulles de chat.
   ===================================================================== */

/* Polices hébergées sur le site (aucun appel externe) */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }

:root {
  --fond: #EEF0F6;
  --fond-clair: #F6F7FB;
  --blanc: #FFFFFF;
  --pervenche: #99AEED;
  --pervenche-vif: #99AEED;
  --pervenche-voile: #E0E7FA;
  --lavande: #99AEED;
  --encre: #15161C;
  --encre-70: #4B4E5C;
  --encre-50: #7C8090;
  --gris-mot: #B7BAC6;
  --trait: #DDE1EC;

  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-accent: "Instrument Serif", Georgia, serif;

  /* Mouvement — personnalité « Premium / éditorial » :
     une courbe signature, trois durées, une entrée (flou → net). */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-move: cubic-bezier(0.25, 1, 0.5, 1);
  --t-quick: 160ms;
  --t-std: 420ms;
  --t-slow: 800ms;

  --shadow-card: 0 1px 0 rgba(255,255,255,.8) inset, 0 18px 40px -22px rgba(40, 52, 110, .28), 0 2px 6px -2px rgba(40, 52, 110, .08);
  --shadow-chip: 0 6px 18px -8px rgba(40, 52, 110, .30);

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fond); color: var(--encre);
  font-family: var(--font-text); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* Grille fine, comme dans « Sell by Flair » */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(120, 130, 170, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120, 130, 170, .07) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 85%);
}
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--encre); color: var(--blanc); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--pervenche-vif); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.sup { font-size: .68em; vertical-align: .45em; line-height: 0; }

/* ---------- Ambiance : halos flous qui dérivent lentement ---------- */
.ambient { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb--a { width: 46vmax; height: 46vmax; left: -14vmax; top: -16vmax; background: radial-gradient(circle, var(--lavande), transparent 68%); animation: drift-a 22s ease-in-out infinite alternate; }
.orb--b { width: 50vmax; height: 50vmax; right: -18vmax; bottom: -22vmax; background: radial-gradient(circle, #99AEED, transparent 66%); animation: drift-b 26s ease-in-out infinite alternate; }
.orb--c { width: 26vmax; height: 26vmax; right: 8vmax; top: 6vmax; background: radial-gradient(circle, #99AEED, transparent 70%); opacity: .7; animation: drift-a 30s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { to { transform: translate3d(6vmax, 4vmax, 0) scale(1.06); } }
@keyframes drift-b { to { transform: translate3d(-5vmax, -6vmax, 0) scale(.95); } }

/* ---------- Titres : grotesque très noir + accent italique pervenche ---------- */
.display { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; text-wrap: balance; }
.display--hero { font-size: clamp(2.5rem, 6.4vw, 5.6rem); max-width: 14ch; margin-inline: auto; }
.display--section { font-size: clamp(2.1rem, 4.6vw, 3.8rem); max-width: 18ch; }
.acc { font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--pervenche-vif); padding-right: .04em; }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; background: var(--blanc); box-shadow: var(--shadow-chip); font-size: .82rem; font-weight: 600; color: var(--encre-70); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pervenche-vif); }
.lead { margin-top: 22px; max-width: 38em; font-size: 1.12rem; color: var(--encre-70); }
.lead--wide { max-width: 52em; margin-top: 0; }

/* Surlignage balayé, comme « restock » dans Sneakaumax */
.hl {
  color: inherit; background-color: transparent;
  background-image: linear-gradient(var(--pervenche-voile), var(--pervenche-voile));
  background-repeat: no-repeat; background-position: 0 90%; background-size: 0% 88%;
  padding: 0 .08em; margin: 0 -.08em; border-radius: .12em;
  transition: background-size 700ms var(--ease) 560ms;
}
.is-in .hl { background-size: 100% 88%; }

/* ---------- Mots qui se révèlent (flou → net), l'écriture des vidéos ---------- */
.w { display: inline-block; white-space: pre; }
.js [data-words] .w {
  opacity: 0; color: var(--gris-mot); filter: blur(8px); transform: translateY(.18em);
  transition:
    opacity 600ms var(--ease) calc(var(--wi) * 70ms),
    filter 700ms var(--ease) calc(var(--wi) * 70ms),
    transform 700ms var(--ease) calc(var(--wi) * 70ms),
    color 900ms ease calc(var(--wi) * 70ms + 260ms);
}
.js [data-words].is-in .w { opacity: 1; filter: blur(0); transform: none; color: inherit; }
.js [data-words] .acc .w { color: var(--lavande); }
.js [data-words].is-in .acc .w { color: var(--pervenche-vif); }

/* Révélation d'un bloc (une seule fois) */
.js [data-reveal] {
  opacity: 0; filter: blur(6px); transform: translateY(14px);
  transition: opacity 700ms var(--ease), filter 700ms var(--ease), transform 800ms var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms + 120ms);
}
.js [data-reveal].is-in { opacity: 1; filter: blur(0); transform: none; }
.js [data-enter] { animation: enter 900ms var(--ease) both; animation-delay: calc(var(--i, 0) * 100ms); }
@keyframes enter { from { opacity: 0; filter: blur(6px); transform: translateY(10px); } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 11px 22px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform var(--t-quick) var(--ease), background-color 200ms ease;
}
.btn:active { transform: scale(.97); }
.btn--small { min-height: 40px; padding: 8px 18px; font-size: .9rem; }
.btn--primary { background: var(--pervenche-vif); color: var(--blanc); box-shadow: 0 10px 24px -10px rgba(153, 174, 237, .8); }
@media (hover: hover) and (pointer: fine) { .btn--primary:hover { background: #99AEED; } }

/* ---------- Tuile d'app (f.), comme la tuile flèche de Sell by Flair ---------- */
.tile { display: grid; place-items: center; background: var(--pervenche); box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 12px 30px -10px rgba(153, 174, 237, .75); }
.tile--sm { width: 30px; height: 30px; border-radius: 9px; }
.tile--sm img { width: 12px; height: auto; }
.tile--lg { width: clamp(84px, 9vw, 112px); aspect-ratio: 1; border-radius: 28%; }
.tile--lg img { width: 38%; height: auto; }

/* ---------- Puces ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; background: var(--blanc); box-shadow: var(--shadow-chip); font-weight: 600; font-size: .95rem; color: var(--encre); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pervenche-vif); flex: none; }
.dot--green { background: #99AEED; } .dot--violet { background: #99AEED; } .dot--orange { background: #99AEED; } .dot--blue { background: #99AEED; }

/* ---------- Navigation (verre dépoli) ---------- */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%;
  width: min(calc(100% - 24px), 1000px); transform: translateX(-50%);
  display: flex; align-items: center; gap: 20px; padding: 7px 7px 7px 10px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .8); border-radius: 999px;
  box-shadow: 0 12px 34px -18px rgba(40, 52, 110, .35);
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 4px; margin-left: auto; font-size: .94rem; }
.nav__links a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--encre-70); transition: color 200ms ease, background-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { color: var(--encre); background: rgba(153, 174, 237, .16); } }
.nav__links a[aria-current="page"] { color: var(--encre); background: var(--pervenche-voile); font-weight: 600; }
.nav__toggle { display: none; }
@media (max-width: 920px) {
  .nav { flex-wrap: wrap; border-radius: 26px; row-gap: 0; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: grid; place-content: center; gap: 5px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--pervenche-voile); cursor: pointer; }
  .nav__toggle span { display: block; width: 17px; height: 2px; background: var(--encre); border-radius: 2px; transition: transform var(--t-std) var(--ease); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav__links { order: 5; flex-basis: 100%; flex-direction: column; gap: 2px; margin: 0; padding: 0 4px; max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: max-height 420ms var(--ease-move), opacity 260ms ease, padding 420ms var(--ease-move), visibility 0s 420ms; }
  .nav.is-open .nav__links { max-height: 320px; opacity: 1; visibility: visible; padding: 10px 4px 6px; transition-delay: 0s; }
  .nav__links a { padding: 12px 14px; font-size: 1.05rem; }
}
@media (max-width: 520px) {
  .nav__brand > span:last-child { display: none; }
  .nav__cta { font-size: .85rem; padding: 8px 14px; }
}

/* ---------- Accueil : accroche + orbite ---------- */
.hero { padding: 150px 0 20px; text-align: center; }
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero__wordmark { width: clamp(170px, 18vw, 230px); height: auto; margin-bottom: clamp(26px, 4vw, 40px); }

.orbit { position: relative; width: min(100%, 640px); aspect-ratio: 16 / 9; margin-top: clamp(28px, 5vw, 56px); container-type: inline-size; }
.orbit__ring { position: absolute; left: 50%; top: 50%; border: 1.5px solid rgba(120, 130, 170, .22); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit__ring--outer { width: 92%; height: 82%; }
.orbit__ring--inner { width: 58%; height: 50%; }
.orbit__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.orbit__chip { position: absolute; left: calc(50% + var(--x)); top: calc(50% + var(--y)); transform: translate(-50%, -50%); }
.js .orbit__ring { animation: ring-in 1100ms var(--ease) 200ms both; }
.js .orbit__ring--inner { animation-delay: 360ms; }
@keyframes ring-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.8); } }
.js .orbit__core { animation: core-in 900ms var(--ease) 420ms both, breathe 4s ease-in-out 1.4s infinite; }
@keyframes core-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.86); filter: blur(6px); } }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.03); } }
.js .orbit__chip { animation: chip-in 700ms var(--ease) both, float 5s ease-in-out infinite; animation-delay: calc(900ms + var(--d) * 110ms), calc(1.6s - var(--d) * 1.3s); }
@keyframes chip-in { from { opacity: 0; scale: .9; filter: blur(5px); } }
@keyframes float { 50% { translate: 0 -7px; } }
@media (max-width: 560px) { .orbit .chip { font-size: .8rem; padding: 6px 11px; } }

/* ---------- Réalisations ---------- */
.works { padding: clamp(60px, 9vw, 110px) 0 var(--section); text-align: center; }
.works .display { margin-inline: auto; }
.works__grid { margin-top: clamp(40px, 6vw, 64px); display: flex; justify-content: center; align-items: flex-start; gap: clamp(28px, 7vw, 96px); flex-wrap: wrap; perspective: 1400px; }
.phone { margin: 0; width: clamp(230px, 25vw, 300px); display: flex; flex-direction: column; align-items: center; }
.phone:nth-child(1) .phone__screen { --tilt: 5deg; }
.phone:nth-child(2) { margin-top: clamp(0px, 6vw, 72px); }
.phone:nth-child(2) .phone__screen { --tilt: -5deg; }
.phone__screen {
  position: relative; width: 100%; aspect-ratio: 9 / 16;
  border-radius: 34px; border: 6px solid var(--blanc);
  background: var(--fond-clair); overflow: hidden;
  box-shadow: 0 40px 80px -36px rgba(40, 52, 110, .5), 0 2px 8px rgba(40, 52, 110, .08);
  transform: rotateY(var(--tilt, 0deg));
  transition: transform 700ms var(--ease);
}
@media (hover: hover) and (pointer: fine) { .phone:hover .phone__screen { transform: rotateY(0deg) translateY(-6px); } }
.phone__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-bar { position: absolute; z-index: 2; top: 12px; left: 14px; right: 14px; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(21, 22, 28, .12); }
.video-bar i { display: block; height: 100%; background: var(--encre); transform: scaleX(0); transform-origin: left; }
.sound-btn {
  position: absolute; z-index: 2; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .88); color: var(--encre);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: var(--shadow-chip);
  transition: transform var(--t-quick) var(--ease), background-color 200ms ease, color 200ms ease;
}
.sound-btn:active { transform: scale(.9); }
.sound-btn[aria-pressed="true"] { background: var(--pervenche-vif); color: var(--blanc); }
.sound-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sound-btn__spk { fill: currentColor; }
.sound-btn__on { display: none; }
.sound-btn[aria-pressed="true"] .sound-btn__on { display: inline; }
.sound-btn[aria-pressed="true"] .sound-btn__off { display: none; }
.phone__caption { margin-top: 20px; }

/* ---------- « Ça vous plaît ? » + formulaire façon messagerie ---------- */
.contact { padding: 0 0 var(--section); text-align: center; }
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact .display { font-size: clamp(2.8rem, 7.4vw, 6rem); max-width: none; }
.contact__lead { margin-top: 20px; max-width: 34em; color: var(--encre-70); font-size: 1.08rem; }
.form {
  position: relative; width: min(100%, 520px); margin-top: 36px; padding: 22px; border-radius: 28px; text-align: left;
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-card);
  display: grid; gap: 14px;
}
.form__row { display: grid; gap: 6px; }
.form label { padding-left: 16px; font-size: .88rem; font-weight: 600; color: var(--encre-70); }
.form input {
  width: 100%; min-height: 50px; padding: 12px 18px; font: inherit; font-size: 1rem; color: var(--encre);
  background: var(--blanc); border: 1.5px solid var(--trait); border-radius: 999px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.form input:focus-visible { outline: none; border-color: var(--pervenche); box-shadow: 0 0 0 4px rgba(153, 174, 237, .28); }
.form [aria-invalid="true"] { border-color: #D24B5E; animation: shake 360ms ease-in-out; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.form__send { position: relative; }
.form__send input { padding-right: 60px; }
.send-btn {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--pervenche-vif); color: var(--blanc); box-shadow: 0 8px 18px -8px rgba(153, 174, 237, .9);
  transition: transform var(--t-quick) var(--ease), background-color 200ms ease;
}
.send-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .send-btn:hover svg { transform: translateY(-2px); } }
.send-btn:active { transform: translateY(-50%) scale(.9); }
.form__error { padding-left: 16px; color: #C23B4E; font-weight: 600; font-size: .9rem; }
.form__done[hidden] { display: none; }
.form__done { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 28px; background: rgba(255,255,255,.94); }
.contact__direct { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; color: var(--encre-70); }
.contact__direct a { color: var(--encre); font-weight: 600; text-underline-offset: 3px; }

/* Bulles de chat (formulaire envoyé, FAQ) */
.bubble { display: inline-block; max-width: 100%; padding: 12px 18px; border-radius: 22px; font-weight: 500; line-height: 1.45; }
.bubble--out { background: var(--pervenche-vif); color: var(--blanc); border-bottom-right-radius: 8px; }
.bubble--in { background: var(--blanc); color: var(--encre); border-bottom-left-radius: 8px; box-shadow: var(--shadow-chip); }
.form__done .bubble { animation: pop 520ms var(--ease) both; font-weight: 600; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.92); filter: blur(4px); } }

/* ---------- Pages du menu ---------- */
.page-head { padding: 160px 0 clamp(24px, 4vw, 48px); }
.page-head .display { font-size: clamp(2.6rem, 6.4vw, 5.2rem); max-width: 15ch; }
.block { padding: clamp(40px, 6vw, 72px) 0; }
.block:last-child { padding-bottom: var(--section); }
.block + .block { padding-top: clamp(56px, 8vw, 96px); }

.card { background: rgba(255, 255, 255, .8); border: 1px solid rgba(255,255,255,.9); border-radius: 24px; box-shadow: var(--shadow-card); }
.cards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 18px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards .card { padding: 26px; }
.cards h3 { margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.2; }
.cards p { margin-top: 6px; color: var(--encre-70); }
.ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--pervenche-voile); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--pervenche-vif); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico .fill { fill: var(--pervenche-vif); stroke: none; }
@media (max-width: 860px) { .cards--3 { grid-template-columns: 1fr; } }

.trust { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.trust__col { padding: clamp(24px, 3.4vw, 36px); border-radius: 24px; background: rgba(255,255,255,.8); box-shadow: var(--shadow-card); }
.trust__col--no { background: transparent; box-shadow: none; border: 1.5px dashed #CBD1E2; }
.checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; color: var(--encre-70); }
.checks li::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--pervenche) center / 13px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.checks--no li::before { background: var(--blanc) center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2399AEED' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); box-shadow: var(--shadow-chip); }
.checks strong { color: var(--encre); }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }

/* Comment ça marche : frise qui se remplit au défilement */
.timeline { list-style: none; position: relative; margin: 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 44px); max-width: 760px; }
.timeline__track { position: absolute; left: 25px; top: 10px; bottom: 10px; width: 2px; background: var(--trait); border-radius: 2px; overflow: hidden; }
.timeline__track i { display: block; width: 100%; height: 100%; background: var(--pervenche); transform: scaleY(var(--p, 0)); transform-origin: top; }
.step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 22px; align-items: start; }
.step__n {
  position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--blanc); box-shadow: var(--shadow-chip);
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--encre-50);
  transition: background-color 400ms var(--ease), color 400ms var(--ease), transform 500ms var(--ease);
}
.step.is-on .step__n { background: var(--pervenche-vif); color: var(--blanc); transform: scale(1.06); }
.step__body { padding: 14px 22px 18px; border-radius: 20px; background: rgba(255,255,255,.7); box-shadow: var(--shadow-card); }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
.step p { margin-top: 4px; color: var(--encre-70); }
.js .step .step__body { opacity: .35; filter: blur(3px); transform: translateX(10px); transition: opacity 600ms var(--ease), filter 600ms var(--ease), transform 700ms var(--ease); }
.js .step.is-on .step__body { opacity: 1; filter: none; transform: none; }

/* Tarifs */
.compare { margin-top: 36px; padding: clamp(10px, 2vw, 22px); border-radius: 28px; background: rgba(255,255,255,.8); box-shadow: var(--shadow-card); border: 1px solid rgba(255,255,255,.9); }
.compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; }
.compare__table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 6px; table-layout: fixed; font-size: .95rem; }
.compare__table th, .compare__table td { padding: 14px 10px; border-radius: 12px; text-align: center; vertical-align: middle; line-height: 1.3; }
.compare__head { width: 30%; text-align: left !important; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; padding-left: 6px !important; }
.tab { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; padding: 18px 10px !important; border-radius: 16px !important; }
.tab--1 { background: var(--pervenche-voile); }
.tab--2 { background: var(--pervenche); color: var(--blanc); }
.tab--3 { background: var(--pervenche-vif); color: var(--blanc); }
.compare__table tbody th { text-align: left; font-weight: 600; background: var(--fond-clair); }
.compare__table tbody td { background: var(--fond-clair); transition: background-color 200ms ease; }
.compare__table[data-hl="1"] td[data-col="1"], .compare__table[data-hl="2"] td[data-col="2"], .compare__table[data-hl="3"] td[data-col="3"] { background: var(--pervenche-voile); }
.row-price td, .row-price th { background: var(--blanc) !important; }
.price { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--encre); color: var(--blanc); font-weight: 700; }
.price small { font-weight: 500; opacity: .75; }
.yes, .no { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: -6px; margin-right: 4px; background-repeat: no-repeat; background-position: center; }
.yes { background-color: var(--pervenche); background-size: 12px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.no { margin: 0; background-size: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B7BAC6' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
@media (max-width: 700px) {
  .compare__table { min-width: 560px; font-size: .86rem; border-spacing: 4px; }
  .compare__head { width: 120px; font-size: 1.1rem; }
  .compare__table tbody th, .compare__head { position: sticky; left: 0; z-index: 1; box-shadow: -6px 0 0 #fff; }
  .compare__head { background: #fff; }
}
.carte { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.carte__col { padding: clamp(22px, 3vw, 32px); }
.carte__list { margin: 12px 0 0; }
.carte__list div { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1.5px dashed var(--trait); }
.carte__list div:last-child { border-bottom: 0; }
.carte__list dt { flex: 1; color: var(--encre-70); }
.carte__list dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
@media (max-width: 760px) { .carte { grid-template-columns: 1fr; } }

/* FAQ en conversation */
.chat { display: grid; gap: 14px; }
.qa summary { list-style: none; display: flex; justify-content: flex-end; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .bubble { position: relative; padding-right: 48px; font-size: 1.02rem; transition: background-color 200ms ease, transform var(--t-quick) var(--ease); }
.qa summary .bubble::after { content: ""; position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); transition: transform var(--t-std) var(--ease); }
.qa[open] summary .bubble::after { transform: rotate(45deg); }
.qa summary:active .bubble { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .qa summary:hover .bubble { background: #99AEED; } }
.qa__a { padding: 12px 0 6px; display: flex; }
.qa__a .bubble { max-width: 640px; color: var(--encre-70); font-weight: 400; }
.qa[open] .qa__a .bubble { animation: pop 480ms var(--ease) both; transform-origin: left bottom; }

/* ---------- Pied de page ---------- */
.footer { padding: 40px 0 44px; border-top: 1px solid rgba(120, 130, 170, .16); }
.footer__grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__brand img { width: 150px; height: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; }
.footer__links a { color: var(--encre-70); text-underline-offset: 3px; }

/* ---------- Mentions légales ---------- */
.legal { padding: 150px 0 var(--section); }
.legal .wrap { max-width: 780px; }
.legal h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; }
.legal h2 { margin-top: 44px; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.legal p, .legal ul { margin-top: 12px; color: var(--encre-70); }
.legal ul { padding-left: 1.2em; }
.legal .todo { background: #FFF1B8; color: var(--encre); padding: 0 4px; border-radius: 4px; }
.legal__back { display: inline-block; margin-bottom: 28px; font-weight: 600; }

/* ---------- Mouvement réduit : tout est visible, rien ne bouge ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0ms !important; transition-delay: 0ms !important; }
  .js [data-words] .w, .js [data-reveal], .js .step .step__body { opacity: 1 !important; filter: none !important; transform: none !important; color: inherit !important; }
  .js [data-words] .acc .w { color: var(--pervenche-vif) !important; }
  .hl { background-size: 100% 88%; }
  .timeline__track i { transform: none; }
  .step .step__n { background: var(--pervenche-vif); color: var(--blanc); }
}

/* ---------- Réalisations : un lecteur + sélecteur de projet ---------- */
.switch {
  position: relative; display: inline-flex; gap: 0; margin-top: clamp(28px, 4vw, 40px);
  padding: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow-chip);
}
.switch__pill {
  position: absolute; top: 5px; bottom: 5px; left: 0;
  width: var(--pw, 0px); transform: translateX(var(--px, 5px));
  border-radius: 999px; background: var(--pervenche-vif);
  box-shadow: 0 8px 18px -8px rgba(153, 174, 237, .9);
  transition: transform 420ms var(--ease-move), width 420ms var(--ease-move);
}
.switch:not(.is-ready) .switch__pill { transition: none; }
.switch__btn {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: .98rem; color: var(--encre-70);
  transition: color 260ms ease, transform var(--t-quick) var(--ease);
}
.switch__btn[aria-pressed="true"] { color: var(--blanc); }
.switch__btn:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .switch__btn[aria-pressed="false"]:hover { color: var(--encre); } }
.works__stage { margin-top: clamp(28px, 4vw, 44px); display: flex; justify-content: center; perspective: 1400px; }
.works__stage .phone { margin-top: 0; }
.works__stage .phone__screen { --tilt: 0deg; }
/* Changement de vidéo : fondu + léger flou (évite la coupure sèche) */
.phone__video { transition: opacity 200ms ease, filter 200ms ease, transform 260ms var(--ease); }
.phone__screen.is-swapping .phone__video { opacity: 0; filter: blur(6px); transform: scale(.97); }

/* ---------- Tarifs : pastille de sélection + une formule à la fois ---------- */
.block--center { text-align: center; }
.block--center .lead { margin-inline: auto; }
.switch-wrap { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 40px); max-width: 100%; }
.switch--tabs { margin-top: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.switch--tabs::-webkit-scrollbar { display: none; }
.switch--tabs .switch__btn { white-space: nowrap; flex: none; }
.plans { display: grid; justify-items: center; margin-top: clamp(24px, 3.5vw, 36px); text-align: left; }
.plan { grid-area: 1 / 1; width: min(100%, 560px); }
.plan[hidden] { display: none; }
.plan.card { padding: clamp(24px, 3.4vw, 36px); }
.plan--unit { width: 100%; max-width: 980px; }
.plan--unit .carte { margin-top: 0; }
.plan { transition: opacity 260ms var(--ease), filter 260ms var(--ease), transform 340ms var(--ease); }
.plan.is-leaving { opacity: 0; filter: blur(6px); transform: translateX(calc(var(--dir, 1) * -16px)) scale(.985); transition-duration: 160ms; }
.plan.is-entering { opacity: 0; filter: blur(6px); transform: translateX(calc(var(--dir, 1) * 24px)); transition: none; }
.plan__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1.5px dashed var(--trait); }
.plan__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.03em; line-height: 1.05; }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.2rem); letter-spacing: -0.04em; line-height: 1; color: var(--pervenche-vif); }
.plan__per { color: var(--encre-50); font-weight: 600; }
.plan__feats { list-style: none; margin: 8px 0 0; padding: 0; }
.feat { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--trait); }
.feat:last-child { border-bottom: 0; }
.feat__label { color: var(--encre-70); }
.feat__val { font-weight: 700; text-align: right; }
.feat--no .feat__label { color: var(--encre-50); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 560px) {
  .switch--tabs { justify-content: flex-start; }
  .switch-wrap { justify-content: flex-start; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
}
.switch__btn[aria-selected="true"] { color: var(--blanc); }
@media (hover: hover) and (pointer: fine) { .switch__btn[aria-selected="false"]:hover { color: var(--encre); } }
/* Bannières des formules centrées */
.plan__head { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; }
.plan__price { justify-content: center; }

/* ---------- Pervenche Flair #99AEED partout : texte bleu nuit sur les aplats pervenche (lisibilité) ---------- */
:root { --sur-pervenche: #FFFFFF; }
.btn--primary, .switch__btn[aria-pressed="true"], .switch__btn[aria-selected="true"],
.sound-btn[aria-pressed="true"], .send-btn, .step.is-on .step__n, .bubble--out { color: var(--sur-pervenche); }
.btn--primary { font-weight: 700; }
.qa summary .bubble::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.checks--no li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2399AEED' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
/* Survols : on garde la couleur, on joue sur l'ombre et un léger soulèvement */
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover, .send-btn:hover { background: var(--pervenche); box-shadow: 0 14px 28px -10px rgba(153, 174, 237, 1); }
  .btn--primary:hover { transform: translateY(-1px); }
  .qa summary:hover .bubble { background: var(--pervenche); box-shadow: 0 10px 22px -10px rgba(153, 174, 237, 1); }
}
.trust--single { grid-template-columns: minmax(0, 640px); }

/* =========================================================
   En-tête : menu à gauche, logo au centre, « Tester » à droite
   ========================================================= */
.nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 0 12px; padding: 7px; border-radius: 28px;
}
.nav__toggle {
  display: grid; place-content: center; gap: 5px; justify-self: start;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--pervenche-voile);
  transition: background-color 200ms ease, transform var(--t-quick) var(--ease);
}
.nav__toggle:active { transform: scale(.94); }
.nav__toggle span { display: block; width: 17px; height: 2px; background: var(--encre); border-radius: 2px; transition: transform var(--t-std) var(--ease); }
.nav.is-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (hover: hover) and (pointer: fine) { .nav__toggle:hover { background: #D3DCF7; } }
.nav__brand { justify-self: center; display: block; }
.nav__brand img { width: clamp(108px, 12vw, 140px); height: auto; }
.nav__brand > span:last-child { display: inline; }
.nav__cta { justify-self: end; margin: 0 !important; }
.nav__links {
  grid-column: 1 / -1; order: initial;
  display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0 4px;
  max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; font-size: 1.05rem;
  transition: max-height 420ms var(--ease-move), opacity 260ms ease, padding 420ms var(--ease-move), visibility 0s 420ms;
}
.nav.is-open .nav__links { max-height: 340px; opacity: 1; visibility: visible; padding: 10px 4px 6px; transition-delay: 0s; }
.nav__links a { padding: 12px 14px; border-radius: 14px; }
@media (max-width: 520px) {
  .nav__brand img { width: 96px; }
  .nav__cta { font-size: .78rem; padding: 8px 12px; min-height: 38px; }
  .nav__toggle { width: 38px; height: 38px; }
}
.nav__cta { white-space: nowrap; }
@media (max-width: 380px) { .nav__brand img { width: 84px; } .nav__cta { padding: 8px 10px; } }
/* Logo carré Flair au centre du menu */
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.nav__brand .tile--sm img { width: 12px; }
@media (max-width: 520px) { .nav__name { display: none; } }
@media (max-width: 400px) { .nav .nav__brand > .nav__name { display: none; } }
/* Menu + logo carré à gauche, logo flair.motion au centre */
.nav__left { justify-self: start; display: flex; align-items: center; gap: 10px; }
.nav__left .nav__toggle { justify-self: auto; }
.nav__tile { display: block; border-radius: 9px; }
.nav__tile .tile--sm { width: 38px; height: 38px; border-radius: 11px; }
.nav__tile .tile--sm img { width: 15px; }
.nav__brand img { width: clamp(104px, 11vw, 132px); height: auto; }
@media (max-width: 400px) {
  .nav__left { gap: 6px; }
  .nav__tile .tile--sm { width: 34px; height: 34px; }
  .nav__brand img { width: 78px; }
}
@media (max-width: 400px) { .nav .nav__brand { visibility: hidden; } }
/* Menu à gauche, « Tester ma 1re vidéo » au centre, logo carré à droite */
.nav > .nav__toggle { justify-self: start; }
.nav > .nav__cta { justify-self: center; }
.nav > .nav__tile { justify-self: end; margin-right: 1px; }
@media (max-width: 400px) { .nav > .nav__cta { font-size: .8rem; } }

/* =========================================================
   Accueil : tapis roulant — les mots entrent en gris,
   passent derrière la tuile « f. » et ressortent en vidéos
   ========================================================= */
.belt {
  position: relative; width: min(100%, 960px); height: 132px;
  margin-top: clamp(36px, 6vw, 64px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.belt__lane { position: absolute; inset: 0; display: flex; align-items: center; overflow: hidden; }
/* même contenu, même position : seule la moitié visible change */
.belt__lane--raw { clip-path: inset(0 50% 0 0); }
.belt__lane--done { clip-path: inset(0 0 0 50%); }
.belt__track { display: flex; width: max-content; animation: belt 26s linear infinite; will-change: transform; }
.belt.is-paused .belt__track { animation-play-state: paused; }
@keyframes belt { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.belt__set { display: flex; gap: 18px; padding-right: 18px; }
.belt__chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px 10px 12px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; white-space: nowrap;
}
.belt__ico { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: none; }
.belt__ico svg { width: 12px; height: 12px; fill: currentColor; }
/* avant : texte brut, gris, en pointillés */
.belt__chip--raw { color: var(--gris-mot); border: 1.5px dashed #CBD1E2; background: rgba(255,255,255,.35); }
.belt__chip--raw .belt__ico::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #CBD1E2; }
/* après : pastille vidéo pervenche */
.belt__chip--done { color: var(--blanc); background: var(--pervenche); border: 1.5px solid var(--pervenche); box-shadow: 0 10px 22px -12px rgba(153, 174, 237, 1); }
.belt__chip--done .belt__ico { background: rgba(255,255,255,.28); color: var(--blanc); }
/* la tuile, au centre, cache la jonction */
.belt__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; box-shadow: 0 0 0 10px var(--fond), 0 18px 40px -12px rgba(153, 174, 237, .9); }
.belt__glow { position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(153, 174, 237, .35), transparent 65%); z-index: 1; pointer-events: none; }
.js .belt { animation: enter 900ms var(--ease) 500ms both; }
.js .belt__core { animation: core-in 900ms var(--ease) 650ms both, breathe 4s ease-in-out 1.6s infinite; }
@media (max-width: 560px) {
  .belt { height: 112px; }
  .belt__chip { font-size: .88rem; padding: 8px 14px 8px 10px; }
  .belt__set { gap: 12px; padding-right: 12px; }
}
@media (prefers-reduced-motion: reduce) { .belt__track { animation: none; transform: translateX(-12%); } }
/* Retrait de l'anneau clair et du halo autour de la tuile du tapis */
.belt__core { box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 12px 30px -10px rgba(153, 174, 237, .75); }
.belt__glow { display: none; }

/* En-tête : menu à gauche, logo carré au centre, CTA à droite */
.nav > .nav__tile { justify-self: center; margin-right: 0; }
.nav > .nav__cta { justify-self: end; }
