
/* ============================================================
   PREMIUM POLISH — couche visuelle haut de gamme
   (ajoutée pour la refonte landing + polish membre)
   ============================================================ */

/* ---------- Utilitaires ---------- */
.text-center { text-align: center; }
.fine-print { font-size: .82rem; color: var(--muted); }
.note-muted { color: var(--muted); font-size: .85rem; margin-top: 1rem; }
.note-muted.mb { margin-top: 0; margin-bottom: 1.25rem; font-size: .95rem; }
.mt-1 { margin-top: 1rem; }
.mt-075 { margin-top: .75rem; }
.card-link { text-decoration: none; display: block; }
.card-link:hover { text-decoration: none; }
.kicker-red { color: var(--red); }
.kicker-page {
  color: var(--green); text-transform: uppercase; font-size: .75rem;
  letter-spacing: .1em; font-weight: 700;
}
.uppercase-input { text-transform: uppercase; }
.note-cell { white-space: normal !important; max-width: 220px; }
.search-narrow { max-width: 320px; }
.page-title.center { text-align: center; }
.form-card.center { text-align: center; }
.auth-switch { text-align: center; margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.muted-cell { color: var(--muted); }

/* ---------- Eyebrow / sur-titres de section ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  text-transform: uppercase; font-size: .72rem; letter-spacing: .14em;
  font-weight: 700; color: var(--green); margin-bottom: .8rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
}
.eyebrow.center { display: flex; justify-content: center; }
.eyebrow.center::after {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(-90deg, var(--green), transparent);
}
.section-head { max-width: 680px; margin-bottom: 1.75rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.5rem, 4vw, 2rem); letter-spacing: -0.02em; margin-bottom: .6rem; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* ---------- Hero premium ---------- */
.hero-premium {
  position: relative; text-align: center;
  padding: 4.5rem 0 3rem; overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
  margin: 0 -1.25rem 0; padding-left: 1.25rem; padding-right: 1.25rem;
}
.hero-premium::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 300px at 50% -60px, rgba(0, 208, 132, .14), transparent 70%),
    radial-gradient(700px 380px at 85% 10%, rgba(41, 98, 255, .10), transparent 70%),
    radial-gradient(700px 380px at 12% 20%, rgba(41, 98, 255, .07), transparent 70%);
}
.hero-premium::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(620px 420px at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(620px 420px at 50% 0%, #000 30%, transparent 75%);
}
.hero-premium > * { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; color: var(--muted);
  border: 1px solid var(--border); background: rgba(18, 22, 31, .7);
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.4rem;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.hero-premium h1 {
  font-size: clamp(2.3rem, 6.5vw, 4rem); letter-spacing: -0.03em;
  line-height: 1.08; margin-bottom: 1.1rem; font-weight: 700;
}
.hero-premium h1 .accent {
  color: var(--green);
  text-shadow: 0 0 44px rgba(0, 208, 132, .35);
}
.hero-premium .lead {
  color: var(--muted); font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  max-width: 660px; margin: 0 auto 2rem; line-height: 1.65;
}
.hero-premium .lead strong { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.hero-cta .btn { padding: .9rem 1.9rem; font-size: 1rem; }
.hero-trust { color: var(--muted-dim); font-size: .82rem; }

/* ---------- Barre de preuve ---------- */
.proof-bar {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem;
  margin: 2.75rem auto 0; max-width: 860px; position: relative; z-index: 1;
}
@media (min-width: 720px) { .proof-bar { grid-template-columns: repeat(4, 1fr); } }
.proof-item {
  background: rgba(18, 22, 31, .72); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.05rem .7rem; text-align: center;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color .18s ease, transform .18s ease;
}
.proof-item:hover { border-color: rgba(0, 208, 132, .45); transform: translateY(-2px); }
.proof-item .num {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  color: var(--green); letter-spacing: -0.01em;
}
.proof-item .lbl {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); margin-top: .3rem;
}

/* ---------- Cartes preuve (systèmes) ---------- */
.proof-card { position: relative; overflow: hidden; }
.proof-card::before {
  content: ""; position: absolute; top: 0; left: 1.25rem; right: 1.25rem; height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: .7;
}
.proof-card h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
.proof-card .tagline { color: var(--text); font-weight: 500; font-size: .98rem; margin-bottom: .4rem; }

/* ---------- Icônes modules (SVG inline) ---------- */
.icon-chip {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-dim); border: 1px solid rgba(0, 208, 132, .3);
  margin-bottom: .9rem;
}
.icon-chip svg { width: 21px; height: 21px; stroke: var(--green); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-chip.blue { background: var(--blue-dim); border-color: rgba(41, 98, 255, .3); }
.icon-chip.blue svg { stroke: #6B8CFF; }
.module-card h3 { font-size: 1.05rem; }

/* ---------- Étapes (comment ça marche) ---------- */
.how-steps { display: grid; gap: 1rem; counter-reset: how; }
@media (min-width: 720px) { .how-steps { grid-template-columns: repeat(3, 1fr); } }
.how-step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem 1.4rem 1.4rem;
  counter-increment: how; overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.how-step:hover { transform: translateY(-3px); border-color: #2A3446; box-shadow: var(--shadow); }
.how-step::before {
  content: "0" counter(how);
  font-family: var(--font-display); font-weight: 700; font-size: 2.6rem;
  color: transparent; -webkit-text-stroke: 1px rgba(0, 208, 132, .4);
  display: block; margin-bottom: .7rem; letter-spacing: 0;
}
.how-step h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.how-step p { color: var(--muted); font-size: .92rem; }

/* ---------- Carte prix vedette ---------- */
.price-card.featured {
  position: relative; max-width: 480px;
  border: 1px solid rgba(0, 208, 132, .45);
  background: linear-gradient(180deg, rgba(0, 208, 132, .07), var(--surface) 45%);
  box-shadow: 0 0 60px rgba(0, 208, 132, .12), var(--shadow);
  padding: 2.5rem 2rem;
}
.price-card.featured::before {
  content: "Sans engagement"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #04120B; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; padding: .3rem .9rem; border-radius: 999px;
  white-space: nowrap;
}
.price-amount { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.price-amount .big { font-size: clamp(2.6rem, 7vw, 3.4rem); }
.price-amount .per { font-size: 1.05rem; color: var(--muted); font-weight: 500; }
.price-feats { list-style: none; margin: 1.4rem 0; text-align: left; }
.price-feats li { padding: .4rem 0 .4rem 1.9rem; position: relative; color: var(--muted); font-size: .93rem; }
.price-feats li::before {
  content: ""; position: absolute; left: .15rem; top: .8rem;
  width: 13px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg); border-radius: 1px;
}

/* ---------- Bandeau CTA final ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: 20px;
  padding: 3rem 1.5rem; margin: 3rem 0 1rem;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(480px 240px at 50% -40px, rgba(0, 208, 132, .16), transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); letter-spacing: -0.02em; margin-bottom: .7rem; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 1.6rem; }
.cta-band .btn { padding: .9rem 2.2rem; font-size: 1.02rem; }

/* ---------- Cartes problème ---------- */
.pain-card { border-left: 3px solid var(--red); }
.pain-card h3 { font-size: 1.05rem; }
.pain-card .pain-num {
  font-family: var(--font-display); font-size: .75rem; font-weight: 700;
  color: var(--red); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .5rem;
}

/* ---------- Témoignage / citation ---------- */
.quote-card { position: relative; }
.quote-card::before {
  content: "\201C"; position: absolute; top: .4rem; left: 1.1rem;
  font-family: var(--font-display); font-size: 3.2rem; color: rgba(0, 208, 132, .25); line-height: 1;
}
.quote-card blockquote { color: var(--text); font-size: 1.02rem; line-height: 1.65; margin: 1.2rem 0 .8rem; }
.quote-card cite { color: var(--muted); font-size: .85rem; font-style: normal; }

/* ---------- États vides premium ---------- */
.empty-state { padding: 3rem 1.5rem; text-align: center; }
.empty-state .empty-icon {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 1.1rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px dashed #2A3446;
}
.empty-state .empty-icon svg { width: 26px; height: 26px; stroke: var(--muted); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.empty-state h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.empty-state p { color: var(--muted); font-size: .93rem; max-width: 380px; margin: 0 auto 1.25rem; }

/* ---------- Dashboard membre : accueil ---------- */
.welcome-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: 16px;
  padding: 1.75rem 1.5rem; margin-bottom: 1.75rem;
}
.welcome-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 200px at 12% 0%, rgba(0, 208, 132, .12), transparent 70%);
}
.welcome-band > * { position: relative; z-index: 1; }
.welcome-band h1 { font-size: clamp(1.4rem, 4vw, 1.8rem); letter-spacing: -0.02em; margin-bottom: .35rem; }
.welcome-band h1 .hi { color: var(--green); }
.welcome-band p { color: var(--muted); font-size: .95rem; margin: 0; }
.dash-card { display: flex; flex-direction: column; height: 100%; }
.dash-card p { flex: 1; }
.dash-card .go {
  margin-top: 1rem; font-size: .85rem; font-weight: 600; color: var(--green);
  display: inline-flex; align-items: center; gap: .35rem;
}
.dash-card .go::after { content: "\2192"; transition: transform .15s ease; }
a.card-link:hover .dash-card .go::after { transform: translateX(4px); }

/* ---------- Animations d'entrée ---------- */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; }
.reveal.visible { animation: rise-in .7s cubic-bezier(.22, .8, .3, 1) forwards; }
.reveal-d1.visible { animation-delay: .08s; }
.reveal-d2.visible { animation-delay: .16s; }
.reveal-d3.visible { animation-delay: .24s; }
.reveal-d4.visible { animation-delay: .32s; }
.no-js .reveal, .reveal.no-anim { opacity: 1; animation: none; }

/* ---------- Focus premium ---------- */
a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px;
}

