/* ============================================================
   ProspectSMS v2 — Vitrine (clair épuré)
   ============================================================ */
@import url('tokens.css');

.container { width: min(1140px, 92%); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; padding: .85rem 0; }
.site-nav { display: flex; gap: 2rem; font-weight: 500; font-size: .92rem; color: var(--muted); }
.site-nav a:hover { color: var(--ink); }
.header-actions { display: flex; gap: .6rem; }
.header-actions .btn { padding: .55rem 1.15rem; font-size: .86rem; }

/* ---------- Hero ---------- */
.hero { padding: 3rem 0 3.4rem; border-bottom: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -260px; right: -180px; width: 540px; height: 540px; border-radius: 50%; background: radial-gradient(closest-side, var(--orange-tint), transparent 70%); pointer-events: none; }
.hero .inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.4rem; align-items: center; position: relative; }
.hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.hero h1 .hl { color: var(--orange); }
.hero .lead { color: var(--muted); font-size: 1.05rem; margin-top: 1rem; max-width: 480px; }
.hero .lead strong { color: var(--ink); font-weight: 700; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--line); background: var(--white); color: var(--ink-2); font-weight: 600; font-size: .78rem; padding: .38rem .9rem; border-radius: 999px; margin-bottom: 1.4rem; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero-database { margin-top: 1.8rem; display: flex; gap: .9rem; align-items: flex-start; border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: var(--r-md); padding: 1rem 1.2rem; background: var(--bg-soft); }
.hero-database .ico { flex: none; width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--orange-tint); color: var(--orange-deep); display: grid; place-items: center; }
.hero-database strong { font-weight: 700; }
.hero-database small { color: var(--muted); display: block; }
.hero-ctas { margin-top: 1.6rem; display: flex; gap: .8rem; align-items: center; }
.hero-features {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 540px;
}
.feat-banner {
  display: flex;
  align-items: center;
  gap: .95rem;
  padding: .95rem 1.15rem .95rem 1rem;
  border: 1.5px solid var(--orange);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.feat-banner-ico {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  display: grid;
  place-items: center;
  background: var(--white);
}
.feat-banner-text strong {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(.76rem, 1.5vw, .9rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.38;
  letter-spacing: -.01em;
}
.feat-banner-text small {
  display: block;
  margin-top: .18rem;
  font-size: .7rem;
  color: var(--muted);
  line-height: 1.35;
}
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 2.2rem;
}
.feat-item {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.feat-ico {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid;
}
.feat-ico--teal { border-color: #4DB8C9; color: #2A9FB2; background: rgba(77, 184, 201, .1); }
.feat-ico--purple { border-color: #9B8AFB; color: #7B6CF6; background: rgba(123, 108, 246, .08); }
.feat-copy { min-width: 0; }
.feat-item h4 {
  font-family: var(--f-display);
  font-size: .94rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .18rem;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.feat-item p {
  font-size: .8rem;
  color: var(--ink-2);
  line-height: 1.42;
  margin: 0;
}

/* Mockup clair du dashboard */
.mock { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-pop); overflow: hidden; }
.mock-head { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1.2rem; border-bottom: 1px solid var(--line-soft); }
.mock-head .t { font-family: var(--f-display); font-weight: 600; font-size: .88rem; }
.mock-body { padding: 1.2rem; background: var(--bg-soft); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.mock-kpi { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .7rem .85rem; }
.mock-kpi .lbl { font-size: .64rem; color: var(--muted); }
.mock-kpi .val { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; }
.mock-kpi .delta { font-size: .64rem; font-weight: 700; color: var(--green); }
.mock-chart { margin-top: .7rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .8rem; }
.mock-ia { margin-top: .7rem; display: flex; gap: .65rem; background: var(--orange-tint); border: 1px solid var(--orange-tint-2); border-radius: var(--r-sm); padding: .75rem .9rem; font-size: .76rem; color: var(--ink-2); }
.mock-ia svg { flex: none; color: var(--orange); margin-top: .1rem; }
.mock-ia b { color: var(--ink); }

/* ---------- Hero — mini-démo animée (campagne → envoi) ---------- */
.hero-demo { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-pop); overflow: hidden; }
.hd-head { display: flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line-soft); font-family: var(--f-display); font-weight: 600; font-size: .9rem; }
.hd-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hd-body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .75rem; background: var(--bg-soft); }
.hd-field label { font-size: .7rem; font-weight: 600; color: var(--muted); display: block; margin-bottom: .28rem; }
.hd-input, .hd-target { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .55rem .7rem; font-size: .82rem; min-height: 2.1em; }
.hd-bubble { background: var(--white); border: 1px solid var(--line); border-radius: 4px 12px 12px 12px; padding: .55rem .7rem; font-size: .8rem; line-height: 1.45; min-height: 2.1em; }
.hd-caret { display: inline-block; width: 1.5px; height: 1em; background: var(--orange); vertical-align: -2px; animation: caret .8s step-end infinite; }
.hd-target { display: flex; align-items: center; gap: .45rem; color: var(--ink-2); opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s; }
.hd-target.show { opacity: 1; transform: none; }
.hd-target svg { color: var(--orange); flex: none; }
.hd-send { margin-top: .25rem; background: var(--orange); color: #fff; border: none; border-radius: var(--r-sm); padding: .6rem; font-weight: 600; font-size: .85rem; display: flex; align-items: center; justify-content: center; gap: .45rem; transition: background .2s; cursor: default; }
.hd-send.sending { background: var(--orange-deep); }
.hd-progress { height: 4px; background: var(--orange-tint); border-radius: 99px; overflow: hidden; opacity: 0; transition: opacity .2s; }
.hd-progress.on { opacity: 1; }
.hd-progress i { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 99px; }
.hd-success { position: absolute; inset: 0; background: rgba(255,255,255,.97); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; text-align: center; opacity: 0; pointer-events: none; transition: opacity .35s; }
.hd-success.on { opacity: 1; }
.hd-check { width: 62px; height: 62px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: grid; place-items: center; animation: popcheck .4s cubic-bezier(.2,.8,.3,1) both; }
.hd-success.on .hd-check { animation: popcheck .45s cubic-bezier(.2,.8,.3,1) both; }
@keyframes popcheck { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.hd-success .msg { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.hd-success .sub { font-size: .82rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 4.2rem 0; }
.section.tight { padding: 3rem 0; }
.section + .section { border-top: 1px solid var(--line-soft); }
.kicker { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: .8rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 560px; }
.section-sub { color: var(--muted); margin-top: .8rem; max-width: 560px; }
.center { text-align: center; }
.center .section-title, .center .section-sub { margin-inline: auto; }

/* Étapes */
.steps {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  gap: 0 .35rem;
  align-items: stretch;
}
.step-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem 1.35rem 1.35rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .2s;
}
.step-card:hover { box-shadow: var(--shadow-md); }
.step-card--1:hover { border-color: rgba(26, 171, 184, .35); }
.step-card--2:hover { border-color: var(--orange-tint-2); }
.step-card--3:hover { border-color: rgba(123, 108, 246, .35); }
.step-head { display: flex; align-items: center; gap: .65rem; margin-bottom: .75rem; }
.step-num {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .88rem;
  color: #fff;
}
.step-card--1 .step-num { background: #1AABB8; }
.step-card--2 .step-num { background: var(--orange); }
.step-card--3 .step-num { background: #7B6CF6; }
.step-card h3 { font-size: 1.02rem; margin: 0; }
.step-card p { color: var(--muted); font-size: .86rem; line-height: 1.55; }
.step-visual {
  margin-top: 1.15rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.step-visual--map { background: #EEF2F0; }
.step-arrow {
  align-self: center;
  width: 28px;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px);
  position: relative;
}
.step-arrow::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: currentColor;
  border-left-width: 5px;
}
.step-arrow--1 { color: #1AABB8; }
.step-arrow--2 { color: var(--orange); }
.steps-trust { margin-top: 1.8rem; display: flex; justify-content: center; gap: 2.6rem; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.steps-trust span { display: inline-flex; align-items: center; gap: .5rem; }
.steps-trust svg { color: var(--green); }

.sms-preview { padding: .85rem .9rem .75rem; background: var(--bg-soft); }
.sms-compose { display: flex; align-items: flex-end; gap: .55rem; }
.sms-bubble {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px 14px 14px 14px;
  padding: .7rem .8rem .55rem;
  font-size: .76rem;
  line-height: 1.45;
  box-shadow: var(--shadow-sm);
  min-height: 5.5rem;
}
.sms-meta {
  text-align: right;
  font-size: .64rem;
  color: var(--faint);
  margin-top: .35rem;
  opacity: 0;
  transition: opacity .3s ease;
}
.sms-meta.show { opacity: 1; }
.sms-send-btn {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(237, 113, 23, .28);
}
.sms-add-link {
  margin-top: .55rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
}
.sms-add-link svg { color: var(--faint); }

/* ---------- Section IA ---------- */
.ia-section { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }
.ia-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 4rem; align-items: center; margin-top: 0; }
.ia-demo { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-md); overflow: hidden; }
.ia-demo .bar { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 600; }
.ia-demo .bar svg { color: var(--orange); }
.ia-demo .prompt { margin: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .8rem 1rem; font-size: .86rem; color: var(--ink-2); font-style: italic; background: var(--bg-soft); }
.ia-demo .result { margin: 0 1.2rem 1.2rem; border: 1px solid var(--orange-tint-2); background: var(--orange-tint); border-radius: var(--r-sm); padding: .9rem 1rem; font-size: .82rem; }
.ia-demo .result .lbl { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--orange-deep); margin-bottom: .4rem; display: flex; align-items: center; gap: .4rem; }
.ia-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.8rem; }
.ia-item { display: flex; gap: .85rem; }
.ia-item .ico { flex: none; width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); color: var(--orange); display: grid; place-items: center; }
.ia-item h3 { font-size: .95rem; margin-bottom: .15rem; }
.ia-item p { font-size: .86rem; color: var(--muted); }

/* ---------- Médias ---------- */
#medias { background: var(--white); }
#medias.section.tight { padding: 4rem 0 4.5rem; }
.medias-head { margin-bottom: 3.5rem; }
.medias-head .section-title {
  max-width: 680px;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
}
.medias-head .section-sub {
  font-size: 1.08rem;
  max-width: 620px;
  line-height: 1.6;
}
.medias-head .section-sub strong { color: var(--ink); font-weight: 700; }

.medias-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  width: min(900px, 100%);
  margin-inline: auto;
}

.media-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  column-gap: 2.5rem;
  align-items: center;
}
.media-block--sms .media-block__copy,
.media-block--rcs .media-block__copy { grid-column: 1; }
.media-block--sms .media-block__device,
.media-block--rcs .media-block__device { grid-column: 2; }

.media-block__copy { align-self: center; }
.media-block__device { justify-self: center; align-self: center; }

.media-block__label {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: .7rem;
}
.media-block__label h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.5vw, 1.75rem);
  letter-spacing: -.02em;
}
.media-pill {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
}
.media-pill--sms { background: var(--green-tint); color: var(--green); }
.media-pill--rcs { background: var(--blue-tint); color: var(--blue); }

