/* ═══════════════════════════════════════════════════════════════
   Page d'Amour — style global 2.0 (landing, onboarding, comptes, tableau de bord)
   Moderne : dégradés lumineux, verre dépoli, Fraunces + Manrope + Caveat.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --ink: #1c1430;
  --ink-soft: #5f5578;
  --bg: #f7f5fc;
  --card: #ffffff;
  --night: #0c0913;
  --rose: #ff4f87;
  --violet: #8b5cf6;
  --ambre: #ffb45c;
  --grad: linear-gradient(120deg, var(--rose), var(--violet));
  --display: 'Fraunces', Georgia, serif;
  --script: 'Caveat', cursive;
  --sans: 'Manrope', 'Helvetica Neue', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
body.landing { background: var(--night); color: #f4f0fa; }

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

h1, h2, h3 { font-family: var(--display); font-weight: 560; line-height: 1.1; letter-spacing: -.01em; }
a { color: var(--rose); }
em { font-style: italic; }

::selection { background: rgba(255, 79, 135, .35); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
.btn:active { transform: translateY(0) scale(.98); }

/* Animation d'entrée du héros */
.rise { opacity: 0; animation: rise-in .7s ease forwards; animation-delay: calc(var(--rise, 0) * .12s); }
@keyframes rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; }
  .hero-blob, .marquee-track, .demo-wheel { animation: none !important; }
}

/* ── Boutons ── */
.btn {
  display: inline-block;
  font-family: var(--sans); font-weight: 700; font-size: .98rem;
  padding: .9rem 2.1rem; border-radius: 999px; border: none;
  cursor: pointer; text-decoration: none; letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background .18s ease;
}
.btn-small { padding: .55rem 1.3rem; font-size: .88rem; }
.btn-seal {
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 32px -10px rgba(255, 79, 135, .65);
}
.btn-seal:hover { transform: translateY(-2px); filter: brightness(1.07); }
.btn-ghost {
  background: rgba(255,255,255,.06); color: #f4f0fa;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-ghost-dark { background: transparent; color: var(--ink); border: 1.5px solid rgba(28,20,48,.3); }
.btn-ghost-dark:hover { background: rgba(28,20,48,.05); }

/* ── Navigation : marque · menu centré · actions ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding: .9rem clamp(1rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28,20,48,.06);
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.nav-center { display: flex; justify-content: center; gap: 2rem; }
.nav-center a {
  position: relative;
  color: inherit; text-decoration: none;
  font-size: .9rem; font-weight: 600; opacity: .8;
  padding: .3rem 0;
  transition: opacity .15s ease;
}
.nav-center a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  border-radius: 2px; background: var(--grad);
  transition: right .22s ease;
}
.nav-center a:hover { opacity: 1; }
.nav-center a:hover::after { right: 0; }
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  box-shadow: 0 10px 30px -18px rgba(28, 20, 48, .35);
  padding-top: .55rem; padding-bottom: .55rem;
}
/* Sur la landing, le header flotte en transparence sur le héros à l'arrivée,
   puis se transforme en barre de verre sombre au défilement */
.landing .nav {
  position: fixed; left: 0; right: 0; top: 0;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}
.landing .nav.is-scrolled {
  background: rgba(12, 9, 19, .82);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255,255,255,.07);
  box-shadow: 0 10px 34px -16px rgba(0, 0, 0, .8);
}
body.landing .hero { padding-top: calc(clamp(5rem, 12vh, 8rem) + 2rem); }

.nav-brand {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none; color: inherit;
  justify-self: start;
}
.nav .nav-links { justify-self: end; }
.logo-heart {
  width: 28px; height: auto; flex-shrink: 0; display: inline-block;
  transform: rotate(-7deg); /* la même inclinaison que l'italique du nom */
  transition: transform .25s ease;
}
.nav-brand:hover .logo-heart { transform: rotate(-7deg) scale(1.1); }
.logo-heart-footer { width: 22px; vertical-align: -5px; margin-right: .15rem; }
.nav-wordmark {
  font-family: var(--display); font-size: 1.34rem; font-weight: 580;
  letter-spacing: -.01em; line-height: 1; white-space: nowrap;
}
.nav-wordmark em, .footer-brand-line em {
  font-style: italic; font-weight: 520;
  padding-right: .06em; /* l'italique de Fraunces déborde sinon */
}
.brand-moon {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; gap: 1.3rem; align-items: center; }
.nav-links a:not(.btn) {
  position: relative;
  color: inherit; text-decoration: none; font-size: .93rem; font-weight: 600; opacity: .85;
}
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px;
  border-radius: 2px; background: var(--grad);
  transition: right .22s ease;
}
.nav-links a:not(.btn):hover { opacity: 1; }
.nav-links a:not(.btn):hover::after { right: 0; }

