/* ==========================================================================
   Horizon Nord — Design System  v2.7 (bigger-headings, 2026-05)
   Brand: ERP implementation agency (Monday.com & Odoo)
   Inspired by trail running, the compass, and the Quebec North.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand colors (from logo) */
  --vert: #2D6A4F;
  --vert-mid: #40916C;
  --vert-light: #74C69D;
  --vert-pale: #D8E8DF;
  --vert-glow: rgba(45, 106, 79, 0.18);
  --gris: #2A2A2A;
  --gris-mid: #6B6B6B;
  --gris-light: #B8B8B3;
  --creme: #FAF7F2;          /* slightly warmer cream */
  --creme-warm: #F2EEE5;     /* deeper warm tone for sections */
  --border: #E4E4DF;
  --noir-foret: #0F1A14;

  /* Warm secondary accent (organic, terrestrial) */
  --ambre: #C99A5C;
  --ambre-pale: #F0E3D0;
  --ambre-glow: rgba(201, 154, 92, 0.2);

  /* Tech accent for "live" indicators, code, monospace */
  --terminal-bg: #1A2620;
  --terminal-text: #B5E5C8;

  /* monday.com brand accents — used sparingly for partner context only,
     never to replace the Horizon Nord palette. Reference:
     https://partners.monday.com brand kit (Authorized Partner). */
  --monday-blue: #0073EA;
  --monday-violet: #6161FF;
  --monday-pink: #FF158A;
  --monday-yellow: #FDAB3D;
  --monday-bg-tint: rgba(0, 115, 234, 0.04);

  /* Functional */
  --bg: var(--creme);
  --surface: #FFFFFF;
  --text: var(--gris);
  --text-mute: var(--gris-mid);
  --accent: var(--vert);
  --accent-hover: #235540;

  /* Typography */
  --font-display: 'Poppins', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* Spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --radius: 4px;
  --radius-lg: 12px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 180ms;
  --t-mid: 320ms;
  --t-slow: 600ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Typography ----------
   Headlines mirror the logo wordmark: same letter-spacing (0.06em on green
   strong), same weight contrast (300 → 800), no alternate glyphs.
   Generous line-height + padding TOP and BOTTOM to absorb:
   - French accents on top (É, À, é, à, ç)
   - Descenders on bottom (g, j, p, q, y) — especially in bold 800
   Bold Poppins keeps a fairly compact descender, so headings need
   line-height ≥ 1.3 and padding-bottom ≥ 0.2em to be safe. */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--gris);
  font-feature-settings: normal;
  padding-top: 0.2em;
  padding-bottom: 0.25em;
}
h1 {
  font-size: clamp(3rem, 5.5vw + 1rem, 5rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.03em;
  padding-top: 0.2em;
  padding-bottom: 0.3em;
}
h1 strong {
  font-weight: 800;
  color: var(--vert);
  letter-spacing: 0.05em;
  padding-right: 0.05em;
}
h2 {
  font-size: clamp(2.2rem, 3vw + 1rem, 3.4rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: 0.03em;
  padding-top: 0.2em;
  padding-bottom: 0.3em;
}
h2 strong {
  font-weight: 800;
  color: var(--vert);
  letter-spacing: 0.05em;
  padding-right: 0.08em;
}
/* H3 / H4 use DM Sans (body font) — Poppins reserved for dramatic display only.
   This eliminates Poppins's heavier visual weight at smaller sizes (notably 'g'
   in card titles like "accompagnement"). */
h3 {
  font-family: var(--font-body);
  font-size: clamp(1.45rem, 1.2vw + 1rem, 1.85rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  padding-top: 0;
  padding-bottom: 0.1em;
}
h4 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  padding-top: 0;
  padding-bottom: 0.05em;
}
p { max-width: 64ch; }
.lead { font-size: 1.25rem; color: var(--text-mute); line-height: 1.55; max-width: 60ch; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vert);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--vert);
  display: inline-block;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--s-5); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--s-5); }
