/* ============================================================
   OCSAPP About page (2026-08 redesign, from approved Final package)
   Page-specific styles - shared tokens live in global.css.
   The source package's standalone header/footer styles were
   dropped; this page uses the shared site header/footer.
   ============================================================ */

:root {
  --green: #00B207;
  --green-rgb: 0,178,7;
  --green-dark: #0a2e14;
  --green-panel-1: #0b2f16;
  --green-panel-2: #0f4020;
  --green-soft: #e9f9ea;
  --white: #ffffff;
  --bg-light: #f7f8f7;
  --border: #e5e7e4;
  --text-dark: #17181a;
  --text-grey: #6b7280;
  --text-grey-light: #9aa19c;
  --shadow-sm: 0 8px 28px rgba(16,24,18,.07);
  --shadow-md: 0 18px 54px rgba(16,24,18,.11);
  --shadow-green: 0 16px 48px rgba(var(--green-rgb),.12);
}

html { scroll-behavior: smooth; }
body.about-page {
  background: var(--white);
  color: var(--text-dark);
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.about-page h1, .about-page h2, .about-page h3, .about-page .btn { font-family: 'Poppins', 'Segoe UI', sans-serif; }
.about-page a { text-decoration: none; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 32px; }

/* Hero */
.hero { padding: 94px 0 80px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 620px; height: 360px; left: 50%; top: 54%; transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(var(--green-rgb),.09) 0%, rgba(var(--green-rgb),.025) 44%, transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em;
  color: var(--green); background: #eafbea; padding: 7px 16px; border-radius: 100px; margin-bottom: 26px;
  box-shadow: inset 0 0 0 1px rgba(var(--green-rgb),.10);
}
.hero h1 {
  font-size: clamp(42px, 5.2vw, 64px); font-weight: 700; line-height: 1.15; letter-spacing: -.035em;
  margin-bottom: 18px; color: var(--text-dark); max-width: 820px; margin-left: auto; margin-right: auto;
}
.hero h1 span { color: var(--green); }
.hero-sub { font-size: 18px; color: var(--text-grey); max-width: 720px; margin: 0 auto 36px; line-height: 1.75; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--white); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 100px; border: none; cursor: pointer;
  box-shadow: 0 14px 34px rgba(var(--green-rgb),.22); transition: .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(var(--green-rgb),.28); }
