/* ONIMA landing : single stylesheet, mockup-derived design tokens.
   Greens sampled from the operator's mockups; navy from the brand board. */

:root {
  --green: #4fae37;          /* sidebar active green (sampled 79,174,55) */
  --green-deep: #259204;     /* NOUVEAU badge green (37,146,4) */
  --green-soft: #8cce88;     /* probability ring green (140,206,136) */
  --green-tint: #e8f5e4;
  --navy: #000a16;           /* sidebar navy (0,10,22) */
  --navy-2: #0a1628;
  --ink: #101828;
  --ink-soft: #475467;
  --line: #e5e7eb;
  --bg: #f7f8f7;
  --card: #ffffff;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .08);
  --shadow-lg: 0 12px 40px rgba(16, 24, 40, .14);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; border-radius: 12px; padding: 10px 18px; border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; font-size: 15px; }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 4px 14px rgba(79, 174, 55, .35); }
.btn--primary:hover { background: #449930; transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn--ghost:hover { border-color: var(--green); color: var(--green-deep); }
.btn--lg { padding: 14px 26px; font-size: 16px; border-radius: 14px; }

/* ---------- 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; height: 68px; }
.site-header__brand img { height: 44px; width: auto; }
.site-header__nav { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: 15px; color: var(--ink-soft); }
.site-header__nav a:not(.btn):hover { color: var(--green-deep); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); padding: 72px 0 56px; }
.hero__inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.hero__kicker { color: var(--green-deep); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; margin-bottom: 14px; }
.hero__title { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; color: var(--navy-2); }
.hero__lead { margin-top: 18px; font-size: 18px; color: var(--ink-soft); max-width: 56ch; }
.hero__tagline { margin-top: 14px; font-weight: 700; color: var(--green-deep); letter-spacing: .06em; }
.hero__actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__visual { display: flex; justify-content: center; }
.hero__visual img { width: min(300px, 60vw); filter: drop-shadow(0 24px 48px rgba(10, 22, 40, .18)); }

/* ---------- KPI banner ---------- */
.kpis { background: var(--navy); color: #fff; padding: 26px 0; }
.kpis__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.kpi__value { display: block; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; color: var(--green-soft); font-variant-numeric: tabular-nums; }
.kpi__label { display: block; margin-top: 2px; font-size: 13.5px; color: rgba(255, 255, 255, .75); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--alt { background: #eef3ee; }
.section__title { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.015em; color: var(--navy-2); }
.section__lead { margin-top: 12px; color: var(--ink-soft); font-size: 17px; max-width: 72ch; }

/* ---------- Value grid ---------- */
.value-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.value-card__title { font-size: 17px; font-weight: 700; color: var(--navy-2); }
.value-card__title::before { content: ""; display: block; width: 34px; height: 4px; border-radius: 2px; background: var(--green); margin-bottom: 12px; }
.value-card__text { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Project cards ---------- */
.project-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.project-card { background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.project-card__media { position: relative; aspect-ratio: 3 / 2; background: #dde4dd; }
.project-card__image { width: 100%; height: 100%; object-fit: cover; }
.project-card__badge { position: absolute; top: 14px; left: 14px; background: var(--green-tint); color: var(--green-deep); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 8px; }
.project-card__status { position: absolute; bottom: 14px; left: 14px; background: rgba(255, 255, 255, .94); color: var(--ink); font-weight: 600; font-size: 13px; padding: 6px 12px 6px 26px; border-radius: 999px; box-shadow: var(--shadow); }
.project-card__status::before { content: ""; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 9px; height: 9px; border-radius: 50%; background: var(--status-color, var(--green)); }
.project-card__body { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.project-card__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.project-card__title { font-size: 20px; font-weight: 800; color: var(--navy-2); letter-spacing: -0.01em; }
.project-card__location { margin-top: 3px; color: var(--ink-soft); font-size: 14.5px; }
.project-card__location::before { content: "📍 "; font-size: 13px; }
.project-card__chips { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: #f2f4f7; border: 1px solid var(--line); color: var(--ink-soft); font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 8px; }

/* probability ring (conic gradient) */
.prob-ring { --size: 92px; width: var(--size); min-width: var(--size); text-align: center; }
.prob-ring__value { display: grid; place-items: center; width: var(--size); height: var(--size); border-radius: 50%; font-weight: 800; font-size: 20px; color: var(--navy-2); background:
  radial-gradient(closest-side, var(--card) 78%, transparent 79% 100%),
  conic-gradient(var(--green) calc(var(--prob) * 1%), #e6e9e6 0); }
.prob-ring__label { display: block; margin-top: 6px; font-size: 11px; color: var(--ink-soft); line-height: 1.25; }

/* stepper */
.stepper { list-style: none; display: grid; grid-template-columns: repeat(8, 1fr); gap: 0; position: relative; }
.stepper__step { position: relative; text-align: center; padding-top: 2px; }
.stepper__step:not(:last-child)::after { content: ""; position: absolute; top: 10px; left: 50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.stepper__step--done:not(:last-child)::after { background: var(--green); }
.stepper__dot { position: relative; z-index: 1; display: inline-block; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--line); }
.stepper__step--done .stepper__dot { background: var(--green); border-color: var(--green); box-shadow: inset 0 0 0 3px #fff; }
.stepper__step--current .stepper__dot { border-color: var(--green); box-shadow: 0 0 0 4px rgba(79, 174, 55, .2); }
.stepper__label { display: block; margin-top: 6px; font-size: 11px; font-weight: 600; color: var(--ink-soft); }
.stepper__step--done .stepper__label, .stepper__step--current .stepper__label { color: var(--navy-2); }
.stepper__quarter { display: block; font-size: 10.5px; color: var(--ink-soft); }

/* facts row */
.project-card__facts { display: flex; gap: 26px; border-top: 1px solid var(--line); padding-top: 16px; flex-wrap: wrap; }
.fact__label { font-size: 12px; color: var(--ink-soft); }
.fact__value { font-size: 15.5px; font-weight: 700; color: var(--navy-2); margin-top: 2px; }
.fact--wide { flex: 1; min-width: 220px; }
.fact__hint { color: var(--green-deep); font-weight: 700; }

/* ---------- Method ---------- */
.method { margin-top: 36px; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.method__step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.method__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--green-tint); color: var(--green-deep); font-weight: 800; font-size: 18px; }
.method__title { margin-top: 14px; font-size: 17px; font-weight: 700; color: var(--navy-2); }
.method__text { margin-top: 8px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Waitlist ---------- */
.section--waitlist { background: var(--navy); color: #fff; }
.section--waitlist .section__title { color: #fff; }
.section--waitlist .section__lead { color: rgba(255, 255, 255, .78); }
.waitlist__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.waitlist__contact { margin-top: 18px; color: rgba(255, 255, 255, .78); }
.waitlist__contact a { color: var(--green-soft); font-weight: 700; }
.waitlist-form { background: var(--card); color: var(--ink); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 16px; }
.waitlist-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.field__input { border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; font-size: 15px; font-family: inherit; background: #fbfcfb; transition: border-color .12s ease, box-shadow .12s ease; }
.field__input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(79, 174, 55, .14); background: #fff; }
.waitlist-form__hp { position: absolute; left: -9999px; opacity: 0; }
.waitlist-form__submit { width: 100%; }
.waitlist-form__done { color: var(--green-deep); font-weight: 700; }
.waitlist-form__error { color: #b42318; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); color: rgba(255, 255, 255, .75); padding: 40px 0; }
.site-footer__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.site-footer__meta { font-size: 14px; }
.site-footer a { color: var(--green-soft); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero__visual img { width: 140px; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .method { grid-template-columns: 1fr; }
  .waitlist__inner { grid-template-columns: 1fr; gap: 28px; }
  .kpis__inner { grid-template-columns: 1fr 1fr; gap: 20px 10px; }
}
@media (max-width: 640px) {
  .site-header__nav a:not(.btn) { display: none; }
  .hero { padding: 44px 0 36px; }
  .section { padding: 52px 0; }
  .value-grid { grid-template-columns: 1fr; }
  .waitlist-form__row { grid-template-columns: 1fr; }
  .stepper { grid-template-columns: repeat(4, 1fr); row-gap: 18px; }
  .stepper__step:nth-child(4n)::after { display: none; }
  .project-card__head { flex-direction: row; }
  .prob-ring { --size: 78px; }
  .prob-ring__value { font-size: 17px; }
}