/* ── Héros ── */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(5rem, 12vh, 8rem) 1.5rem 6rem;
  text-align: center; color: #f4f0fa;
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(100px); z-index: -1;
  animation: drift 18s ease-in-out infinite alternate;
}
.blob-rose   { width: 52vmax; height: 52vmax; background: rgba(255, 79, 135, .5); top: -20vmax; left: -14vmax; }
.blob-violet { width: 46vmax; height: 46vmax; background: rgba(139, 92, 246, .45); top: -8vmax; right: -16vmax; animation-delay: -6s; }
.blob-ambre  { width: 34vmax; height: 34vmax; background: rgba(255, 180, 92, .22); bottom: -18vmax; left: 30%; animation-delay: -12s; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(5vmax, 3vmax) scale(1.14); } }

/* Étoiles discrètes dans la nuit du héros — renforce le thème existant */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 28%, rgba(255,255,255,.9), transparent),
    radial-gradient(1.5px 1.5px at 27% 64%, rgba(255,214,160,.8), transparent),
    radial-gradient(1px 1px at 44% 14%, rgba(255,255,255,.8), transparent),
    radial-gradient(1.5px 1.5px at 62% 48%, rgba(255,255,255,.85), transparent),
    radial-gradient(1px 1px at 76% 22%, rgba(255,214,160,.75), transparent),
    radial-gradient(1px 1px at 89% 58%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 8% 78%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 53% 82%, rgba(255,255,255,.75), transparent);
  background-size: 560px 560px;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .35; } to { opacity: .9; } }

.hero-inner { position: relative; max-width: 860px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .06em;
  padding: .5em 1.2em; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px); margin-bottom: 1.6rem;
}
.hero-eyebrow b { color: var(--ambre); }
.hero h1 {
  font-size: clamp(2.8rem, 7.5vw, 5.4rem); font-weight: 620;
  margin-bottom: 1.4rem; letter-spacing: -.02em;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--rose), var(--ambre));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 1.1rem; color: rgba(244,240,250,.75); max-width: 640px; margin: 0 auto 2.4rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 1.3rem; font-size: .85rem; color: rgba(244,240,250,.5); }