.hero-proof-row { max-width: 760px; margin: 38px auto 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.hero-proof-item {
  background: rgba(255,255,255,.82); border: 1px solid rgba(var(--green-rgb),.16); border-radius: 16px;
  padding: 17px 16px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 2px;
}
.hero-proof-item strong { color: var(--green); font-family: 'Poppins','Segoe UI',sans-serif; font-size: 22px; line-height: 1.2; }
.hero-proof-item span { color: var(--text-grey); font-size: 12.5px; }

/* Positioning strip */
.positioning-strip {
  background: linear-gradient(180deg,#fafcfa 0%,#f5f8f5 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 44px 0; text-align: center;
}
.positioning-copy {
  font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; color: var(--text-dark);
  max-width: 760px; margin: 0 auto; line-height: 1.5; letter-spacing: -.015em;
}
.positioning-copy span { color: var(--green); }

/* Intro */
.intro { padding: 76px 0 54px; text-align: center; }
.intro h2 { font-size: 32px; letter-spacing: -.025em; margin-bottom: 15px; }
.intro p { font-size: 17px; color: var(--text-grey); max-width: 760px; margin: 0 auto; line-height: 1.85; }

/* Why OCSAPP */
.why-ocsapp { padding: 12px 0 78px; }
.section-eyebrow {
  color: var(--green); font-size: 12px; font-family: 'Poppins','Segoe UI',sans-serif; font-weight: 700;
  letter-spacing: .12em; margin-bottom: 10px; text-align: center;
}
.why-ocsapp h2 { text-align: center; font-size: 31px; letter-spacing: -.02em; margin-bottom: 12px; }
.section-lead { max-width: 760px; text-align: center; color: var(--text-grey); margin: 0 auto 34px; font-size: 16px; line-height: 1.8; }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.why-card {
  position: relative; background: white; border: 1px solid var(--border); border-radius: 18px;
  padding: 28px 26px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.why-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--green); opacity: .9; }
.why-num { color: var(--green); font-family: 'Poppins','Segoe UI',sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .12em; margin-bottom: 20px; }
.why-card h3 { font-size: 19px; margin-bottom: 9px; letter-spacing: -.01em; }
.why-card p { color: var(--text-grey); font-size: 14px; line-height: 1.7; }

/* Value panel */
.value-panel {
  background: linear-gradient(135deg, var(--green-panel-1) 0%, var(--green-panel-2) 100%);
  border-radius: 22px; padding: 54px 52px; margin: 0 auto 64px; max-width: 976px;
  box-shadow: 0 26px 70px rgba(4,39,13,.18); position: relative; overflow: hidden;
}
.value-panel::before {
  content: ""; position: absolute; width: 420px; height: 420px; right: -180px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--green-rgb),.24), transparent 68%);
}
.value-panel > * { position: relative; }
.value-panel h2 { color: var(--white); font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.value-panel h2 span { color: #7ee881; }
.value-panel .sub { color: #b9e6bb; font-size: 15px; margin-bottom: 28px; }
.value-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px 40px; }
.value-row { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; }
.value-tick {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: var(--white); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
  box-shadow: 0 0 0 6px rgba(var(--green-rgb),.08), 0 0 22px rgba(var(--green-rgb),.22);
}
.value-row p { color: var(--white); font-size: 15px; }

/* Services */
.services { padding: 32px 0 70px; }
.services-head { text-align: center; margin-bottom: 48px; max-width: 760px; margin-left: auto; margin-right: auto; }
.services-head h2 { font-size: 34px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.025em; }
.services-head p { color: var(--text-grey); font-size: 16px; }
.service-architecture-note { margin-top: 10px; color: var(--green); font-size: 13.5px; font-weight: 600; }

.ecosystem-flow {
  border: 1px solid var(--border); border-radius: 20px; padding: 38px 32px; margin-bottom: 44px;
  box-shadow: var(--shadow-sm); background: linear-gradient(180deg,#fbfdfb,#f4f8f4);
}
.flow-kicker { text-align: center; color: var(--green); font-size: 11.5px; letter-spacing: .12em; font-family: 'Poppins','Segoe UI',sans-serif; font-weight: 700; margin-bottom: 8px; }
.flow-title { text-align: center; font-size: 22px; letter-spacing: -.02em; margin-bottom: 26px; }
.flow-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.flow-badge {
  background: var(--white); border: 1px solid var(--border); color: var(--text-dark);
  font-size: 13.5px; font-weight: 600; padding: 9px 16px; border-radius: 100px;
  box-shadow: 0 5px 16px rgba(14,24,16,.04);
}
.flow-badge-hub {
  background: var(--green); color: var(--white); border-color: var(--green);
  font-size: 15px; padding: 11px 22px; box-shadow: 0 10px 24px rgba(var(--green-rgb),.2);
}
.flow-badge-livreur { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }
.flow-arrow-down { text-align: center; color: var(--green); font-weight: 700; font-size: 16px; margin: 4px 0; }
.flow-explainer { font-size: 14.5px; color: var(--text-grey); text-align: center; max-width: 640px; margin: 20px auto 0; line-height: 1.7; }
.flow-explainer strong { color: var(--text-dark); }

.service-card {
  position: relative; border: 1px solid var(--border); border-top: 3px solid var(--green);
  border-radius: 20px; padding: 38px 40px; margin-bottom: 24px; background: #fff;
  box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; overflow: hidden;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md), var(--shadow-green); border-color: rgba(var(--green-rgb),.34); }
.service-card::before {
  content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--green-rgb),.06), transparent 70%);
  top: -82px; right: -65px; pointer-events: none;
}
.service-index { position: absolute; top: 22px; right: 24px; font-family: 'Poppins','Segoe UI',sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .12em; color: rgba(var(--green-rgb),.55); }
.service-top { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.service-icon-img { width: 72px; max-height: 72px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 10px 18px rgba(var(--green-rgb),.12)); }
.service-tag { font-size: 11.5px; font-weight: 600; letter-spacing: .11em; color: var(--green); text-transform: uppercase; }
.service-card h3 { font-size: 25px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.02em; }
.service-tagline { font-size: 15px; color: var(--text-grey-light); font-style: italic; margin-bottom: 16px; }
.service-card p.desc { font-size: 15.5px; color: var(--text-grey); margin-bottom: 16px; max-width: 780px; line-height: 1.8; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; }
.chip {
  font-size: 12.5px; color: var(--green-dark); background: #f1fbf2; border: 1px solid #d4efd5;
  padding: 5px 14px 5px 6px; border-radius: 100px; display: inline-flex; align-items: center; gap: 7px;
  transition: .18s ease;
}
.chip:hover { border-color: var(--green); transform: translateY(-1px); }
.chip-icon { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.quote {
  border-left: 3px solid var(--green); border-radius: 10px; padding: 15px 18px;
  background: linear-gradient(90deg,#eef9ef,#f8fcf8);
  font-size: 14.5px; color: var(--green-dark); font-style: italic; margin-bottom: 18px;
}
.service-cta { color: var(--green); font-weight: 600; font-size: 14.5px; border-bottom: 1.5px solid transparent; display: inline-flex; align-items: center; gap: 6px; }
.service-cta:hover { border-color: var(--green); }

/* Explore */
.explore { background: var(--bg-light); padding: 84px 0; text-align: center; }
.explore h2 { font-size: 32px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.025em; }
.explore-sub { color: var(--text-grey); font-size: 15.5px; margin-bottom: 36px; }
.explore-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.explore-card {
  display: flex; flex-direction: column; gap: 6px; text-align: left; justify-content: center; min-height: 138px;
  background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--green);
  border-radius: 16px; padding: 20px 18px; box-shadow: var(--shadow-sm); transition: .2s ease;
}
.explore-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green); }
.explore-label { font-family: 'Poppins','Segoe UI',sans-serif; font-weight: 700; font-size: 16px; color: var(--green); }
.explore-desc { font-size: 13px; color: var(--text-grey); line-height: 1.5; }

