/* ===========================================================================
   GemardMeca — Feuille de styles principale
   Design system : sombre, premium, automobile. Vanilla CSS (aucun build).
   =========================================================================== */

/* --------------------------------------------------------------- Tokens --- */
:root {
  /* Couleurs */
  --bg:            #090c12;
  --bg-2:          #0c1019;
  --surface:       rgba(255, 255, 255, 0.035);
  --surface-2:     rgba(255, 255, 255, 0.06);
  --border:        rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text:          #eef2f8;
  --muted:         #9aa7ba;
  --muted-2:       #6f7d92;

  --primary:       #ff6a1a;
  --primary-soft:  #ff8f43;
  --primary-glow:  rgba(255, 106, 26, 0.45);
  --accent:        #25d9c4;

  /* Typo */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;

  /* Divers */
  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1180px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --shadow:    0 24px 60px -20px rgba(0, 0, 0, 0.6);
}

/* --------------------------------------------------------------- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Fond global : dégradés "mesh" subtils et fixes */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 80% -5%, rgba(255, 106, 26, 0.18), transparent 60%),
    radial-gradient(50% 45% at 5% 8%, rgba(37, 217, 196, 0.10), transparent 55%),
    radial-gradient(70% 60% at 50% 110%, rgba(255, 106, 26, 0.10), transparent 60%),
    var(--bg);
}
/* Grain léger */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}