section { padding: var(--s-10) 0; }
@media (max-width: 768px) { section { padding: var(--s-8) 0; } }

/* ---------- Header / Nav ----------
   SOLID opaque background that matches the page bg exactly. At top, this
   blends seamlessly (same color = no visible band). When scrolled, JS
   adds .scrolled which brings in a border + soft shadow for clear
   separation from the content scrolling underneath. No transparency,
   no text bleed-through. */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(15, 26, 20, 0.06);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--s-5); max-width: var(--container); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand-mark { display: flex; align-items: center; }
.brand-mark svg { height: 52px; width: auto; }
.brand-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
}
.brand-text .horizon { font-weight: 300; color: var(--gris); }
.brand-text .nord { font-weight: 800; color: var(--vert); }
.brand-text .clock { font-weight: 800; color: var(--vert); }
.brand-text .product-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.15rem;
  line-height: 1;
}
.nav-links {
  display: flex; align-items: center; gap: var(--s-6);
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem; font-weight: 500;
  color: var(--text-mute); position: relative;
  transition: color var(--t-fast) var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--vert); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 2px; background: var(--vert);
}
/* Override for the "Réserver" button in nav — keep text white on green
   regardless of nav-links color rules + active state */
.nav-links .btn-primary,
.nav-links .btn-primary:hover,
.nav-links .btn-primary.active { color: #fff; }
.nav-links .btn-primary.active::after { display: none; }
.nav-actions { display: flex; align-items: center; gap: var(--s-4); }
.lang-switch {
  font-size: 0.8rem; font-weight: 500; color: var(--text-mute);
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.4rem 0.6rem; border: 1px solid var(--border);
  border-radius: var(--radius); transition: all var(--t-fast) var(--ease);
}
.lang-switch:hover { border-color: var(--vert); color: var(--vert); }
.nav-toggle { display: none; padding: 0.5rem; }
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--gris); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 64px 0 0 0;
    background: var(--creme);
    flex-direction: column; align-items: flex-start;
    padding: var(--s-6) var(--s-5); gap: var(--s-5);
    transform: translateX(100%); transition: transform var(--t-mid) var(--ease);
    border-top: 1px solid var(--border);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.5rem; font-size: 0.95rem; font-weight: 500;
  border-radius: var(--radius); transition: all var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--vert); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(45, 106, 79, 0.25); }
.btn-secondary {
  background: var(--surface);
  color: var(--gris);
  border: 1.5px solid var(--gris);
  box-shadow: 0 2px 8px rgba(15, 26, 20, 0.04);
}
.btn-secondary:hover {
  border-color: var(--vert);
  color: var(--vert);
  background: var(--surface);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 26, 20, 0.08);
}
.btn-ghost { color: var(--vert); padding: 0.5rem 0; gap: 0.4rem; }
.btn-ghost:hover { gap: 0.7rem; }
.btn-ghost svg { transition: transform var(--t-fast) var(--ease); }
.btn-ghost:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  padding: var(--s-6) 0 var(--s-7);
  position: relative;
  /* overflow visible on the section itself so headline accents are never clipped */
  overflow: visible;
}
@media (min-width: 1200px) {
  /* Slightly more breathing room on wide desktop, but still tight enough
     that the partner credential is visible above the fold on a typical laptop. */
  .hero { padding: var(--s-7) 0 var(--s-8); }
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-9); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: var(--s-7); } }
.hero h1 { margin: 0 0 var(--s-5); }
.hero .lead { margin-bottom: var(--s-6); }
.hero-cta { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--vert-pale) 0%, var(--creme-warm) 60%);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(45, 106, 79, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(64, 145, 108, 0.1) 0%, transparent 50%);
}
.hero-visual-mark {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 60%;
}

/* ---------- Stats strip ---------- */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--s-7) 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5);
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); } }
.stat-item { text-align: left; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw + 1rem, 3.2rem);
  font-weight: 300; line-height: 1;
  color: var(--vert);
  display: block;
}
.stat-label {
  margin-top: var(--s-2);
  font-size: 0.85rem; color: var(--text-mute);
}