/* Trust / data residency */
.trust { padding: 72px 0; }
.trust h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; letter-spacing: -.02em; }
.trust p { color: var(--text-grey); font-size: 15px; max-width: 620px; line-height: 1.75; }
.trust p a { color: var(--green); font-weight: 600; }
.trust-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 28px; }
.trust-card { border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); background: #fff; }
.trust-card h4 { font-family: 'Poppins','Segoe UI',sans-serif; font-size: 16px; margin-bottom: 8px; }
.trust-card p { font-size: 13.5px; color: var(--text-grey); margin: 0; }

/* Legal identity strip (from the approved package's footer, kept as page content) */
.legal-identity { border-top: 1px solid var(--border); padding: 28px 0 40px; text-align: center; }
.legal-identity .foot-tagline { font-size: 13.5px; color: var(--green); font-style: italic; margin-bottom: 12px; }
.legal-identity p { font-size: 13px; color: var(--text-grey-light); margin-bottom: 4px; }

/* Shared footer sits flush against the page */
footer.footer { margin-top: 0; }

@media (max-width: 760px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero { padding: 72px 0 58px; }
  .hero-proof-row { grid-template-columns: 1fr; max-width: 420px; }
  .why-grid { grid-template-columns: 1fr; }
  .value-panel { padding: 38px 26px; margin-left: 16px; margin-right: 16px; }
  .value-grid { grid-template-columns: 1fr; }
  .service-card { padding: 30px 24px; }
  .service-icon-img { width: 60px; max-height: 60px; }
  .explore-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .flow-row { flex-direction: column; }
}
@media (max-width: 500px) {
  .explore-grid { grid-template-columns: 1fr; }
  .intro h2, .why-ocsapp h2, .services-head h2, .explore h2 { font-size: 27px; }
  .hero-sub { font-size: 16px; }
}