/* ---------- Responsive premium ---------- */
@media (max-width: 560px) {
  .hero-premium { padding: 3rem 1.25rem 2.25rem; margin: 0 -1rem; }
  .cta-band { padding: 2.25rem 1.25rem; border-radius: 16px; }
  .proof-bar { margin-top: 2rem; }
  .welcome-band { padding: 1.4rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; }
  .reveal.visible { animation: none !important; }
}

/* ---------- Calculateur de position ---------- */
.calc-results { display: grid; gap: .1rem; margin-top: .75rem; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--border); }
.calc-row:last-child { border-bottom: none; }
.calc-row dt { color: var(--muted); font-size: .9rem; }
.calc-row dd { margin: 0; font-weight: 600; font-size: 1.05rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-row.highlight dd { color: var(--green); }

/* ---------- FREEMIUM : tiers (gratuit / essai / abonnement) ---------- */
.tier-pill {
  font-size: .72rem; font-weight: 700; padding: .22rem .65rem;
  border-radius: 999px; border: 1px solid var(--border);
  color: var(--muted); white-space: nowrap;
}
.tier-trial { color: var(--green); border-color: rgba(0, 208, 132, .45); }
.tier-paid { color: var(--text); border-color: var(--green); background: rgba(0, 208, 132, .12); }
.card-featured { border-color: rgba(0, 208, 132, .55); box-shadow: 0 8px 32px rgba(0, 208, 132, .12); }

/* ---------- Track record public ---------- */
.status-pill {
  display: inline-block; padding: .28rem .7rem; border-radius: 999px;
  font-size: .75rem; font-weight: 600; white-space: nowrap;
  border: 1px solid var(--border); color: var(--muted);
}
.status-ouvert { color: var(--blue); border-color: rgba(41, 98, 255, .45); }
.status-cible_atteinte { color: var(--green); border-color: rgba(0, 208, 132, .45); }
.status-signal_inverse { color: var(--green); border-color: rgba(0, 208, 132, .45); }
.status-stop_atteint { color: var(--red); border-color: rgba(246, 70, 93, .45); }
.status-expire { color: var(--muted); }
.filters { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-end; }
.filters label { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; color: var(--muted); }
.filters select {
  background: var(--surface-2); color: var(--text); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .6rem .9rem; font-size: .9rem; min-height: 44px;
}