/* ---------- Card grid ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5); margin-top: var(--s-7);
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  transition: all var(--t-mid) var(--ease);
  display: flex; flex-direction: column; gap: var(--s-4);
}
.card:hover { border-color: var(--vert-light); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15, 26, 20, 0.06); }
.card-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--vert-pale); border-radius: var(--radius);
  color: var(--vert);
}
.card-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }
.card h3 { color: var(--gris); }
.card p { color: var(--text-mute); font-size: 0.95rem; }

/* ---------- Two column ---------- */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-9); align-items: center;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: var(--s-7); } }

/* ---------- Steps / Process ---------- */
.steps { display: flex; flex-direction: column; gap: var(--s-5); margin-top: var(--s-7); }
.step {
  display: grid; grid-template-columns: 80px 1fr; gap: var(--s-5);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 300;
  color: var(--vert); line-height: 1;
}
.step-content h3 { margin-bottom: var(--s-2); }
.step-content p { color: var(--text-mute); }

/* ---------- Highlight panel ---------- */
.panel-dark {
  background: var(--noir-foret); color: var(--creme);
  border-radius: var(--radius-lg); padding: var(--s-8);
}
.panel-dark h2 { color: #C8C8C4; }
.panel-dark h2 strong { color: var(--vert-light); }
.panel-dark p { color: rgba(250, 250, 247, 0.7); }

/* ---------- FAQ ---------- */
.faq { margin-top: var(--s-7); }
.faq-item {
  border-top: 1px solid var(--border);
  padding: var(--s-5) 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; text-align: left; padding: 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.15rem; color: var(--gris);
  transition: color var(--t-fast) var(--ease);
}
.faq-question:hover { color: var(--vert); }
.faq-question .icon {
  width: 24px; height: 24px; flex-shrink: 0;
  position: relative; transition: transform var(--t-mid) var(--ease);
}
.faq-question .icon::before, .faq-question .icon::after {
  content: ''; position: absolute; background: var(--vert);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-question .icon::before { width: 14px; height: 1.5px; }
.faq-question .icon::after { width: 1.5px; height: 14px; transition: transform var(--t-mid) var(--ease); }
.faq-item.open .icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-mid) var(--ease), padding var(--t-mid) var(--ease);
  color: var(--text-mute);
}
.faq-item.open .faq-answer { max-height: 500px; padding-top: var(--s-4); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field label {
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-mute);
}
.field input, .field textarea, .field select {
  padding: 0.85rem 1rem;
  font: inherit; font-size: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--gris);
  transition: border-color var(--t-fast) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--vert);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}