/* ----------------------------------------------------------- Utilities --- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.text-grad {
  background: linear-gradient(100deg, var(--primary-soft), var(--primary) 55%, #ffd0a8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--primary-soft);
  padding: 7px 14px; border-radius: 100px;
  background: rgba(255, 106, 26, 0.08);
  border: 1px solid rgba(255, 106, 26, 0.25);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08; font-weight: 700; letter-spacing: -0.02em;
  margin: 18px 0 14px;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 0.97rem;
  padding: 14px 26px; border-radius: 100px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: #1a0d05;
  background: linear-gradient(100deg, var(--primary-soft), var(--primary));
  box-shadow: 0 12px 30px -10px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -12px var(--primary-glow); }
.btn-ghost { color: var(--text); border: 1px solid var(--border-strong); background: var(--surface); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--primary); background: var(--surface-2); }
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }

/* --------------------------------------------------------------- Navbar -- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, backdrop-filter .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
  padding: 20px 0;
}
.nav.scrolled {
  background: rgba(9, 12, 18, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--border);
  padding: 13px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: -0.02em; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), #b8430c);
  box-shadow: 0 8px 20px -6px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,.35);
}
.brand .mark svg { width: 21px; height: 21px; color: #fff; }
.brand b { color: var(--primary-soft); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 0.93rem; color: var(--muted); font-weight: 500; position: relative; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--primary); transition: width .3s var(--ease); border-radius: 2px; }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- Hero --- */
.hero { position: relative; padding-top: 168px; padding-bottom: 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  line-height: 1.02; font-weight: 700; letter-spacing: -0.03em;
  margin: 24px 0 22px;
}
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.hero-trust { display: flex; align-items: center; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust .stars { color: var(--primary-soft); letter-spacing: 2px; font-size: 1.1rem; }
.hero-trust small { color: var(--muted-2); font-size: 0.85rem; }
.hero-trust .divider { width: 1px; height: 34px; background: var(--border); }

/* Visuel hero : carte vitrée "live" (anticipe la V2) */
.hero-visual { position: relative; }
.hero-visual .glow {
  position: absolute; inset: -10% -5% -10% -5%; z-index: 0;
  background: radial-gradient(circle at 60% 40%, var(--primary-glow), transparent 62%);
  filter: blur(20px); opacity: .8;
  animation: float 9s ease-in-out infinite;
}
.gauge-card {
  position: relative; z-index: 1;
  background: linear-gradient(160deg, rgba(22,28,40,.92), rgba(12,16,24,.92));
  border: 1px solid var(--border-strong);
  border-radius: 24px; padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.gauge-card .gc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.gauge-card .gc-top .who { display: flex; align-items: center; gap: 12px; }
.gc-avatar { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--accent), #0e8d80); display: grid; place-items: center; font-weight: 700; color: #04201d; }
.gc-top .live { display: inline-flex; align-items: center; gap: 7px; font-size: .76rem; color: var(--accent); font-weight: 600; }
.gc-top .live i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(37,217,196,.6); animation: pulse 1.8s infinite; }
.gauge-ring { display: grid; place-items: center; margin: 8px 0 20px; }
.gauge-ring svg { width: 190px; height: 190px; }
.gauge-ring .track { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 12; }
.gauge-ring .val { fill: none; stroke: url(#gg); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 408; stroke-dashoffset: 110; transform: rotate(-90deg); transform-origin: 50% 50%; animation: gauge 2.4s var(--ease) forwards; }
.gauge-center { position: absolute; text-align: center; }
.gauge-center b { font-family: var(--font-display); font-size: 2rem; display: block; line-height: 1; }
.gauge-center span { font-size: .78rem; color: var(--muted); }
.gc-steps { display: flex; flex-direction: column; gap: 12px; }
.gc-step { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.gc-step .dot { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; background: var(--surface-2); border: 1px solid var(--border); }
.gc-step.done .dot { background: rgba(37,217,196,.15); border-color: rgba(37,217,196,.4); color: var(--accent); }
.gc-step.active .dot { background: rgba(255,106,26,.16); border-color: rgba(255,106,26,.45); color: var(--primary-soft); }
.gc-step span.t { color: var(--text); }
.gc-step small { margin-left: auto; color: var(--muted-2); font-size: .78rem; }
.gc-badge { margin-top: 18px; text-align: center; font-size: .76rem; color: var(--muted-2); }

/* Cartes flottantes décoratives */
.float-chip {
  position: absolute; z-index: 2;
  background: rgba(14,18,26,.88); border: 1px solid var(--border-strong);
  border-radius: 14px; padding: 11px 15px; display: flex; align-items: center; gap: 11px;
  box-shadow: var(--shadow); backdrop-filter: blur(8px);
  font-size: .85rem;
}
.float-chip .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), #b8430c); color: #fff; }
.float-chip .ico svg { width: 16px; height: 16px; }
.float-chip b { display: block; font-family: var(--font-display); }
.float-chip small { color: var(--muted); }
.float-chip.c1 { top: -22px; left: -26px; animation: float 7s ease-in-out infinite; }
.float-chip.c2 { bottom: -20px; right: -22px; animation: float 8s ease-in-out infinite reverse; }

/* ----------------------------------------------------------- Marquee ----- */
.marquee { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 26px 0; margin-top: 60px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--muted-2); letter-spacing: .02em; transition: color .3s; }
.marquee-track span:hover { color: var(--text); }

/* ---------------------------------------------------------- Services ----- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; padding: 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .4s var(--ease), border-color .4s, background .4s;
  overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(120% 80% at 50% -10%, rgba(255,106,26,.16), transparent 60%);
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(255,106,26,.4); background: var(--surface-2); }
.service-card:hover::before { opacity: 1; }
.service-ico {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(150deg, rgba(255,106,26,.2), rgba(255,106,26,.05));
  border: 1px solid rgba(255,106,26,.3); color: var(--primary-soft);
  transition: transform .4s var(--ease);
}
.service-card:hover .service-ico { transform: rotate(-6deg) scale(1.06); }
.service-ico svg { width: 26px; height: 26px; }
.service-card h3 { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; margin-bottom: 9px; }
.service-card p { color: var(--muted); font-size: .94rem; }
.service-card .price { margin-top: 18px; font-size: .86rem; color: var(--primary-soft); font-weight: 600; }
.service-card .price span { color: var(--muted-2); font-weight: 400; }

/* ----------------------------------------------------------- Agricole ----- */
.agri-banner {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center;
  padding: clamp(28px, 4vw, 48px); border-radius: 24px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(37,217,196,.12), transparent 55%),
    radial-gradient(80% 120% at 0% 100%, rgba(255,106,26,.16), transparent 55%),
    linear-gradient(160deg, #141a26, #0b0e16);
}
.agri-copy h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; margin: 16px 0 14px; }
.agri-copy p { color: var(--muted); margin-bottom: 26px; }
.agri-copy p b { color: var(--text); font-weight: 600; }
.agri-points { display: grid; gap: 14px; }
.agri-point { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(10,13,20,.55); border: 1px solid var(--border); }
.agri-point .ap-ico { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), #b8430c); color: #fff; }
.agri-point .ap-ico svg { width: 22px; height: 22px; }
.agri-point b { display: block; font-family: var(--font-display); font-size: .98rem; }
.agri-point small { color: var(--muted); }
@media (max-width: 880px) { .agri-banner { grid-template-columns: 1fr; gap: 30px; } }

/* ------------------------------------------------------------- Stats ------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  text-align: center; padding: 36px 20px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface-2), transparent);
  border: 1px solid var(--border);
}
.stat b { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.1rem); font-weight: 700; line-height: 1; display: block; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: .92rem; }

/* ------------------------------------------------------------ Features ---- */
.features-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.feature-list { display: grid; gap: 16px; }
.feature {
  display: flex; gap: 18px; padding: 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); transition: border-color .3s, transform .3s;
}
.feature:hover { border-color: var(--border-strong); transform: translateX(4px); }
.feature .f-ico { flex-shrink: 0; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--primary-soft); }
.feature .f-ico svg { width: 23px; height: 23px; }
.feature h4 { font-family: var(--font-display); font-size: 1.08rem; margin-bottom: 5px; }
.feature p { color: var(--muted); font-size: .92rem; }
.features-visual {
  position: relative; border-radius: 24px; min-height: 420px; overflow: hidden;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(80% 60% at 70% 20%, rgba(255,106,26,.25), transparent 60%),
    linear-gradient(160deg, #131a26, #0b0f17);
  display: grid; place-items: center;
}
.features-visual .badge-stack { display: grid; gap: 16px; width: 80%; }
.fv-card { background: rgba(10,13,20,.7); border: 1px solid var(--border-strong); border-radius: 16px; padding: 18px 20px; display: flex; align-items: center; gap: 14px; backdrop-filter: blur(6px); }
.fv-card .fv-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), #b8430c); color: #fff; }
.fv-card .fv-ico svg { width: 20px; height: 20px; }
.fv-card b { font-family: var(--font-display); display: block; }
.fv-card small { color: var(--muted); }
.fv-card .check { margin-left: auto; color: var(--accent); }

