/* ============================================================
   Repère IA — About page (.ri-about-*)
   Reference: repereia-about-reference-v6-hq-hero.html
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */

.ri-about-hero {
  color: white;
  background: radial-gradient(circle at 70% 45%, #122a6d 0, #061a3a 34%, #020d1e 72%);
  min-height: 435px;
  overflow: hidden;
}

.ri-about-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 24px 34px;
  position: relative;
}

/* ── Breadcrumb (inside hero, dark bg) ─────────────────────── */

.ri-about-bc {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 12px;
  margin-bottom: 29px;
}

.ri-about-bc a {
  color: #a5b4fc;
  text-decoration: none;
}

.ri-about-bc a:hover { color: #fff; }

.ri-about-bc-sep {
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 11px;
}

.ri-about-bc span[aria-current] { color: #a5b4fc; font-weight: 700; }

.ri-about-hero-grid {
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  min-height: 280px;
}

.ri-about-badge {
  display: inline-flex;
  background: #5743ff;
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: 16px;
  color: white;
}

.ri-about-h1 {
  font-size: 39px;
  line-height: 1.12;
  max-width: 600px;
  margin: 0 0 17px;
  color: white;
  font-weight: 800;
}

.ri-about-intro {
  font-size: 15px;
  line-height: 1.6;
  max-width: 570px;
  color: #e1e8f4;
  margin: 0;
}

/* ── Compass ──────────────────────────────────────────────── */

.ri-about-compass {
  height: 315px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
  margin-right: -28px;
}

.ri-about-compass::before {
  content: "";
  position: absolute;
  inset: -24px -38px -24px 2%;
  background: radial-gradient(ellipse at 66% 52%, rgba(42,52,170,.24) 0%, rgba(12,29,83,.12) 38%, transparent 72%);
  pointer-events: none;
}

.ri-about-compass-img {
  display: block;
  width: 124%;
  max-width: none;
  height: 340px;
  object-fit: cover;
  object-position: 58% 50%;
  mix-blend-mode: screen;
  filter: saturate(1.06) contrast(1.035) brightness(1.01);
  image-rendering: auto;
  -webkit-mask-image: radial-gradient(ellipse 74% 72% at 61% 51%, #000 47%, rgba(0,0,0,.92) 60%, rgba(0,0,0,.38) 76%, transparent 94%);
  mask-image: radial-gradient(ellipse 74% 72% at 61% 51%, #000 47%, rgba(0,0,0,.92) 60%, rgba(0,0,0,.38) 76%, transparent 94%);
}

/* ── Trust ────────────────────────────────────────────────── */

.ri-about-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 15px;
}

.ri-about-trust-item { display: flex; gap: 11px; align-items: center; }

.ri-about-trust-icon {
  width: 35px;
  height: 35px;
  border: 1px solid #795cff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #8d75ff;
  flex: none;
}

.ri-about-trust-icon svg { width: 16px; height: 16px; }

.ri-about-trust-item strong {
  font-size: 14px;
  display: block;
  color: white;
  margin-bottom: 2px;
  font-weight: 600;
}

.ri-about-trust-item span { font-size: 11px; color: #c7d0df; }

/* ── Values ───────────────────────────────────────────────── */

.ri-about-values-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.ri-about-values {
  margin-top: 24px;
  background: linear-gradient(90deg, #f6f5ff, #fbfbff);
  border: 1px solid #eeeff8;
  border-radius: 10px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ri-about-value { display: flex; gap: 13px; }

.ri-about-value-ico {
  width: 45px;
  height: 45px;
  border-radius: 13px;
  background: #efedff;
  color: #563fff;
  display: grid;
  place-items: center;
  flex: none;
}

.ri-about-value-ico svg { width: 22px; height: 22px; }

.ri-about-value:nth-child(2) .ri-about-value-ico { color: #376fff; }
.ri-about-value:nth-child(3) .ri-about-value-ico { color: #14ad8b; background: #effbf8; }
.ri-about-value:nth-child(4) .ri-about-value-ico { color: #ff8a3d; background: #fff5ed; }

.ri-about-value h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 4px 0 7px;
  color: #101a33;
}

.ri-about-value p {
  font-size: 11px;
  line-height: 1.55;
  color: #43506a;
  margin: 0;
}

/* ── Main content wrap (full width — no sidebar) ─────────── */

.ri-about-main-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 0;
}

/* ── Mission ──────────────────────────────────────────────── */

.ri-about-mission {
  margin-bottom: 64px;
}

.ri-about-mission h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #101a33;
}

.ri-about-mission-body {
  max-width: 800px;
}

.ri-about-mission-body p {
  font-size: 14px;
  line-height: 1.8;
  color: #3e4c68;
  margin: 0 0 14px;
}

.ri-about-mission-body p:last-child { margin-bottom: 0; }

.ri-about-accent { color: #4f3cff; font-weight: 700; }

/* ── Features ─────────────────────────────────────────────── */

.ri-about-features {
  margin-bottom: 64px;
}

.ri-about-features h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 20px;
  color: #101a33;
}

.ri-about-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ri-about-feature {
  position: relative;
  border: 1px solid #e1e6f1;
  border-radius: 10px;
  padding: 24px;
  min-height: 140px;
  display: flex;
  gap: 14px;
  color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.ri-about-feature-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 10px;
}

@media (prefers-reduced-motion: no-preference) {
  .ri-about-feature:hover {
    border-color: #c0b8ff;
    box-shadow: 0 4px 16px rgba(80, 60, 255, .08);
    transform: translateY(-2px);
  }
}

.ri-about-feature-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
  background: #efedff;
  color: #563fff;
}

.ri-about-feature-ico svg { width: 18px; height: 18px; }

.ri-about-feature h3 {
  font-size: 13px;
  font-weight: 700;
  margin: 2px 0 8px;
  color: #101a33;
  line-height: 1.3;
}

.ri-about-feature p {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  color: #3e4c68;
}

/* ── Methodology ──────────────────────────────────────────── */

.ri-about-method {
  margin-bottom: 56px;
}

.ri-about-method h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 32px;
  color: #101a33;
}

.ri-about-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}

.ri-about-steps::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b8b1ff 20%, #b8b1ff 80%, transparent);
}

.ri-about-step {
  text-align: center;
  position: relative;
  padding: 0 8px;
}

.ri-about-step-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: auto;
  background: linear-gradient(135deg, #7565ff, #4b35ff);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  position: relative;
  box-shadow: 0 2px 8px rgba(75, 53, 255, .25);
}

.ri-about-step h4 {
  font-size: 12px;
  font-weight: 700;
  margin: 13px 0 8px;
  color: #101a33;
}

.ri-about-step p {
  font-size: 11px;
  line-height: 1.6;
  margin: 0;
  color: #3e4c68;
}

/* ── CTA ──────────────────────────────────────────────────── */

.ri-about-cta {
  margin-top: 40px;
  border: 1px solid #dedcff;
  background: linear-gradient(90deg, #f6f5ff, #fafaff);
  border-radius: 13px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.ri-about-cta p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #3e4c68;
}

.ri-about-cta strong { color: #101a33; }

.ri-about-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 7px;
  background: linear-gradient(90deg, #5a38ff, #4168ff);
  color: white;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  text-decoration: none;
  transition: filter .15s;
}

.ri-about-btn:hover { filter: brightness(1.08); }

/* ── Bottom section ───────────────────────────────────────── */

.ri-about-bottom-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.ri-about-behind {
  background: radial-gradient(circle at 90% 0, #1a1870, #03142b 65%);
  border-radius: 14px;
  padding: 28px 32px;
  color: white;
  margin-bottom: 16px;
}

.ri-about-behind h2 {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin: 0 0 14px;
}

.ri-about-behind p {
  font-size: 13px;
  line-height: 1.75;
  color: #d8e0f0;
  margin: 0 0 8px;
}

.ri-about-behind p:last-child { margin-bottom: 0; }

.ri-about-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.ri-about-card {
  border: 1px solid #e1e6f1;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.ri-about-card-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #4c3dff;
}

.ri-about-card-hd svg { flex: none; }

.ri-about-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: #101a33;
}

.ri-about-card p {
  font-size: 13px;
  line-height: 1.7;
  color: #4d5b76;
  margin: 0 0 12px;
}

.ri-about-card p:last-child { margin-bottom: 0; }

.ri-about-nl-form {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}

.ri-about-nl-input {
  height: 41px;
  border: 1px solid #cdd5e8;
  border-radius: 6px;
  width: 100%;
  padding: 0 11px;
  margin: 0 0 9px;
  font-size: 13px;
  font-family: inherit;
  color: #101a33;
  box-sizing: border-box;
}

.ri-about-nl-input:focus {
  outline: 2px solid #5743ff;
  outline-offset: 1px;
  border-color: #5743ff;
}

.ri-about-side-btn {
  display: flex;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 6px;
  background: linear-gradient(90deg, #5a38ff, #4168ff);
  color: white;
  font-weight: 700;
  font-size: 13px;
  width: 100%;
  box-sizing: border-box;
  transition: filter .15s;
  border: none;
  cursor: pointer;
}

.ri-about-side-btn:hover { filter: brightness(1.08); }

.ri-about-nl-small {
  text-align: center;
  font-size: 11px;
  color: #6b7a95;
  margin: 10px 0 0;
}

.ri-about-side-link {
  font-size: 13px;
  font-weight: 700;
  color: #4c3dff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 8px;
}

.ri-about-side-link:hover { text-decoration: underline; }

/* ── Responsive 1024px ────────────────────────────────────── */

@media (max-width: 1024px) {
  .ri-about-main-wrap,
  .ri-about-values-wrap,
  .ri-about-bottom-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ── Responsive 800px (tablet) ────────────────────────────── */

@media (max-width: 800px) {
  .ri-about-hero-grid { grid-template-columns: 1fr; }
  .ri-about-h1 { font-size: 34px; }

  .ri-about-compass {
    height: 235px;
    margin: 10px -18px 0;
    justify-content: center;
  }

  .ri-about-compass-img {
    width: 118%;
    height: 255px;
    max-width: 620px;
    object-position: 58% 50%;
  }

  .ri-about-trust { grid-template-columns: repeat(2, 1fr); }
  .ri-about-values { grid-template-columns: 1fr 1fr; }

  .ri-about-main-wrap { padding-top: 40px; }
  .ri-about-mission,
  .ri-about-features { margin-bottom: 48px; }

  .ri-about-feature-grid { grid-template-columns: 1fr 1fr; }

  .ri-about-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ri-about-steps::before { display: none; }

  .ri-about-step {
    text-align: left;
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
    align-items: start;
  }

  .ri-about-step-dot {
    grid-row: 1 / 3;
    margin: 0;
  }

  .ri-about-step h4,
  .ri-about-step p { text-align: left; margin-top: 0; }

  .ri-about-step h4 { margin-bottom: 4px; }

  .ri-about-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .ri-about-btn { width: 100%; justify-content: center; }

  .ri-about-bottom-grid { grid-template-columns: 1fr; }
  .ri-about-behind { padding: 22px 24px; }
}

/* ── Responsive 520px (mobile) ────────────────────────────── */

@media (max-width: 520px) {
  .ri-about-hero-inner { padding-left: 17px; padding-right: 17px; }
  .ri-about-h1 { font-size: 31px; }
  .ri-about-intro { font-size: 14px; }

  .ri-about-trust { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ri-about-values { grid-template-columns: 1fr; }

  .ri-about-values-wrap,
  .ri-about-main-wrap,
  .ri-about-bottom-wrap { padding-left: 16px; padding-right: 16px; }

  .ri-about-compass {
    height: 205px;
    margin-left: -28px;
    margin-right: -28px;
  }

  .ri-about-compass-img { width: 128%; height: 225px; max-width: none; }

  .ri-about-feature-grid { grid-template-columns: 1fr; }

  .ri-about-main-wrap { padding-top: 32px; }

  .ri-about-bottom-wrap { padding-bottom: 80px; }
}