.field textarea { resize: vertical; min-height: 130px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--noir-foret); color: var(--creme);
  padding: var(--s-9) 0 var(--s-6);
  margin-top: var(--s-10);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-7);
  margin-bottom: var(--s-7);
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.footer-brand { display: flex; flex-direction: column; gap: var(--s-4); }
.footer-brand .brand-text .horizon { color: #C8C8C4; }
.footer-brand p { color: rgba(250, 250, 247, 0.6); font-size: 0.9rem; max-width: 36ch; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--vert-light);
  margin-bottom: var(--s-4); font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a {
  color: rgba(250, 250, 247, 0.7); font-size: 0.9rem;
  transition: color var(--t-fast) var(--ease);
}
.footer-col a:hover { color: var(--vert-light); }
.footer-bottom {
  border-top: 1px solid rgba(250, 250, 247, 0.1);
  padding-top: var(--s-5);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: rgba(250, 250, 247, 0.5);
  flex-wrap: wrap; gap: var(--s-3);
}

/* ---------- Reveal animation (progressive enhancement) ----------
   By default, everything is VISIBLE (no opacity:0). The animation only kicks
   in when JS adds .js-on to <html> (proving JS works). This prevents pages
   from rendering blank if JS fails, blocks, or arrives late. */
.reveal { opacity: 1; transform: none; }
html.js-on .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
html.js-on .reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Utility ---------- */
.text-mute { color: var(--text-mute); }
.text-accent { color: var(--vert); }
.divider-grad {
  height: 2px; width: 80px;
  background: linear-gradient(90deg, var(--vert), var(--vert-light), transparent);
  border-radius: 1px;
  margin: var(--s-4) 0;
}
.tag {
  display: inline-block;
  font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--vert);
  background: var(--vert-pale);
  padding: 0.3rem 0.7rem; border-radius: 100px;
}
.cta-banner {
  background: var(--vert);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--s-7) var(--s-8);
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: var(--s-7);
  align-items: center;
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 24ch;
}
.cta-banner h2 strong {
  color: var(--vert-pale);
  font-weight: 600;
}
.cta-banner p {
  color: rgba(255,255,255,0.82);
  font-size: 0.97rem;
  line-height: 1.6;
}
.cta-banner .btn-primary {
  background: #fff;
  color: var(--vert);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1.05rem 2rem;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.cta-banner .btn-primary::after {
  content: '→';
  font-size: 1.15em;
  transition: transform 0.2s ease;
}
.cta-banner .btn-primary:hover {
  background: var(--creme);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.22);
}
.cta-banner .btn-primary:hover::after { transform: translateX(3px); }
@media (max-width: 768px) {
  .cta-banner { grid-template-columns: 1fr; text-align: left; padding: var(--s-6) var(--s-7); row-gap: var(--s-5); }
  .cta-banner h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); }
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  padding: var(--s-6) 0 var(--s-7);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--creme-warm), var(--creme));
}
@media (min-width: 1200px) {
  .page-header { padding: var(--s-7) 0 var(--s-8); }
}
.page-header h1 { max-width: 18ch; }
.page-header .lead { margin-top: var(--s-5); }

/* ---------- Industry feature ---------- */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-5); }
.feature-list li {
  display: flex; gap: var(--s-3); align-items: flex-start;
  font-size: 0.97rem; color: var(--text);
}
.feature-list li::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--vert);
  border-radius: 50%;
  margin-top: 0.55rem; flex-shrink: 0;
}

/* ---------- Commitments prose (flowing paragraphs, modern + assertive) ---------- */
.commitments-prose {
  display: flex; flex-direction: column;
  gap: var(--s-4);
  margin-top: var(--s-5);
  max-width: 62ch;
}
.commitments-prose p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}
.commitments-prose p .term {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08em;
  letter-spacing: -0.01em;
  color: var(--vert);
  white-space: nowrap;
  margin-right: 0.35em;
}
@media (max-width: 600px) {
  .commitments-prose p { font-size: 1rem; line-height: 1.65; }
}

/* ==========================================================================
   v2.0 — WARMTH + TECH layer
   New: amber accent, mesh gradients, dotted/grid patterns, live indicator,
   terminal callout, monospace tech tags, glow hovers, integrations strip.
   ========================================================================== */

/* ---------- Section backgrounds (kept simple, uniform) ---------- */
.bg-mesh { background: var(--bg); }
.bg-mesh-warm { background: var(--creme-warm); }

/* ---------- Dotted grid pattern overlay ---------- */
.bg-dots {
  background-image: radial-gradient(circle, rgba(45, 106, 79, 0.12) 1px, transparent 1px);
  background-size: 22px 22px;
}
.bg-dots-subtle {
  background-image: radial-gradient(circle, rgba(45, 106, 79, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* ---------- Live status indicator (pulsing dot) ---------- */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: rgba(45, 106, 79, 0.08);
  border: 1px solid rgba(45, 106, 79, 0.2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--vert);
  letter-spacing: 0.02em;
}
.live-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--vert);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--vert-glow);
  animation: live-pulse 2s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 106, 79, 0.45); }
  100% { box-shadow: 0 0 0 12px rgba(45, 106, 79, 0); }
}

