/* ================================================
   NOVIABOT — Pages légales standalone
   DA officielle : Montserrat, #23134d, violet/cyan
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #23134d;
  --bg-dark:   #160b33;
  --bg-card:   #1e0f42;
  --border:    rgba(145,70,255,.3);
  --violet:    #9147ff;
  --cyan:      #18e7ff;
  --text:      #e8eaff;
  --text-dim:  #9b93c7;
  --white:     #ffffff;
  --danger:    #ff487d;
  --font:      'Montserrat', 'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
  line-height: 1.65;
}

/* ── HEADER ── */
.lp-header {
  background: #3c1b7a;
  border-bottom: 2px solid rgba(24,231,255,.35);
  box-shadow: 0 2px 24px rgba(24,231,255,.12), 0 1px 8px rgba(145,70,255,.3);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.lp-logo img { height: 26px; width: 26px; }
.lp-logo-text { font-weight: 900; font-size: 1.25rem; letter-spacing: .02em; }
.lp-logo-text .nov { color: #b978f7; }
.lp-logo-text .ia  { color: #18e7ff; }
.lp-logo-text .bot { color: #b978f7; }

.lp-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--cyan);
  text-decoration: none;
  font-weight: 700;
  font-size: .85rem;
  transition: .2s;
}
.lp-back:hover { color: #fff; }

/* ── HERO ── */
.lp-hero {
  background: linear-gradient(135deg, #2a1060 0%, #1a0d3d 60%, #0d0820 100%);
  border-bottom: 1px solid var(--border);
  padding: 56px 2rem 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(145,70,255,.18) 0%, transparent 70%);
  pointer-events: none;
}

.lp-badge {
  display: inline-block;
  background: rgba(145,70,255,.18);
  border: 1px solid rgba(145,70,255,.45);
  border-radius: 50px;
  color: #b978f7;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  margin-bottom: 1.2rem;
}

.lp-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  text-shadow: 0 0 30px rgba(145,70,255,.5);
  margin-bottom: .8rem;
  line-height: 1.2;
}
.lp-title span {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
  background: none;
}

.lp-subtitle {
  color: var(--text-dim);
  font-size: .95rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── LAYOUT ── */
.lp-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 52px 2rem 80px;
}

/* ── SECTIONS ── */
.lp-section {
  margin-bottom: 2.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--violet);
  border-radius: 14px;
  padding: 28px 32px;
  position: relative;
  transition: border-color .2s;
}
.lp-section:hover { border-left-color: var(--cyan); }

.lp-section h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.lp-section h2 .ico {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, rgba(145,70,255,.25), rgba(24,231,255,.15));
  border: 1px solid rgba(145,70,255,.4);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}

.lp-section p {
  margin-bottom: .9rem;
  font-size: .92rem;
  color: var(--text);
}
.lp-section p:last-child { margin-bottom: 0; }

.lp-section ul {
  list-style: none;
  margin-bottom: .9rem;
}
.lp-section ul li {
  font-size: .92rem;
  padding: .35rem 0 .35rem 1.4rem;
  position: relative;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.lp-section ul li:last-child { border-bottom: none; }
.lp-section ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: .75rem;
  top: .45rem;
}

strong { color: var(--white); font-weight: 700; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── ALERT BOX ── */
.lp-alert {
  background: rgba(145,70,255,.1);
  border: 1px solid rgba(145,70,255,.35);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 1rem;
  font-size: .88rem;
  color: #c4b5ff;
}
.lp-alert.danger {
  background: rgba(255,72,125,.08);
  border-color: rgba(255,72,125,.3);
  color: #ffaabf;
}
.lp-alert.success {
  background: rgba(24,231,255,.07);
  border-color: rgba(24,231,255,.25);
  color: #a0f5ff;
}

/* ── NAV LÉGALE ── */
.lp-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2.4rem;
}
.lp-nav a {
  flex: 1;
  min-width: 140px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  text-align: center;
  color: var(--text-dim);
  font-weight: 700;
  font-size: .82rem;
  text-decoration: none;
  transition: .2s;
}
.lp-nav a:hover, .lp-nav a.active {
  background: rgba(145,70,255,.15);
  border-color: var(--violet);
  color: var(--white);
}
.lp-nav a.active {
  background: linear-gradient(135deg, rgba(145,70,255,.25), rgba(24,231,255,.1));
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ── VERSION ── */
.lp-version {
  text-align: center;
  color: var(--text-dim);
  font-size: .78rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* ── FOOTER ── */
.lp-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  color: var(--text-dim);
  font-size: .8rem;
}
.lp-footer a { color: var(--violet); }

/* ── CONTACT CARD ── */
.lp-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: .8rem 0;
}
.lp-contact-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 12px 16px;
}
.lp-contact-item .label {
  font-size: .75rem;
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .3rem;
}
.lp-contact-item .value {
  font-size: .88rem;
  color: var(--cyan);
  font-weight: 600;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .lp-header { padding: 0 max(1rem, env(safe-area-inset-right)) 0 max(1rem, env(safe-area-inset-left)); }
  .lp-hero { padding: 40px max(1rem, env(safe-area-inset-right)) 36px max(1rem, env(safe-area-inset-left)); }
  .lp-body { padding: 32px max(1rem, env(safe-area-inset-right)) 60px max(1rem, env(safe-area-inset-left)); }
  .lp-section { padding: 20px 18px; }
}

@media (max-width: 900px) {
  .lp-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    line-height: 1.15;
  }
  .lp-subtitle {
    font-size: clamp(0.95rem, 3.2vw, 1.1rem);
    padding: 0 0.5rem;
  }
  .lp-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  .lp-nav a {
    font-size: 0.8rem;
    padding: 0.45rem 0.65rem;
  }
}

@media (max-width: 480px) {
  .lp-header {
    height: auto;
    min-height: 54px;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: max(8px, env(safe-area-inset-top));
    padding-bottom: 8px;
  }
  .lp-back {
    font-size: 0.78rem;
  }
}