/* Aperçu flottant sous le héros */
.hero-preview { position: relative; max-width: 900px; margin: 4rem auto 0; display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }
.hp-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px; backdrop-filter: blur(12px);
  padding: 1.4rem 1.6rem; text-align: left; width: 250px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.8);
  transition: transform .25s ease;
}
.hp-card:hover { transform: translateY(-8px) rotate(0) !important; }
.hp-card.tilt-l { transform: rotate(-3deg) translateY(10px); }
.hp-card.tilt-r { transform: rotate(2.5deg) translateY(16px); }
.hp-num {
  font-family: var(--display); font-weight: 640; font-size: 2.3rem; line-height: 1.1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hp-label { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(244,240,250,.55); }
.hp-line { font-size: .9rem; color: rgba(244,240,250,.85); margin-top: .5rem; }
.hp-emoji { font-size: 2rem; }

/* Bandeau défilant */
.marquee { overflow: hidden; border-block: 1px solid rgba(255,255,255,.08); padding: .9rem 0; white-space: nowrap; }
.marquee-track { display: inline-block; animation: marquee 30s linear infinite; }
.marquee span {
  font-family: var(--display); font-style: italic; font-size: 1.05rem;
  color: rgba(244,240,250,.55); margin: 0 1.4rem;
}
.marquee b { color: var(--ambre); font-weight: 500; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Sections ── */
.section { padding: 5.5rem clamp(1.2rem, 5vw, 4rem); text-align: center; position: relative; }
.section-script {
  font-family: var(--script); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600;
  background: linear-gradient(120deg, var(--rose), var(--ambre));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .4rem;
}
.section-title { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-bottom: 2.6rem; }
.section-title em {
  background: linear-gradient(120deg, var(--rose), var(--ambre));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Étapes : parcours en trois temps, numéros géants en filigrane */
.steps-flow {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem;
  max-width: 1080px; margin: 0 auto; text-align: left;
}
.steps-flow::before {
  content: ''; position: absolute; top: 42px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg,
    rgba(255,79,135,.55) 0 10px, transparent 10px 22px);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.step-node { position: relative; padding-top: 4.6rem; }
.step-ghost {
  position: absolute; top: -1.4rem; left: -.6rem; z-index: 0;
  font-family: var(--display); font-style: italic; font-weight: 640;
  font-size: 7.5rem; line-height: 1; pointer-events: none;
  background: linear-gradient(150deg, rgba(255,79,135,.34), rgba(139,92,246,.1) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step-node h3 { position: relative; font-size: 1.35rem; margin-bottom: .5rem; }
.step-node p { position: relative; color: rgba(244,240,250,.65); font-size: .95rem; }

/* Mini-scènes vitrées au-dessus de chaque étape */
.step-chip {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: .5rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px; backdrop-filter: blur(10px);
  padding: 1.1rem 1.2rem; margin-bottom: 1.4rem;
  box-shadow: 0 24px 50px -30px rgba(0,0,0,.9);
  min-height: 118px; justify-content: center;
}
.step-chip-label { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(244,240,250,.5); }
.step-chip-field {
  display: flex; align-items: center;
  font-family: var(--display); font-size: 1.25rem; color: #fff;
  border-bottom: 2px solid rgba(255,79,135,.6); padding-bottom: .35rem;
}
.step-caret { width: 2px; height: 1.2em; margin-left: 3px; background: var(--rose); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.step-chip-page { align-items: flex-start; }
.step-mini-hero { width: 100%; height: 34px; border-radius: 10px; background: var(--grad); opacity: .8; }
.step-mini-line { height: 8px; border-radius: 6px; background: rgba(244,240,250,.25); }
.step-mini-line.w-70 { width: 70%; }
.step-mini-line.w-45 { width: 45%; }
.step-chip-badge {
  position: absolute; top: -11px; right: 14px;
  font-size: .68rem; font-weight: 800; letter-spacing: .06em;
  background: var(--grad); color: #fff;
  border-radius: 999px; padding: .3em .9em;
  box-shadow: 0 8px 18px -8px rgba(255,79,135,.8);
}
.step-chip-link {
  font-family: var(--sans); font-weight: 600; font-size: .95rem; color: #fff;
  background: rgba(12,9,19,.55); border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px; padding: .55rem 1rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.step-chip-send {
  align-self: flex-end;
  font-size: .85rem; font-weight: 800; color: #fff;
  background: var(--grad); border-radius: 999px; padding: .4em 1.2em;
  box-shadow: 0 8px 18px -8px rgba(255,79,135,.8);
}

/* ── Page exemple : iPhone + argumentaire ── */
.example-wrap {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(2rem, 6vw, 4.5rem); flex-wrap: wrap;
  max-width: 1040px; margin: 0 auto;
}
.phone-frame {
  position: relative; flex-shrink: 0;
  width: 312px; height: 640px;
  border-radius: 44px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  background: #000;
  box-shadow:
    0 0 0 10px rgba(255,255,255,.06),
    0 0 0 11px rgba(255,255,255,.12),
    0 50px 100px -40px rgba(0,0,0,.95),
    0 30px 80px -30px rgba(255,79,135,.25);
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 22px; border-radius: 999px;
  background: #000; z-index: 2;
  border: 1px solid rgba(255,255,255,.1);
}
.phone-frame iframe {
  width: 375px; height: 770px; border: 0;
  transform: scale(.832); transform-origin: top left;
  background: #0c0913;
}
.example-copy { max-width: 420px; text-align: left; }
.example-copy h3 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: .8rem; }
.example-copy > p { color: rgba(244,240,250,.72); font-size: .98rem; margin-bottom: 1.2rem; }
.example-list { list-style: none; margin-bottom: 1.6rem; }
.example-list li {
  position: relative; padding: .4rem 0 .4rem 1.7rem;
  color: rgba(244,240,250,.85); font-size: .95rem;
}
.example-list li::before {
  content: '♥'; position: absolute; left: 0; top: .35rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.example-copy .hero-note { margin-top: .9rem; text-align: left; }

/* ── Vitrine WhatsApp ── */
.wa-wrap {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1.4rem, 4vw, 3rem); flex-wrap: wrap;
  max-width: 1060px; margin: 0 auto;
}
.wa-chat {
  width: min(360px, 100%);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px; backdrop-filter: blur(10px);
  padding: 1.1rem 1.1rem 1.3rem; text-align: left;
  box-shadow: 0 30px 70px -35px rgba(0,0,0,.9);
}
.wa-chat-head {
  display: flex; align-items: center; gap: .7rem;
  padding: 0 .3rem .9rem; margin-bottom: .9rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.wa-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  font-family: var(--display); font-weight: 640;
}
.wa-chat-name { font-weight: 700; color: #fff; }
.wa-chat-name small { display: block; font-size: .72rem; font-weight: 600; color: rgba(244,240,250,.5); }
.wa-bubble { display: flex; flex-direction: column; max-width: 78%; margin-bottom: .55rem; }
.wa-bubble p {
  padding: .55rem .95rem; border-radius: 16px;
  font-size: .92rem; line-height: 1.45; color: #fff;
}
.wa-bubble span { font-size: .66rem; color: rgba(244,240,250,.4); margin-top: .2rem; }
.wa-bubble.left p { background: rgba(255,255,255,.1); border-bottom-left-radius: 4px; }
.wa-bubble.left span { margin-left: .4rem; }
.wa-bubble.right { margin-left: auto; align-items: flex-end; }
.wa-bubble.right p { background: var(--grad); border-bottom-right-radius: 4px; }
.wa-bubble.right span { margin-right: .4rem; }
.wa-export {
  margin-top: 1rem; padding: .6rem .9rem;
  border: 1.5px dashed rgba(255,180,92,.5); border-radius: 12px;
  font-size: .8rem; color: rgba(244,240,250,.7); text-align: center;
}
.wa-export b { color: var(--ambre); }
.wa-arrow {
  font-size: 2.2rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wa-results { width: min(420px, 100%); text-align: left; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.wa-stat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px; padding: 1rem 1.1rem;
}
.wa-stat b {
  display: block; font-family: var(--display); font-weight: 640; font-size: 1.7rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wa-stat span { font-size: .78rem; color: rgba(244,240,250,.6); }
.wa-emojis { grid-column: 1 / -1; font-size: 1.5rem; letter-spacing: .35em; text-align: center; padding: .2rem 0; }
.wa-privacy {
  grid-column: 1 / -1;
  font-size: .84rem; color: rgba(244,240,250,.65);
  border-left: 3px solid; border-image: var(--grad) 1;
  padding-left: .9rem;
}
.wa-privacy b { color: #fff; }
.wa-results .btn { grid-column: 1 / -1; justify-self: start; }

/* Bento des fonctionnalités */
.bento {
  display: grid; gap: 1.1rem; max-width: 1100px; margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.bento-card {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px; backdrop-filter: blur(10px);
  padding: 1.7rem; text-align: left;
  transition: transform .2s ease, border-color .2s ease;
}
.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 79, 135, .45);
  box-shadow: 0 24px 50px -28px rgba(255, 79, 135, .35);
}
.bento-card h3 { font-size: 1.22rem; margin: .9rem 0 .45rem; color: #fff; }
.bento-card p { font-size: .92rem; color: rgba(244,240,250,.62); }
.bento-demo {
  border-radius: 16px; min-height: 116px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
  background: rgba(12,9,19,.55); border: 1px solid rgba(255,255,255,.08);
  padding: 1rem; overflow: hidden; position: relative;
}
.demo-big {
  font-family: var(--display); font-weight: 640; font-size: 2.4rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.demo-label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(244,240,250,.5); }
.demo-moon-emoji { font-size: 2.8rem; filter: drop-shadow(0 0 20px rgba(255,214,150,.6)); }
.demo-stat { font-size: .9rem; color: rgba(244,240,250,.85); }
.demo-stat b { color: var(--ambre); }
.demo-chat { align-items: flex-start; gap: .45rem; }
.demo-play {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(255,79,135,.8);
}
.demo-play::after { content: ''; margin-left: 4px; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.demo-wheel {
  width: 92px; height: 92px; border-radius: 50%;
  background: conic-gradient(var(--rose) 0 45deg, var(--violet) 45deg 90deg, var(--ambre) 90deg 135deg, var(--rose) 135deg 180deg, var(--violet) 180deg 225deg, var(--ambre) 225deg 270deg, var(--rose) 270deg 315deg, var(--violet) 315deg 360deg);
  border: 4px solid rgba(255,255,255,.85);
  animation: spin-slow 14s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.demo-polaroid {
  width: 66px; height: 80px; background: #fff; border-radius: 8px;
  display: grid; place-items: center; font-size: 1.5rem;
  box-shadow: 0 10px 22px rgba(0,0,0,.4); position: absolute;
}
.demo-polaroid.r-left { transform: rotate(-8deg); left: 28%; }
.demo-polaroid.r-right { transform: rotate(7deg); right: 28%; }
.tag-premium {
  display: inline-block; vertical-align: 2px;
  font-size: .6rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: #1c1430; background: linear-gradient(120deg, #ffd08a, var(--ambre));
  border-radius: 999px; padding: .2em .7em; margin-left: .5em;
}

/* Occasions & palettes */
.occasion-row { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; max-width: 860px; margin: 0 auto 2.6rem; }
.occasion-chip {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .75rem 1.5rem; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  color: #f4f0fa; text-decoration: none; font-size: .95rem; font-weight: 600;
  backdrop-filter: blur(8px);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.occasion-chip:hover { transform: translateY(-3px); border-color: var(--rose); background: rgba(255,79,135,.12); }
.occ-emoji { font-size: 1.15rem; }
.palette-row { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.palette-dot-group { display: flex; align-items: center; gap: .3rem; }
.palette-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); }
.palette-name { font-size: .85rem; color: rgba(244,240,250,.6); margin-left: .35rem; }

/* Prix */
.pricing { display: flex; flex-wrap: wrap; gap: 1.6rem; justify-content: center; align-items: stretch; }
.price-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 28px; backdrop-filter: blur(10px);
  padding: 2.5rem 2.3rem; width: min(370px, 100%);
  text-align: left; position: relative;
}
.price-card-star {
  border: 1.5px solid transparent;
  background:
    linear-gradient(rgba(20,14,30,.92), rgba(20,14,30,.92)) padding-box,
    linear-gradient(120deg, var(--rose), var(--violet), var(--ambre)) border-box;
  box-shadow: 0 30px 70px -28px rgba(255,79,135,.5);
}
.price-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: .35em 1.2em; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 1.45rem; margin-bottom: .3rem; color: #fff; }
.price {
  font-family: var(--display); font-weight: 640; font-size: 2.7rem; margin-bottom: 1.2rem;
  background: linear-gradient(120deg, var(--rose), var(--ambre));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-once { font-family: var(--sans); font-size: .85rem; font-weight: 600; color: rgba(244,240,250,.55); -webkit-text-fill-color: rgba(244,240,250,.55); }
.price-card ul { list-style: none; margin-bottom: 1.8rem; }
.price-card li { padding: .34rem 0; font-size: .94rem; color: rgba(244,240,250,.85); }
.price-card li.muted { color: rgba(244,240,250,.45); font-style: italic; }
.price-card .btn { width: 100%; text-align: center; }

/* CTA final */
.section-cta { padding-bottom: 6rem; }
.cta-card {
  position: relative; overflow: hidden; isolation: isolate;
  max-width: 780px; margin: 0 auto;
  border-radius: 32px; padding: 4.2rem 2rem;
  background: linear-gradient(135deg, rgba(255,79,135,.16), rgba(139,92,246,.16));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}
.cta-card h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 1.8rem; color: #fff; }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; text-align: left; display: grid; gap: .8rem; }
.faq-item {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; backdrop-filter: blur(8px);
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: rgba(255,79,135,.45); }
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 1.1rem 3rem 1.1rem 1.4rem;
  font-family: var(--display); font-size: 1.12rem; font-weight: 560; color: #fff;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 400; font-size: 1.5rem; color: var(--rose);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 1.4rem 1.2rem; font-size: .95rem; color: rgba(244,240,250,.72); }

/* ── Pied de page ── */
.footer { text-align: center; padding: 3.5rem 1.5rem; border-top: 1px solid rgba(255,255,255,.07); color: rgba(244,240,250,.65); }
body:not(.landing) .footer { background: var(--night); }
.footer-brand-line { font-family: var(--display); font-size: 1.05rem; color: rgba(244,240,250,.85); }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; justify-content: center; margin: 1.2rem 0 .4rem; }
.footer-links a { color: rgba(244,240,250,.6); text-decoration: none; font-size: .88rem; font-weight: 600; }
.footer-links a:hover { color: var(--ambre); }
.footer-orn {
  background: linear-gradient(120deg, var(--rose), var(--ambre));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: .5em; margin-bottom: 1rem;
}
.footer-small { font-size: .82rem; margin-top: .5rem; color: rgba(244,240,250,.4); }
.footer-small a { color: var(--ambre); }

/* ═══════════ Onboarding & pages applicatives (fond clair) ═══════════ */
.ob-wrap { min-height: calc(100vh - 70px); display: flex; align-items: center; justify-content: center; padding: 3rem 1.2rem 4rem; }
.ob-card {
  width: min(660px, 100%);
  background: var(--card);
  border: 1px solid rgba(28,20,48,.07);
  border-radius: 28px;
  box-shadow: 0 30px 80px -30px rgba(76, 46, 130, .35);
  padding: 3rem clamp(1.4rem, 5vw, 3rem);
  position: relative; text-align: center;
}
.ob-stepline { font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .6rem; }
.ob-progress { height: 6px; background: rgba(28,20,48,.07); border-radius: 6px; margin-bottom: 2.4rem; overflow: hidden; }
.ob-progress-bar { height: 100%; width: 12%; background: var(--grad); border-radius: 6px; transition: width .35s ease; }
.ob-step h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin-bottom: 1.3rem; }
.ob-hint { font-size: .92rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.ob-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: .9rem; }
.ob-choice {
  display: flex; align-items: center; gap: .8rem;
  background: var(--bg); border: 2px solid transparent;
  border-radius: 18px; padding: 1.05rem 1.2rem;
  font-family: var(--sans); font-weight: 600; font-size: .98rem; color: var(--ink);
  cursor: pointer; transition: border-color .15s, transform .15s, box-shadow .15s;
  text-align: left;
}
.ob-choice:hover { border-color: var(--rose); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(255,79,135,.45); }
.ob-choice.is-selected { border-color: var(--rose); background: #fff0f5; box-shadow: 0 14px 30px -14px rgba(255,79,135,.45); }
.ob-choice.is-selected::after { content: '✓'; margin-left: auto; color: var(--rose); font-weight: 800; }
.palette-preview { display: flex; }
.palette-preview span { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; margin-left: -7px; }
.palette-preview span:first-child { margin-left: 0; }
.ob-label { display: block; text-align: left; margin-bottom: 1.1rem; font-size: .88rem; font-weight: 700; color: var(--ink-soft); }
.ob-input {
  display: block; width: 100%; margin-top: .4rem;
  font-family: var(--sans); font-weight: 500; font-size: 1.05rem; color: var(--ink);
  background: var(--bg); border: 2px solid transparent; border-radius: 14px;
  padding: .8rem 1.1rem; outline: none; transition: border-color .15s;
}
.ob-input:focus { border-color: var(--violet); }
.ob-input-date { max-width: 280px; margin: 0 auto 1.6rem; text-align: center; }
.ob-next { margin-top: .6rem; }
.ob-skip {
  display: block; margin: 1rem auto 0;
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: .88rem; color: var(--ink-soft);
  text-decoration: underline dotted;
}
.ob-skip:hover { color: var(--rose); }
.ob-back {
  position: absolute; top: 1.2rem; left: 1.4rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: .85rem; color: var(--ink-soft);
}
.ob-back:hover { color: var(--rose); }
.ob-error { color: #d6336c; font-size: .92rem; margin: 0 0 1rem; }
.ob-writing { padding: 2rem 0; }
.ob-writing-moon {
  display: inline-block; font-size: 3rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: pulse 1.6s ease-in-out infinite alternate;
}
@keyframes pulse { from { transform: scale(1); } to { transform: scale(1.18); } }

/* Comptes & divers */
.auth-card { max-width: 450px; }
.auth-card form { text-align: left; margin-top: 1.4rem; }
.auth-card .btn { width: 100%; margin-top: .6rem; }
.auth-switch { margin-top: 1.4rem; font-size: .92rem; color: var(--ink-soft); }
.pay-card { max-width: 540px; }
.pay-emoji { font-size: 3rem; display: block; margin-bottom: .6rem; }

/* Page confidentialité */
.legal { max-width: 680px; margin: 0 auto; padding: 3.4rem 1.4rem 5rem; text-align: center; }
.legal-body { text-align: left; background: var(--card); border: 1px solid rgba(28,20,48,.07); border-radius: 24px; box-shadow: 0 22px 55px -25px rgba(76,46,130,.3); padding: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: 2rem; }
.legal-body h2 { font-size: 1.25rem; margin: 1.4rem 0 .4rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { font-size: .96rem; color: var(--ink-soft); }
.legal-body b { color: var(--ink); }

/* Tableau de bord */
.dash { max-width: 1080px; margin: 0 auto; padding: 3.4rem clamp(1.2rem, 4vw, 2rem) 5rem; text-align: center; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.4rem; text-align: left; }
.dash-card {
  position: relative; overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(28,20,48,.07); border-radius: 24px;
  padding: 1.9rem 1.7rem 1.7rem; box-shadow: 0 22px 55px -25px rgba(76,46,130,.3);
  display: flex; flex-direction: column; gap: .9rem;
  transition: transform .2s ease;
}
.dash-strip { position: absolute; top: 0; left: 0; right: 0; height: 7px; }
.dash-occ { font-size: 1.05rem; margin-right: .15rem; }
.dash-card-badges { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.dash-meta { font-size: .8rem; color: var(--ink-soft); }
.dash-card:hover { transform: translateY(-4px); }
.dash-card h3 { font-size: 1.3rem; }
.dash-card-slug { font-size: .82rem; color: var(--ink-soft); }
.dash-card-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.dash-card-new {
  align-items: center; justify-content: center; text-align: center;
  border: 2px dashed rgba(28,20,48,.18); box-shadow: none;
  text-decoration: none; color: var(--ink-soft);
  min-height: 190px; transition: border-color .15s, color .15s, transform .2s;
}
.dash-card-new:hover { border-color: var(--rose); color: var(--rose); }
.dash-new-plus { font-size: 2.4rem; font-family: var(--display); }
.dash-empty { padding: 4rem 1rem; color: var(--ink-soft); }
.dash-empty-moon {
  font-size: 3rem; display: block; margin-bottom: 1rem;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dash-empty .btn { margin-top: 1.4rem; }
.badge {
  display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .3em 1em; border-radius: 999px;
}
.badge-gold { background: linear-gradient(120deg, #ffd08a, var(--ambre)); color: #3a2405; }
.badge-rose { background: #ffe0eb; color: #c02360; }
.badge-grey { background: rgba(28,20,48,.08); color: var(--ink-soft); }
.ed-inline-form { display: inline; }

/* Les ancres (#fonctionnalites, #prix, #faq) ne passent pas sous la barre collante */
[id] { scroll-margin-top: 86px; }

/* Barre d'action fixe sur mobile — même langage : verre sombre + bouton dégradé */
.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(12, 9, 19, .78);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-cta .btn { display: block; width: 100%; text-align: center; }

@media (max-width: 760px) {
  .nav { grid-template-columns: auto 1fr; }
  .nav-center { display: none; }
}

@media (max-width: 900px) {
  .steps-flow { grid-template-columns: 1fr; gap: 2.6rem; max-width: 480px; }
  .steps-flow::before { display: none; }
  .step-node { padding-top: 3.6rem; }
  .step-ghost { font-size: 6rem; }
  .wa-arrow { transform: rotate(90deg); }
}

@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  .hero { padding-top: 4rem; }
  .phone-frame { width: 280px; height: 574px; border-radius: 40px; }
  .phone-frame iframe { transform: scale(.747); height: 768px; }
  .example-copy { text-align: center; }
  .example-copy .hero-note, .example-list { text-align: left; }
  .wa-results .btn { justify-self: stretch; text-align: center; }
  .hero-actions { max-width: 340px; margin: 0 auto; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-preview { margin-top: 2.6rem; }
  .hp-card { width: 100%; }
  .hp-card.tilt-l, .hp-card.tilt-r { transform: none; }
  .btn { min-height: 48px; }
  .occasion-chip { min-height: 46px; }
  .ob-choice { min-height: 56px; }
  .mobile-cta { display: block; }
  body.landing { padding-bottom: 82px; }
  .price-card { padding: 2.2rem 1.7rem; }
  .faq-item summary { padding-top: 1rem; padding-bottom: 1rem; }
  .dash-card-actions .btn { flex: 1; text-align: center; }
}