.media-block__lead {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: none;
}
.media-block__lead strong { color: var(--ink); font-weight: 600; }
.media-block__stat {
  margin: .75rem 0 0;
  font-size: 1rem;
  color: var(--ink-2);
  font-weight: 500;
}
.media-block--sms .media-block__stat-val {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  color: var(--green);
  margin-right: .3rem;
}

.media-feats {
  list-style: none;
  margin: .85rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.media-feats li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .98rem;
  font-weight: 600;
  color: var(--ink-2);
}
.media-feats li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}
.media-block--sms .media-feats li::before { background: var(--green); }
.media-block--rcs .media-feats li::before { background: var(--blue); }

/* Mockup téléphone animé */
.phone-mock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.phone-mock__shell {
  width: 100%;
  max-width: 310px;
  border-radius: 44px;
  background: var(--ink);
  padding: 10px;
  box-shadow:
    0 28px 60px rgba(23, 33, 45, .22),
    inset 0 0 0 2px #2B3A4D;
  opacity: 0;
  transform: translateY(22px) scale(.96);
  transition: opacity .55s cubic-bezier(.2,.7,.3,1), transform .55s cubic-bezier(.2,.7,.3,1);
}
.media-block__device.in-view .phone-mock__shell,
.phone-mock__shell.phone-live {
  opacity: 1;
  transform: none;
  animation: phoneFloat 5s ease-in-out 1s infinite;
}
.media-block__device.in-view.rcs-live .media-rcs-media,
.rcs-live .media-rcs-media { opacity: 1; transform: none; }
.media-block__device.in-view.rcs-live .media-rcs-text,
.rcs-live .media-rcs-text { opacity: 1; transform: none; transition-delay: .2s; }
.media-block__device.in-view.rcs-live .media-rcs-cta,
.rcs-live .media-rcs-cta { opacity: 1; transform: none; transition-delay: .4s; }
.phone-mock__screen {
  position: relative;
  background: #E9EDF2;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 520px;
}
.phone-mock__screen::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink);
  z-index: 2;
}

