/* Reveal CRM · landing agences (crm.reveal.me)
 *
 * DA : V2 de Reveal (thème « contraste » du dashboard : gris détachés du
 * fond, lignes fines, vrai blanc, rouge profond en relief) + énergie BTBF
 * (titres très gras, compteurs). Pas de pastilles ni de notifications :
 * Aloïs les a retirées le 02/10 (« surchargé »).
 * Boutons : rouge foncé brillant validé par Manoah le 30/09.
 */

@font-face { font-family: 'Circular'; src: url('/assets/fonts/circular-medium.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Circular'; src: url('/assets/fonts/circular-bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Circular'; src: url('/assets/fonts/circular-black.woff') format('woff'); font-weight: 900; font-display: swap; }

:root {
  --bg: #0b0b0b;
  --app: #111111;
  --side: #0e0e0e;
  --surface: #181818;
  --surface-2: #1f1f1f;
  --hair: #2c2c2c;
  --hair-strong: #474747;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.66);
  --dim: rgba(255, 255, 255, 0.42);
  --vivid: #e62a32;
  --deep: #8a1317;
  --deep-edge: #4a090c;
  --green: #2fd27a;
  --yellow: #fde049;
  --orange: #e85d04;
  --blue: #27a7e7;
  --pink: #ff0050;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Circular', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
b { font-weight: 700; }
[hidden] { display: none !important; }

/* ---------- Boutons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.14s var(--ease-out), box-shadow 0.14s var(--ease-out), filter 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn i { font-size: 1.05em; transition: transform 0.2s var(--ease-out); }
.btn:hover i.ph-arrow-right { transform: translateX(3px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-xl { height: 60px; padding: 0 28px; font-size: 18px; }
.btn-block { width: 100%; height: 56px; font-size: 17px; }

/* Rouge foncé brillant : dégradé, reflet, halo et rebord. */
.btn-red {
  color: #fff;
  background: linear-gradient(180deg, #d81822 0%, #a10e17 52%, #760911 100%);
  border: 1px solid rgba(255, 77, 87, 0.72);
  box-shadow:
    0 0 26px rgba(229, 28, 44, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -2px 0 rgba(0, 0, 0, 0.25),
    0 3px 0 0 var(--deep-edge);
}
.btn-red::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.32) 50%, transparent 62%);
  background-size: 250% 100%;
  background-position: 160% 0;
  animation: shine 3.6s ease-in-out infinite;
}
.btn-red:hover { filter: brightness(1.12); box-shadow: 0 0 36px rgba(229, 28, 44, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.38), inset 0 -2px 0 rgba(0, 0, 0, 0.25), 0 3px 0 0 var(--deep-edge); }
.btn-red:active { transform: translateY(2px); box-shadow: 0 0 20px rgba(229, 28, 44, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 1px 0 0 var(--deep-edge); }

.btn-white {
  color: #0b0b0b;
  background: #fff;
  border: 1px solid #fff;
  box-shadow: 0 3px 0 0 #a9a9a9;
}
.btn-white:hover { filter: brightness(0.94); }
.btn-white:active { transform: translateY(2px); box-shadow: 0 1px 0 0 #a9a9a9; }
.btn-ghosty { color: #fff; background: transparent; border-color: var(--hair-strong); box-shadow: 0 3px 0 0 #000; }
.btn-ghosty:hover { background: var(--surface-2); filter: none; }

@keyframes shine {
  0%, 55% { background-position: 160% 0; }
  100% { background-position: -60% 0; }
}

.label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

/* Mot surligné façon autocollant (maquette « premium » de Manoah). */
.hl {
  display: inline-block;
  padding: 0 0.16em 0.04em;
  border-radius: 0.16em;
  background: linear-gradient(180deg, #d81822 0%, #8f0c14 100%);
  box-shadow: 0 0 34px rgba(229, 28, 44, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: rotate(-2deg);
}

.sticker {
  position: absolute;
  z-index: 3;
  font-size: 46px;
  line-height: 1;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.55));
  pointer-events: none;
  user-select: none;
  animation: wobble 4.5s ease-in-out infinite;
}
@keyframes wobble {
  0%, 100% { transform: rotate(12deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-6px); }
}

/* ---------- En-tête ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
  padding: 0 24px;
  background: var(--bg);
  border-bottom: 1px solid #1c1c1c;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 34px; height: 25px; }
.brand-name { font-size: 22px; font-weight: 900; letter-spacing: -0.04em; }
.brand-pill {
  padding: 3px 8px 2px;
  border-radius: 7px;
  background: var(--vivid);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  transform: rotate(-3deg);
}
.head-nav { display: flex; align-items: center; gap: 10px; }
.head-link { margin-right: 6px; font-size: 14px; font-weight: 700; color: var(--muted); transition: color 0.15s; }
.head-link:hover { color: #fff; }

/* ---------- Hero = le dashboard ---------- */

.hero { padding: 18px 24px 0; }

.app {
  position: relative;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  max-width: 1440px;
  height: clamp(660px, calc(100vh - 122px), 900px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: 24px;
  background: var(--app);
  box-shadow: 0 50px 140px -60px rgba(230, 42, 50, 0.4), 0 0 0 6px #0f0f0f;
}

/* Barre latérale */
.app-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 16px 14px;
  background: var(--side);
  border-right: 1px solid var(--hair);
}
.side-agency {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  margin-bottom: 8px;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: var(--surface);
}
.side-agency-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
.side-agency-txt b { font-size: 14px; }
.side-agency-txt small { font-size: 12px; color: var(--dim); }
.side-agency > i { color: var(--dim); }
.side-label { margin: 10px 8px 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }

.models { display: flex; flex-direction: column; gap: 2px; }
.model {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 12px;
  transition: background 0.3s;
}
.model.is-active { background: var(--surface-2); }
.model.is-active::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--vivid);
}
.model-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
.model-txt b { font-size: 14px; }
.model-txt small { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; transition: color 0.4s; }
.model-online { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(47, 210, 122, 0.15); }
.side-nav { display: flex; flex-direction: column; gap: 1px; }
.side-item {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.side-item i { font-size: 18px; color: var(--dim); }
.side-item.is-active { background: var(--surface-2); color: #fff; }
.side-item.is-active i { color: var(--vivid); }
/* Avatars */
.av {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  background: #333;
  overflow: hidden;
}
.av img { width: 100%; height: 100%; object-fit: cover; }
.av-1 { background: linear-gradient(140deg, #ff6f91, #b0123e); }
.av-2 { background: linear-gradient(140deg, #ffb347, #d9480f); }
.av-3 { background: linear-gradient(140deg, #43d6b5, #0b7a66); }
.av-agency { border-radius: 10px; background: #fff; color: #0b0b0b; font-size: 12px; }
.av-fan { width: 30px; height: 30px; background: var(--surface-2); border: 1px solid var(--hair); color: var(--muted); font-size: 12px; }

/* Zone principale */
.app-main { display: grid; grid-template-rows: 60px minmax(0, 1fr); min-width: 0; }
.app-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-bottom: 1px solid var(--hair);
}
.app-search {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  max-width: 420px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  color: var(--dim);
}
.app-seg {
  display: flex;
  gap: 2px;
  margin-left: auto;
  padding: 3px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.app-seg span { padding: 5px 12px; border-radius: 999px; }
.app-seg .is-on { background: var(--deep); color: #fff; box-shadow: 0 2px 0 0 var(--deep-edge); }
.app-bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  background: var(--surface);
  font-size: 18px;
}
.app-scroll {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  padding: 20px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 52%, rgba(0, 0, 0, 0.35) 76%, transparent 94%);
  mask-image: linear-gradient(to bottom, #000 52%, rgba(0, 0, 0, 0.35) 76%, transparent 94%);
}

/* Carte d'accueil (le vrai hero) */
.welcome {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 28px;
  align-items: center;
  flex: none;
  padding: 30px 32px;
  border: 1px solid var(--hair-strong);
  border-radius: 22px;
  background:
    radial-gradient(90% 160% at 100% 0%, rgba(230, 42, 50, 0.2), transparent 55%),
    var(--surface);
}
.welcome-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.welcome h1 {
  font-size: clamp(38px, 4.3vw, 64px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.welcome-sub { max-width: 560px; font-size: 18px; color: var(--muted); }
.welcome-sub b { color: #fff; }
.welcome-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

.welcome-proof {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--hair);
  border-radius: 18px;
  background: var(--app);
}
.proof-avatars { display: flex; }
.proof-avatars .av { width: 40px; height: 40px; border: 2px solid var(--app); }
.proof-avatars .av + .av { margin-left: -10px; }
.proof-txt { display: flex; flex-direction: column; line-height: 1.25; }
.proof-txt b { font-size: 20px; font-weight: 900; letter-spacing: -0.02em; }
.proof-txt span { font-size: 13px; color: var(--muted); }
.proof-list { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 1px solid var(--hair); }
.proof-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.proof-list i { font-size: 18px; color: var(--green); }

/* Grille du dashboard */
.dash {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 16px;
}
.card {
  border: 1px solid var(--hair);
  border-radius: 20px;
  background: var(--surface);
  padding: 18px 20px;
  min-width: 0;
}

.rev-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rev-head .label { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.delta { flex: none; white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--green); }
.rev-big {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0 4px;
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 900;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.rev-big .rev-cur { font-size: 0.55em; color: var(--muted); letter-spacing: 0; }
.rev-big.tick #rev { animation: tick 0.7s var(--ease-out); }
@keyframes tick {
  0% { color: var(--green); text-shadow: 0 0 22px rgba(47, 210, 122, 0.55); }
  100% { color: #fff; text-shadow: none; }
}
.chart { display: block; width: 100%; height: 150px; overflow: visible; }
.chart-grid line { stroke: #262626; stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.chart-line { fill: none; stroke: var(--vivid); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart-dot { fill: #fff; stroke: var(--vivid); stroke-width: 3; vector-effect: non-scaling-stroke; }

.tiles { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  padding: 18px 20px;
  border: 1px solid var(--hair);
  border-radius: 20px;
  background: var(--surface);
  min-width: 0;
}
.tile .label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile b { font-size: 34px; font-weight: 900; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tile small { font-size: 12px; font-weight: 700; }
.up { color: var(--green); }

.demo-tag {
  position: absolute;
  left: 22px;
  bottom: 14px;
  z-index: 4;
  font-size: 11px;
  color: var(--dim);
}

.ico-red { background: var(--vivid); color: #fff; }
.ico-orange { background: var(--orange); color: #fff; }
.ico-yellow { background: var(--yellow); color: #0b0b0b; }
.ico-blue { background: var(--blue); color: #fff; }
.ico-green { background: #0e9f6e; color: #fff; }
.ico-pink { background: var(--pink); color: #fff; }
.ico-white { background: #fff; color: #0b0b0b; }

/* ---------- Sections ---------- */

.band, .section, .final, .site-foot { max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }

.numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 72px;
}
.num {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px 24px;
  border-left: 1px solid var(--hair);
}
.num:first-child { border-left: 0; padding-left: 0; }
.num b { font-size: clamp(34px, 4vw, 56px); font-weight: 900; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.num span { font-size: 15px; color: var(--muted); }

.section { margin-top: 120px; }
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 60px); font-weight: 900; line-height: 1.02; letter-spacing: -0.04em; }

.feat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.feat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
  padding: 22px;
  border: 1px solid var(--hair);
  border-radius: 22px;
  background: var(--surface);
  transition: transform 0.25s var(--ease-out), border-color 0.25s;
}
.feat:hover { transform: translateY(-4px); border-color: var(--hair-strong); }
.feat h3 { font-size: 21px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; }
.feat p { font-size: 15px; color: var(--muted); }
.feat-ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 8px; border-radius: 14px; font-size: 23px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 3px 0 rgba(0, 0, 0, 0.5); }
.feat-wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 18px; }
.feat-wide .feat-ico { margin-bottom: 0; }
.feat-wide > div { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.feat-wide h3 { font-size: 26px; }
.feat-affil {
  grid-column: 1 / -1;
  align-items: center;
  border-color: rgba(253, 224, 73, 0.35);
  background: radial-gradient(80% 140% at 0% 50%, rgba(253, 224, 73, 0.12), transparent 60%), var(--surface);
}
.feat-big { font-size: 84px; font-weight: 900; letter-spacing: -0.06em; line-height: 0.9; color: var(--yellow); }

.cmp { overflow: hidden; border: 1px solid var(--hair); border-radius: 22px; background: var(--surface); }
.cmp-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.25fr);
  border-top: 1px solid var(--hair);
}
.cmp-row:first-child { border-top: 0; }
.cmp-row > span { display: flex; align-items: center; gap: 10px; padding: 16px 22px; font-size: 15px; }
.cmp-row > span[role='rowheader'] { font-weight: 700; color: var(--muted); }
.cmp-row > span[role='cell']:not(.cmp-us) { color: var(--dim); }
.cmp-row i { font-size: 19px; flex: none; }
.cmp-row .ph-check-circle { color: var(--green); }
.cmp-row .ph-x { color: #6b6b6b; }
.cmp-us { background: rgba(230, 42, 50, 0.07); font-weight: 700; color: #fff; }
.cmp-headrow > span { padding-top: 18px; padding-bottom: 18px; font-size: 12px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.cmp-headrow .cmp-us { color: #ff6b72; }

.section-faq { max-width: 900px; }
.faq { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--hair-strong); font-size: 14px; transition: transform 0.25s var(--ease-out), background 0.2s; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--surface-2); }
.faq details p { padding: 0 52px 24px 0; font-size: 17px; color: var(--muted); }

.final {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 140px;
  padding-top: 72px;
  padding-bottom: 72px;
  border: 1px solid var(--hair);
  border-radius: 32px;
  background:
    radial-gradient(70% 120% at 50% 120%, rgba(230, 42, 50, 0.28), transparent 60%),
    var(--surface);
  text-align: center;
  max-width: 1192px;
}
.final h2 { font-size: clamp(40px, 6vw, 84px); font-weight: 900; line-height: 1.02; letter-spacing: -0.045em; }
.final-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.final .sticker-money { top: -26px; right: 12%; font-size: 58px; }

.site-foot { margin-top: 80px; padding-bottom: 40px; }
.foot-doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.foot-doors a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 20px;
  border: 1px solid var(--hair);
  border-radius: 18px;
  background: var(--surface);
  transition: border-color 0.2s, transform 0.2s var(--ease-out);
}
.foot-doors a:hover { border-color: var(--hair-strong); transform: translateY(-2px); }
.foot-doors span { font-size: 13px; color: var(--dim); }
.foot-doors b { font-size: 17px; font-weight: 900; }
.foot-doors i { position: absolute; top: 18px; right: 18px; color: var(--dim); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 13px; color: var(--dim); }
.foot-legal a:hover { color: #fff; }

.sticky-cta { display: none; }

/* ---------- Pages légales et contact ----------
 * Texte repris tel quel des pages Framer d'agence.reveal.me (build_legal.py),
 * seule la mise en page change. Les versions « -user » sont affichées en iframe
 * par le site fan : pas d'en-tête, fond transparent.
 */
.legal { max-width: 820px; margin: 0 auto; padding: 48px 24px 0; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 14px; font-weight: 700; color: var(--dim); transition: color 0.15s; }
.legal-back:hover { color: #fff; }
.legal h1 { margin-bottom: 32px; font-size: clamp(34px, 5vw, 56px); font-weight: 900; line-height: 1.04; letter-spacing: -0.04em; }
.legal-body { font-size: 16px; line-height: 1.7; color: var(--muted); overflow-wrap: anywhere; }
.legal-body > * + * { margin-top: 14px; }
.legal-body h1, .legal-body h2, .legal-body h3, .legal-body h4, .legal-body h5, .legal-body h6 { margin-top: 40px; color: #fff; font-weight: 900; line-height: 1.25; letter-spacing: -0.02em; }
.legal-body h2 { font-size: 26px; }
.legal-body h3 { font-size: 21px; }
.legal-body h4, .legal-body h5, .legal-body h6 { font-size: 18px; }
.legal-body strong, .legal-body b { color: #fff; }
.legal-body a { color: #fff; text-decoration: underline; text-decoration-color: var(--hair-strong); text-underline-offset: 3px; }
.legal-body a:hover { text-decoration-color: #fff; }
.legal-body ul, .legal-body ol { padding-left: 22px; }
.legal-body ul { list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body li + li { margin-top: 6px; }
.legal-body li > p { margin: 0; }
.legal-table { overflow-x: auto; margin: 24px 0; border: 1px solid var(--hair); border-radius: 16px; background: var(--surface); }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.legal-table th, .legal-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--hair); }
.legal-table thead th { border-top: 0; font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.legal-table td:first-child { width: 42%; color: #fff; font-weight: 700; }
.legal-words { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 18px; padding: 0 !important; list-style: none !important; }
.legal-words li { margin: 0 !important; }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0 !important; }
.contact-card { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 20px; border: 1px solid var(--hair); border-radius: 18px; background: var(--surface); text-decoration: none !important; transition: border-color 0.2s, transform 0.2s var(--ease-out); }
.contact-card:hover { border-color: var(--hair-strong); transform: translateY(-2px); }
.contact-card i { margin-bottom: 10px; font-size: 24px; color: #fff; }
.contact-card span { font-size: 13px; color: var(--dim); }
.contact-card b { font-size: 18px; font-weight: 900; color: #fff; }
.legal-404 .legal-body .btn { margin-top: 18px; text-decoration: none; color: #fff; }
.legal-bare { background: transparent; }
.legal-bare .legal { padding: 24px 20px 40px; }

/* ---------- Apparitions (reprises de desirely.co) ----------
 * Léger flou + petit glissement en diagonale, en cascade de 70 ms.
 * `.vu` est posé par crm.js quand l'élément entre à l'écran. Sans JS ou avec
 * « réduire les animations », tout reste visible.
 */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .revele, .revele-cascade > * { opacity: 0; }
  .revele.vu, .revele-cascade.vu > * { opacity: 1; animation: apparait 0.45s cubic-bezier(0.32, 0.72, 0, 1) backwards; }
  .revele-cascade.vu > :nth-child(2) { animation-delay: 0.07s; }
  .revele-cascade.vu > :nth-child(3) { animation-delay: 0.14s; }
  .revele-cascade.vu > :nth-child(4) { animation-delay: 0.21s; }
  .revele-cascade.vu > :nth-child(5) { animation-delay: 0.28s; }
  .revele-cascade.vu > :nth-child(n + 6) { animation-delay: 0.35s; }
}
@keyframes apparait {
  0% { opacity: 0; transform: translate(16px, 16px); filter: blur(8px); }
  100% { opacity: 1; transform: translate(0, 0); filter: blur(0); }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .app-side { display: none; }
  .demo-tag { left: 22px; }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .welcome { grid-template-columns: minmax(0, 1fr); }
  .welcome-proof { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .proof-list { flex-direction: row; flex-wrap: wrap; gap: 6px 16px; width: 100%; }
  .dash { grid-template-columns: minmax(0, 1fr); }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .num:nth-child(3) { border-left: 0; padding-left: 0; }
  .app-seg { display: none; }
}

@media (max-width: 680px) {
  .site-head { height: 58px; padding: 0 16px; }
  .head-link, .head-cta { display: none; }
  .hero { padding: 10px 10px 0; }
  .app { height: auto; border-radius: 20px; box-shadow: 0 30px 80px -40px rgba(230, 42, 50, 0.45); }
  .app-main { grid-template-rows: auto; }
  .app-top { display: none; }
  .app-scroll { padding: 10px; gap: 10px; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); }
  .welcome { padding: 24px 18px 20px; border-radius: 18px; gap: 18px; }
  .welcome h1 { font-size: 42px; }
  .welcome-sub { font-size: 16px; }
  .welcome-ctas { flex-direction: column; }
  .welcome-ctas .btn { width: 100%; height: 56px; font-size: 17px; }
  .welcome-proof { padding: 14px; gap: 10px; }
  .welcome-proof .proof-list { display: none; }
  .proof-avatars .av { width: 34px; height: 34px; }
  .proof-txt b { font-size: 17px; }
  .dash { gap: 10px; }
  .card { padding: 16px; border-radius: 18px; }
  .chart { height: 110px; }
  .tiles { gap: 10px; }
  .tile { padding: 12px; border-radius: 16px; }
  .tile b { font-size: 22px; }
  .tiles { grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-tag { top: auto; bottom: auto; left: auto; right: 14px; top: 14px; display: none; }
  .band, .section, .final, .site-foot { padding-left: 16px; padding-right: 16px; }
  .numbers { margin-top: 48px; }
  .num { padding: 0 0 0 16px; }
  .num span { font-size: 13px; }
  .section { margin-top: 84px; }
  .section-head { margin-bottom: 24px; }
  .feat-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .feat { min-height: 0; padding: 18px; border-radius: 18px; }
  .feat-wide { grid-column: auto; flex-direction: column; }
  .feat:not(.feat-affil) { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; align-items: start; }
  .feat:not(.feat-affil) .feat-ico { grid-row: span 2; margin: 0; }
  .feat:not(.feat-affil) > h3, .feat:not(.feat-affil) > p, .feat:not(.feat-affil) > div { grid-column: 2; }
  .feat h3 { font-size: 19px; }
  .feat-wide h3 { font-size: 21px; }
  .feat-big { font-size: 64px; }
  .cmp-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cmp-row > span[role='rowheader'] { grid-column: 1 / -1; padding: 14px 16px 0; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
  .cmp-row > span[role='cell'] { padding: 8px 16px 14px; font-size: 14px; align-items: flex-start; }
  .cmp-us { background: transparent; }
  .cmp-headrow { display: none; }
  .faq summary { font-size: 17px; padding: 18px 0; }
  .faq details p { padding-right: 0; font-size: 15px; }
  .final { margin: 96px 16px 0; padding: 56px 18px; border-radius: 24px; }
  .final-ctas { flex-direction: column; width: 100%; }
  .final-ctas .btn { width: 100%; height: 56px; font-size: 17px; }
  .final .sticker-money { font-size: 44px; right: 8%; }
  .foot-doors { grid-template-columns: minmax(0, 1fr); }
  .site-foot { padding-bottom: 110px; }

  .legal { padding: 32px 16px 0; }
  .legal-body { font-size: 15px; }
  .legal-table td:first-child { width: auto; }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }

  .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: block;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(to top, var(--bg) 70%, transparent);
    transform: translateY(110%);
    transition: transform 0.35s var(--ease-out);
  }
  .sticky-cta.show { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
