/* ============================================================
   i4o — Site vitrine · feuille de style partagée
   Charte : Amber 700 · warm off-white · Inter Tight / Geist Mono
   ============================================================ */

:root {
  --amber:        #B45309;
  --amber-soft:   #C2691E;
  --sky:          #CDECFE;
  --sky-deep:     #6E9CB8;
  --sky-tint:     #EAF4FB;

  --paper:        #FAFAF8;
  --paper-2:      #ECEAE4;
  --card:         #F4EFE5;
  --card-border:  #EAE2D3;

  --ink:          #0A0A0A;
  --text:         #3F3F3F;
  --text-2:       #57534E;
  --text-3:       #78716B;
  --muted:        #9A9388;

  --line:         #E4E1DA;
  --line-2:       #ECE9E2;

  --radius:       12px;
  --radius-lg:    14px;
  --radius-sm:    10px;

  --maxw:         1120px;

  --sans: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ---------- type helpers ---------- */
.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.mono-amber { color: var(--amber); }
.serif-it { font-family: var(--serif); font-style: italic; }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.022em; color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.amber-num { color: var(--amber); }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }

.eyebrow { margin-bottom: 20px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 16px; font-weight: 600;
  line-height: 1; letter-spacing: -0.01em;
  padding: 15px 26px; border-radius: 9px; border: 1px solid transparent;
  cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--amber); color: var(--paper); }
.btn-primary:hover { background: #9C480A; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text-3); background: rgba(0,0,0,.02); }
.btn-arrow::after { content: "→"; font-weight: 500; }

/* ---------- top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand .word {
  font-size: 21px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink);
}
.brand .word i { font-style: normal; }
.brand .word b { color: var(--amber); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a.lnk {
  color: var(--text-2); font-size: 15px; font-weight: 500; padding: 8px 14px;
  border-radius: 8px; letter-spacing: -0.01em;
}
.nav-links a.lnk:hover { color: var(--ink); background: rgba(0,0,0,.03); text-decoration: none; }
.nav-links a.lnk.active { color: var(--ink); }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 11px 18px; font-size: 14.5px; }

.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { padding: 92px 0 72px; }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -0.03em;
  max-width: 16ch;
}
.hero .lede {
  font-size: 19px; line-height: 1.55; color: var(--text-2); margin-top: 24px; max-width: 62ch;
}
.hero-cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero-note {
  margin-top: 22px; font-size: 13.5px; color: var(--muted); display: flex;
  align-items: center; gap: 10px; flex-wrap: wrap;
}
.hero-note .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }

/* ---------- stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper);
  overflow: hidden;
}
.stat { padding: 38px 32px; }
.stat + .stat { border-left: 1px solid var(--line-2); }
.stat .num {
  font-size: clamp(40px, 5vw, 54px); line-height: 1; font-weight: 600;
  letter-spacing: -0.03em; color: var(--amber);
}
.stat .lab { margin-top: 12px; font-size: 15px; color: var(--text-3); line-height: 1.4; }

/* ---------- feature rows / cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px;
}
.card.tint { background: var(--card); border-color: var(--card-border); }

.card .ix {
  font-family: var(--mono); font-size: 12px; color: var(--amber); margin-bottom: 18px;
  display: block; letter-spacing: 0.04em;
}
.card h3 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.25; }
.card p { margin-top: 11px; font-size: 15px; line-height: 1.6; color: var(--text); }

/* bullet list (what i4o does) */
.points { display: grid; gap: 26px; }
.point { display: grid; grid-template-columns: 13px 1fr; gap: 18px; align-items: start; }
.point .pdot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-top: 11px; }
.point h3 { font-size: 21px; letter-spacing: -0.02em; }
.point p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--text); }

/* ---------- section heading ---------- */
.shead { max-width: 56ch; }
.shead h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -0.028em; }
.shead p { margin-top: 16px; font-size: 18px; line-height: 1.55; color: var(--text-2); }

/* ---------- screenshot placeholder ---------- */
.shot {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.018) 0 1px, transparent 1px 9px),
    var(--paper);
  aspect-ratio: 16 / 10; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; overflow: hidden; color: var(--text-3);
}
.shot .cap-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.shot .cap-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-2); }
.shot .cap-meta { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 12px; letter-spacing: 0.04em; }
.shot::before, .shot::after,
.shot .br-tl, .shot .br-br { content: ""; position: absolute; width: 22px; height: 22px; pointer-events: none; }
.shot::before { top: 16px; left: 16px; border-top: 2px solid var(--amber); border-left: 2px solid var(--amber); }
.shot::after  { bottom: 16px; right: 16px; border-bottom: 2px solid var(--amber); border-right: 2px solid var(--amber); }
.shot .br-tl { top: 16px; right: 16px; border-top: 2px solid var(--amber); border-right: 2px solid var(--amber); }
.shot .br-br { bottom: 16px; left: 16px; border-bottom: 2px solid var(--amber); border-left: 2px solid var(--amber); }
.shot .cap { font-family: var(--mono); font-size: 11px; color: var(--muted); }