/* ------------------------------------------------------------- Process ---- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step .num { counter-increment: step; font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: transparent; -webkit-text-stroke: 1.3px rgba(255,106,26,.55); line-height: 1; margin-bottom: 16px; display: block; }
.step .num::before { content: "0" counter(step); }
.step h4 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .9rem; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 48px; right: -13px; width: 26px; height: 2px; background: linear-gradient(90deg, rgba(255,106,26,.6), transparent); }

/* --------------------------------------------------------- Testimonials -- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 18px; }
.testi .stars { color: var(--primary-soft); letter-spacing: 2px; }
.testi p { color: var(--text); font-size: .98rem; flex: 1; }
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .who .av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #b8430c); display: grid; place-items: center; font-weight: 700; color: #fff; }
.testi .who b { display: block; font-size: .94rem; }
.testi .who small { color: var(--muted-2); }

/* ------------------------------------------------------------- CTA band --- */
.cta-band { position: relative; overflow: hidden; border-radius: 26px; padding: clamp(40px, 6vw, 70px); text-align: center; border: 1px solid var(--border-strong); background: radial-gradient(90% 140% at 50% 0%, rgba(255,106,26,.22), transparent 60%), linear-gradient(160deg, #141a26, #0b0e16); }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 16px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.contact-info { display: grid; gap: 20px; align-content: start; }
.ci-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.ci-item .ci-ico { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--primary-soft); }
.ci-item .ci-ico svg { width: 22px; height: 22px; }
.ci-item b { font-family: var(--font-display); display: block; margin-bottom: 3px; }
.ci-item span, .ci-item a { color: var(--muted); font-size: .94rem; }
.ci-item a:hover { color: var(--primary-soft); }
.ci-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); height: 220px; }
.ci-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) invert(.92) hue-rotate(180deg) brightness(.9) contrast(.9); }