/* ---------- Monospace tag (tech-flavor accent) ---------- */
.mono-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--vert);
  background: rgba(45, 106, 79, 0.07);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(45, 106, 79, 0.15);
  letter-spacing: 0;
}

/* ---------- Terminal-style callout ---------- */
.terminal {
  background: var(--terminal-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--terminal-text);
  line-height: 1.7;
  position: relative;
  overflow: hidden;
}
.terminal::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 28px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.terminal::after {
  content: '● ● ●';
  position: absolute; top: 8px; left: 14px;
  font-size: 8px; letter-spacing: 4px;
  color: rgba(181, 229, 200, 0.4);
}
.terminal { padding-top: 3rem; }
.terminal .prompt { color: rgba(181, 229, 200, 0.5); margin-right: 0.5em; }
.terminal .comment { color: rgba(181, 229, 200, 0.5); font-style: italic; }
.terminal .accent { color: var(--ambre); }

/* ---------- Glow on hover (cards, buttons) ---------- */
.card { transition: all var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease); }
.card:hover {
  border-color: var(--vert-light);
  transform: translateY(-3px);
  box-shadow:
    0 12px 30px rgba(15, 26, 20, 0.08),
    0 0 0 1px var(--vert-glow),
    0 8px 24px var(--vert-glow);
}
.btn-primary {
  position: relative;
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.25);
}
.btn-primary:hover {
  box-shadow:
    0 8px 24px rgba(45, 106, 79, 0.35),
    0 0 0 1px rgba(45, 106, 79, 0.2);
}

/* ---------- Integrations strip / logo wall ---------- */
.integrations {
  padding: var(--s-7) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, var(--creme) 0%, var(--creme-warm) 50%, var(--creme) 100%);
  overflow: hidden;
}
.integrations-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: var(--s-5);
}
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: var(--s-5);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--s-5);
}
@media (max-width: 900px) {
  .integrations-grid { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
}
@media (max-width: 500px) {
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
}
.integration-item {
  display: flex; align-items: center; justify-content: center;
  height: 40px; opacity: 0.55;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gris);
  letter-spacing: 0.01em;
  cursor: default;
}
.integration-item:hover { opacity: 1; transform: scale(1.05); color: var(--vert); }

/* ---------- Animated counter (for stat numbers) ---------- */
.stat-num {
  background: linear-gradient(180deg, var(--vert) 0%, var(--vert-mid) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px var(--vert-glow);
}
.stats {
  background: var(--creme);
}

/* ---------- Hero enhancements ----------
   Pure flat --creme background. No radial gradients, no dot pattern.
   Uniform color = no visible color band on any edge. The visual element
   (.hero-visual box around the illustration) keeps its own gradient. */
.hero {
  background: var(--creme);
}
.hero-visual {
  background:
    radial-gradient(circle at 30% 30%, rgba(45, 106, 79, 0.15) 0%, transparent 50%),
    linear-gradient(160deg, var(--vert-pale) 0%, var(--ambre-pale) 100%);
  box-shadow:
    0 30px 60px rgba(15, 26, 20, 0.08),
    0 0 0 1px rgba(45, 106, 79, 0.06);
}

/* ---------- Section dividers (subtle tech accent) ---------- */
.divider-grad {
  background: linear-gradient(90deg, var(--vert), var(--ambre), transparent);
}

/* ---------- Eyebrow refinement (warmer divider gradient) ---------- */
.eyebrow::before {
  background: linear-gradient(90deg, var(--vert), var(--ambre));
  height: 1.5px;
}

/* ---------- Page header ----------
   Pure flat --creme background. No gradients, no dots. Same color as the
   body and the (now opaque) header — uniform across the entire top of
   every interior page. */
.page-header {
  background: var(--creme);
}

/* ---------- Number counter animation ---------- */
.counter[data-counter] { font-variant-numeric: tabular-nums; }

/* Print + reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .live-pill::before { animation: none; }
}