.shot-cap {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--muted);
  margin-top: 10px;
}

/* ---------- dual audience ---------- */
.dual {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 1fr 1fr;
}
.dual > div { padding: 44px; }
.dual > div + div { border-left: 1px solid var(--card-border); }
.dual h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--amber); }
.dual p { margin-top: 16px; font-size: 16.5px; line-height: 1.6; color: var(--text); }

/* ---------- partner logos strip ---------- */
.logos { display: flex; gap: 14px; flex-wrap: wrap; }
.logo-chip {
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper);
  padding: 16px 26px; font-size: 16px; font-weight: 600; color: var(--text-2); letter-spacing: -0.01em;
}
.logo-chip span { color: var(--muted); font-weight: 500; }

/* ---------- partner block ---------- */
.partner {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper);
  display: grid; grid-template-columns: 220px 1fr; overflow: hidden;
}
.partner .badge {
  background: var(--card); border-right: 1px solid var(--card-border);
  padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.partner .badge .pname { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.partner .badge .pkind { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.partner .body { padding: 36px; }
.partner .body p { font-size: 16.5px; line-height: 1.6; color: var(--text); }
.partner .body .plink { margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 15px; }

/* ---------- big CTA band ---------- */
.cta-band {
  background: var(--ink); border-radius: var(--radius-lg); color: var(--paper);
  padding: 72px 56px; text-align: center;
}
.cta-band h2 { color: var(--paper); font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.03em; }
.cta-band p { color: #B9B4AC; font-size: 18px; line-height: 1.55; margin: 18px auto 0; max-width: 52ch; }
.cta-band .btn { margin-top: 32px; }
.cta-band .btn-primary:hover { background: #C2691E; }

/* ---------- forms ---------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(180,83,9,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.info-list { display: grid; gap: 18px; }
.info-list .it { display: grid; gap: 4px; }
.info-list .it .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.info-list .it .v { font-size: 17px; color: var(--ink); }

/* ---------- blog empty ---------- */
.empty {
  border: 1px dashed var(--card-border); border-radius: var(--radius-lg); background: var(--card);
  padding: 80px 40px; text-align: center;
}
.empty h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; }
.empty p { margin-top: 16px; font-size: 18px; color: var(--text-2); max-width: 52ch; margin-inline: auto; line-height: 1.55; }
.empty .soon { margin-top: 28px; }

/* ---------- footer ---------- */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 14px; }
.footer .tag { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--text-3); }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; font-weight: 500; }
.footer .fcol a { display: block; color: var(--text-2); font-size: 15px; padding: 5px 0; }
.footer .fcol a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.footer-bottom a { color: var(--text-3); }

/* ---------- misc ---------- */
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.lang-pill {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--text-3);
  border: 1px solid var(--line); border-radius: 7px; padding: 6px 10px; display: inline-flex; gap: 7px;
}
.lang-pill b { color: var(--ink); font-weight: 600; }

/* ---------- language switcher ---------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 1px; margin-left: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
}
.lang-switch a {
  color: var(--text-3); padding: 6px 7px; border-radius: 6px;
  text-transform: uppercase; line-height: 1;
}
.lang-switch a:hover { color: var(--ink); background: rgba(0,0,0,.04); text-decoration: none; }
.lang-switch a.active { color: var(--amber); font-weight: 600; }
.lang-switch .sep { color: var(--line); padding: 0 1px; }

/* footer variant — also serves as the mobile language switcher */
.footer-bottom .lang-switch { margin-left: 0; }

/* ============ responsive ============ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .dual { grid-template-columns: 1fr; }
  .dual > div + div { border-left: 0; border-top: 1px solid var(--card-border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 22px; }
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 48px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line-2); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .partner { grid-template-columns: 1fr; }
  .partner .badge { border-right: 0; border-bottom: 1px solid var(--card-border); }
  .row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { padding: 52px 28px; }
  .nav-cta .btn { padding: 10px 14px; }
}