.contact-form { padding: 32px; border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), transparent); border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 8px; color: var(--muted); }
.field label .req { color: var(--primary); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  background: rgba(0,0,0,.25); border: 1px solid var(--border);
  color: var(--text); font-family: inherit; font-size: .95rem; transition: border-color .25s, box-shadow .25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,106,26,.15); }
.field textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-note { font-size: .8rem; color: var(--muted-2); margin-top: 6px; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 22px; font-size: .92rem; border: 1px solid; }
.alert.ok { background: rgba(37,217,196,.1); border-color: rgba(37,217,196,.4); color: #7df0e2; }
.alert.err { background: rgba(255,80,80,.1); border-color: rgba(255,80,80,.4); color: #ff9d9d; }

/* ------------------------------------------------------------- Footer ----- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer .brand { margin-bottom: 18px; }
.footer p.about { color: var(--muted); font-size: .92rem; max-width: 280px; }
.footer h5 { font-family: var(--font-display); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.footer ul { display: grid; gap: 11px; }
.footer ul a { color: var(--muted); font-size: .93rem; transition: color .25s; }
.footer ul a:hover { color: var(--primary-soft); }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--muted); transition: .3s; }
.socials a:hover { color: var(--primary-soft); border-color: var(--primary); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: .86rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: var(--muted-2); }
.footer-bottom a:hover { color: var(--muted); }

/* --------------------------------------------------------- Pages légales -- */
.legal { padding: 30px 0 60px; }
.legal h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -.02em; margin: 16px 0 10px; }
.legal .legal-intro { color: var(--muted); font-size: 1.05rem; margin-bottom: 10px; }
.legal h2 { font-family: var(--font-display); font-size: 1.2rem; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal p { margin-bottom: 12px; }
.legal b { color: var(--text); }
.legal a { color: var(--primary-soft); }
.legal ul { margin: 0 0 12px; padding-left: 22px; list-style: disc; display: grid; gap: 8px; }
.legal .legal-back { margin-top: 40px; }

/* --------------------------------------------------------- Bandeau cookies - */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95;
  max-width: 640px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 16px 20px; border-radius: 16px;
  background: rgba(14,18,26,.94); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow); backdrop-filter: blur(12px);
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.cookie-bar.show { transform: none; }
.cookie-bar p { font-size: .88rem; color: var(--muted); flex: 1; min-width: 220px; margin: 0; }
.cookie-bar p a { color: var(--primary-soft); }
.cookie-bar .btn { padding: 10px 20px; }

/* ----------------------------------------------------- Back to top -------- */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary-soft), var(--primary)); color: #1a0d05; box-shadow: 0 12px 30px -10px var(--primary-glow); opacity: 0; transform: translateY(20px) scale(.8); transition: .35s var(--ease); z-index: 90; pointer-events: none; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }

/* --------------------------------------------------- Scroll reveal -------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* --------------------------------------------------------- Animations ----- */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,217,196,.5); } 70% { box-shadow: 0 0 0 9px rgba(37,217,196,0); } 100% { box-shadow: 0 0 0 0 rgba(37,217,196,0); } }
@keyframes gauge { from { stroke-dashoffset: 408; } to { stroke-dashoffset: 110; } }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------------------------------- Responsive ----- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .features-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .services-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 22px; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(9,12,18,.97); backdrop-filter: blur(18px); padding: 28px 24px; border-bottom: 1px solid var(--border);
  }
  .services-grid, .testi-grid, .process, .stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-chip { display: none; }
}