.phone-mock__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .85rem 1.2rem .35rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--ink);
}
.phone-mock__status-r {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--ink);
}
.phone-mock__status-r svg { width: 18px; height: auto; }

.phone-mock__header {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .6rem 1rem .7rem;
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
}
.phone-mock__header--rcs { padding: .65rem 1rem .75rem; }
.phone-mock__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #F8A85C);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
}
.phone-mock__brand {
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.phone-mock__brand-wrap { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.phone-mock__verified { flex: none; width: 18px; height: 18px; }
.phone-mock__verified-label {
  font-size: .7rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: .01em;
}

.phone-mock__chat {
  flex: 1;
  padding: .9rem .85rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.phone-mock__bubble--sms {
  align-self: flex-start;
  max-width: 92%;
  background: var(--white);
  border-radius: 6px 18px 18px 18px;
  padding: .85rem .95rem;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(23, 33, 45, .1);
}
.phone-mock__bubble--sms b { font-weight: 700; }
.ex-link { color: var(--orange-deep); font-weight: 600; }
.phone-mock__stop { color: var(--faint); font-size: .92em; }

.phone-mock__rcs {
  align-self: flex-start;
  max-width: 94%;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(23, 33, 45, .12);
}
.phone-mock__rcs-media {
  height: 120px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .9);
  background:
    linear-gradient(180deg, rgba(23, 33, 45, .12), rgba(23, 33, 45, .28)),
    radial-gradient(circle at 28% 38%, #F8C8DC 0%, transparent 45%),
    radial-gradient(circle at 74% 60%, #B8E6C8 0%, transparent 40%),
    linear-gradient(135deg, #FDE8F0, #E8F5E9 55%, #FFF8E8);
}
.phone-mock__rcs-media svg { width: 36px; height: 36px; }
.phone-mock__rcs-body { padding: .8rem .85rem .85rem; }
.phone-mock__rcs-body p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.phone-mock__rcs-body b { color: var(--ink); }
.phone-mock__rcs-btn {
  display: block;
  margin-top: .65rem;
  text-align: center;
  background: var(--blue);
  color: #fff;
  border-radius: 9px;
  font-size: .8rem;
  font-weight: 700;
  padding: .55rem .7rem;
}

.phone-mock__composer {
  margin: .45rem .85rem .9rem;
  background: var(--white);
  border-radius: 999px;
  padding: .55rem 1rem;
  font-size: .72rem;
  color: var(--faint);
  box-shadow: 0 1px 3px rgba(23, 33, 45, .08);
}

.phone-mock__caption {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--faint);
}

.media-rcs-media,
.media-rcs-text,
.media-rcs-cta { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.3,1); }
.rcs-live .media-rcs-media { opacity: 1; transform: none; }
.rcs-live .media-rcs-text { opacity: 1; transform: none; transition-delay: .2s; }
.rcs-live .media-rcs-cta { opacity: 1; transform: none; transition-delay: .4s; }

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ---------- Tarifs v2 (offres alignées sur le tableau) ---------- */
.pricing { margin-top: 2.2rem; --c-lead: 34%; --c-col: 22%; }
.pricing-row.offers {
  display: grid;
  grid-template-columns: var(--c-lead) var(--c-col) var(--c-col) var(--c-col);
  gap: 0;
  align-items: stretch;
  margin-bottom: 0;
}
.p-lead { align-self: center; padding: 0 1.1rem 0 0; }
.p-lead h3 { font-size: 1.15rem; }
.p-lead p { font-size: .84rem; color: var(--muted); margin-top: .2rem; }
.offer {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-md) var(--r-md) 0 0;
  border-bottom: none;
  background: var(--white);
  padding: 1.2rem 1.1rem 1rem;
  text-align: center;
  margin: .5rem 0 0;
}
.offer.featured { border-color: var(--orange); box-shadow: var(--shadow-md); z-index: 1; }
.offer .flag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .24rem .7rem; border-radius: 999px; background: var(--ink); color: #fff; white-space: nowrap; }
.offer .flag-pro { background: var(--orange); }
.offer .oname { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; margin-top: .3rem; }
.offer .oprice { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; margin: .3rem 0; }
.offer .oprice small { font-size: .68rem; font-weight: 500; color: var(--muted); margin-left: .15rem; }
.offer .odesc { font-size: .78rem; color: var(--muted); min-height: 2.6em; }
.offer .btn { width: 100%; margin-top: .7rem; padding: .55rem; font-size: .84rem; }

.ptable-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ptable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  border: 2px solid #8A97A8;
  border-radius: 0 0 var(--r-md) var(--r-md);
  overflow: hidden;
  margin-top: -1px;
}
.ptable col.c-lead { width: 34%; }
.ptable col.c-plan { width: 22%; }
.ptable th, .ptable td { padding: .72rem 1.1rem; font-size: .9rem; text-align: center; border-bottom: 1px solid #C5CDD8; }
.ptable thead .plan-head th {
  background: var(--bg-soft);
  border-bottom: 2px solid #8A97A8;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: .82rem;
  color: var(--ink-2);
  padding-top: .85rem;
  padding-bottom: .85rem;
}
.ptable thead .plan-head th.lead { text-align: left; color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.ptable thead .plan-head th.feat { background: var(--orange-tint); color: var(--orange-deep); }
@media (min-width: 961px) {
  .ptable thead { display: none; }
}
.ptable td.lead, .ptable th.lead { text-align: left; font-weight: 600; }
.ptable .type { font-weight: 600; }
.ptable .chars { display: block; font-size: .72rem; color: var(--faint); font-weight: 400; }
.ptable td sup { font-size: .6em; color: var(--faint); }
.ptable .feat { background: var(--orange-tint); }
.ptable td.price, .ptable th.feat { color: var(--ink); font-weight: 700; }
.ptable td.feat.price { color: var(--orange-deep); }
.ptable td.yes { color: var(--green); font-weight: 700; }
.ptable td.no { color: var(--faint); }
.ptable td.feat.yes { color: var(--orange-deep); }

/* Blocs tarifaires : contours foncés pour distinguer prospection / fichier clients */
.ptable-section--prospect tr.g-prospect td,
.ptable-section--clients tr.g-clients td {
  text-align: left;
  padding: .8rem 1.1rem;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.ptable-section--prospect tr.g-prospect td {
  background: #1A2B3D;
  border-top: 2px solid #5A6F84;
  border-left: 2px solid #5A6F84;
  border-right: 2px solid #5A6F84;
  box-shadow: inset 4px 0 0 var(--orange);
}
.ptable-section--clients tr.g-clients td {
  background: #243447;
  border-top: 3px solid #8A97A8;
  border-left: 2px solid #5A6F84;
  border-right: 2px solid #5A6F84;
  box-shadow: inset 4px 0 0 var(--blue);
  padding-top: .95rem;
}
.ptable-section--feats tr.g-feats td {
  text-align: left;
  padding: .75rem 1.1rem;
  background: #33445A;
  color: #fff;
  border-top: 2px solid #5A6F84;
}
.ptable .grouprow b { font-family: var(--f-display); font-weight: 700; font-size: .9rem; color: #fff; }
.ptable .grouprow small { display: block; color: rgba(255, 255, 255, .68); font-size: .76rem; font-weight: 400; margin-top: .12rem; }

.ptable-section--prospect tr:not(.grouprow) td:first-child,
.ptable-section--clients tr:not(.grouprow) td:first-child { border-left: 2px solid #5A6F84; }
.ptable-section--prospect tr:not(.grouprow) td:last-child,
.ptable-section--clients tr:not(.grouprow) td:last-child { border-right: 2px solid #5A6F84; }
.ptable-section--prospect tr.section-last td,
.ptable-section--clients tr.section-last td {
  border-bottom: 2px solid #5A6F84 !important;
}
.ptable-section--prospect tr:not(.grouprow) td.price,
.ptable-section--clients tr:not(.grouprow) td.price {
  border-left: 1px solid #C5CDD8;
}
.ptable-section--feats tr.section-last td { border-bottom: none; }

/* ---------- Anciennes cartes (réutilisées ailleurs) ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin: 3rem 0 2rem; }
.plan { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.7rem 1.5rem; background: var(--white); position: relative; }
.plan.featured { border-color: var(--orange); box-shadow: var(--shadow-md); }
.plan .flag { position: absolute; top: -11px; left: 1.3rem; font-size: .66rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: .26rem .7rem; border-radius: 999px; background: var(--ink); color: #fff; }
.plan.featured .flag { background: var(--orange); }
.plan h3 { font-size: 1.1rem; }
.plan .price { font-family: var(--f-display); font-weight: 700; font-size: 1.7rem; margin: .55rem 0 .15rem; }
.plan .price small { font-size: .8rem; font-weight: 500; color: var(--muted); }
.plan p.desc { color: var(--muted); font-size: .86rem; min-height: 3.2em; }
.plan .btn { width: 100%; margin-top: 1.1rem; }
.price-tables { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.price-group { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: .85rem 1.3rem; }
.price-group b { font-family: var(--f-display); font-weight: 600; font-size: .9rem; }
.price-group small { display: block; color: var(--muted); font-size: .76rem; }
table.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: .8rem 1.3rem; text-align: left; font-size: .9rem; border-bottom: 1px solid var(--line-soft); }
.price-table thead th { font-family: var(--f-display); font-weight: 600; font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.price-table th:not(:first-child), .price-table td:not(:first-child) { text-align: center; }
.price-table .type { font-weight: 600; }
.price-table .chars { display: block; font-size: .72rem; color: var(--faint); }
.price-table td.hl-col { color: var(--orange-deep); font-weight: 700; background: var(--orange-tint); }
.price-table th.hl-col { color: var(--orange-deep); background: var(--orange-tint); }
.price-table td sup { font-size: .6em; color: var(--faint); }

/* ---------- CTA / Footer ---------- */
.cta-final { border: 1px solid var(--line); background: var(--ink); border-radius: var(--r-lg); color: #fff; padding: 3rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-final h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); max-width: 520px; }
.cta-final p { color: rgba(255,255,255,.6); margin-top: .4rem; font-size: .9rem; }
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; margin-top: 5rem; background: var(--bg-soft); }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.site-footer h4 { font-size: .85rem; margin-bottom: .8rem; }
.site-footer a { display: block; font-size: .85rem; color: var(--muted); padding: .2rem 0; }
.site-footer a:hover { color: var(--ink); }
.site-footer .legal { display: flex; justify-content: space-between; padding-top: 1.3rem; font-size: .78rem; color: var(--faint); flex-wrap: wrap; gap: .8rem; }

@media (max-width: 960px) {
  .hero .inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-features { max-width: none; }
  .feat-grid { gap: 1.2rem 1.6rem; }
  .medias-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
  }
  .media-block {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
  }
  .media-block--sms .media-block__copy,
  .media-block--sms .media-block__device,
  .media-block--rcs .media-block__copy,
  .media-block--rcs .media-block__device { grid-column: 1; grid-row: auto; }
  .phone-mock__shell { margin-inline: auto; max-width: min(310px, 88vw); }
  .steps { grid-template-columns: 1fr; gap: 1rem; }
  .step-arrow { display: none; }
  .plans { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }

  /* Tarifs : offres empilées + tableau scrollable */
  .pricing-row.offers { grid-template-columns: 1fr 1fr; }
  .p-lead { grid-column: 1 / -1; padding: 0 0 .6rem; }
  .offer { border-radius: var(--r-md); border-bottom: 1px solid var(--line); margin-bottom: .5rem; }
  .ptable { font-size: .82rem; border-radius: var(--r-md); margin-top: .5rem; }
  .ptable th, .ptable td { padding: .6rem .65rem; }
}
@media (max-width: 560px) {
  .pricing-row.offers { grid-template-columns: 1fr; }
  .feat-banner { border-radius: var(--r-lg); padding: 1rem; }
  .feat-grid { grid-template-columns: 1fr; gap: 1.1rem; }
}

/* ============================================================
   ANIMATIONS — révélations au scroll + mises en scène
   (déclenchées par .in-view ajouté via IntersectionObserver)
   ============================================================ */

/* Révélation générique au scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); transition-delay: var(--d, 0s); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }
.reveal-left.in-view,
.reveal-right.in-view { transform: none; }

/* ---- Étape 1 : Ciblage (le point pulse, une onde se propage, l'orbite tourne) ---- */
.etape-pin { transform-box: fill-box; transform-origin: center; }
.in-view .etape-pin { animation: etapePulse 2.2s ease-in-out infinite; }
@keyframes etapePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.28); } }
.etape-ripple { transform-box: fill-box; transform-origin: center; opacity: 0; }
.in-view .etape-ripple { animation: etapeRipple 2.4s ease-out infinite; }
@keyframes etapeRipple { 0% { transform: scale(.35); opacity: .55; } 100% { transform: scale(2.8); opacity: 0; } }
.etape-orbit { transform-box: fill-box; transform-origin: center; }

/* ---- Étape 2 : curseur de frappe sur la bulle SMS ---- */
.type-caret { display: inline-block; width: 2px; background: var(--orange); margin-left: 1px; vertical-align: -2px; animation: caret .8s step-end infinite; }
@keyframes caret { 50% { opacity: 0; } }
.sms-bubble .chip-reveal { opacity: 0; transition: opacity .4s ease .2s; }
.sms-bubble .chip-reveal.show { opacity: 1; }

/* ---- Étape 3 : Diffusion (les contacts s'illuminent, les traits se tracent) ---- */
.diff-node { transform-box: fill-box; transform-origin: center; opacity: .18; }
.in-view .diff-node { animation: diffPop .45s ease var(--d, 0s) forwards; }
@keyframes diffPop { 0% { opacity: .18; transform: scale(.6); } 70% { transform: scale(1.18); } 100% { opacity: 1; transform: scale(1); } }
.diff-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.in-view .diff-line { animation: diffDraw .5s ease var(--d, 0s) forwards; }
@keyframes diffDraw { to { stroke-dashoffset: 0; } }

/* ---- Hero : tracé de la courbe du dashboard ---- */
.draw-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.draw-line.drawn { animation: drawLine 1.4s ease .2s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.mock-ia { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.mock-ia.show { opacity: 1; transform: none; }

/* ============================================================
   MICRO-INTERACTIONS AU SURVOL
   ============================================================ */
.plan { transition: transform .2s ease, box-shadow .2s ease, border-color .15s ease; }

.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.featured:hover { border-color: var(--orange); }
.mock-kpi { transition: border-color .15s ease, transform .15s ease; }
.mock-kpi:hover { border-color: var(--orange-tint-2); transform: translateY(-2px); }
.ia-item .ico { transition: background .15s ease, color .15s ease, border-color .15s ease; }
.ia-item:hover .ico { background: var(--orange-tint); color: var(--orange-deep); border-color: var(--orange-tint-2); }

/* ============================================================
   ACCESSIBILITÉ — respect de prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .media-rcs-media, .media-rcs-text, .media-rcs-cta { opacity: 1 !important; transform: none !important; }
  .phone-mock__shell { opacity: 1 !important; transform: none !important; animation: none !important; }

  .mock-ia { opacity: 1 !important; transform: none !important; }
  .draw-line, .diff-line { stroke-dashoffset: 0 !important; }
  .diff-node { opacity: 1 !important; }
}
