/* =========================================================
   BioFroid — Accueil
   Visual language: Swiss-precision / technical premium.
   Restrained cool neutrals · one disciplined warm accent ·
   hairlines · tight geometry · generous whitespace.
   ========================================================= */

:root {
  /* ── Neutrals (cool, clean) ── */
  --ink:      #14202a;   /* near-black slate — headings & body */
  --ink-2:    #46545d;   /* secondary text */
  --ink-3:    #7c878e;   /* muted / captions */
  --paper:    #ffffff;   /* base */
  --paper-2:  #f3f5f6;   /* cool light section background */
  --paper-3:  #eceff1;   /* deeper light tint */
  --surface:  #ffffff;
  --line:     rgba(20,32,42,0.10);
  --line-2:   rgba(20,32,42,0.06);
  --line-strong: rgba(20,32,42,0.18);

  /* ── Brand: deep petrol (cold / technical) ── */
  --brand:      #0d5b7a;
  --brand-700:  #0a4a64;
  --brand-300:  #2f88ab;
  --brand-soft: #eaf1f4;

  /* ── Action: muted ember (warm), used sparingly ── */
  --action:     #cf4a1c;
  --action-700: #a83a13;
  --action-soft:#f6e8e1;
  --ember:      #c0892f;   /* muted gold — ratings only */
  --leaf:       #3a7d52;
  --leaf-soft:  #e7efe9;

  /* one subtle two-stop brand wash — used rarely, never rainbow */
  --grad-brand: linear-gradient(135deg, #0a4a64, #2f88ab);

  --shadow-sm: 0 1px 2px rgba(20,32,42,0.05);
  --shadow-md: 0 6px 22px rgba(20,32,42,0.07);
  --shadow-lg: 0 22px 56px rgba(20,32,42,0.12);

  --r: 8px;       /* base radius — tight */
  --r-card: 12px;
  --maxw: 1280px;
  --pad: 48px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
img { max-width: 100%; }

:focus-visible { outline: 2.5px solid var(--brand-300); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: 'IBM Plex Mono', monospace; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r);
  font-size: 14px; font-weight: 600; transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand);
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--brand); opacity: 0.85; }
.eyebrow.on-dark { color: #7fb4cc; }
.eyebrow.on-dark::before { background: #7fb4cc; }

.lead { font-size: 18px; line-height: 1.65; color: var(--ink-2); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  padding: 13px 22px; border-radius: var(--r); border: 1px solid transparent;
  cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-fire { background: var(--action); color: #fff; }
.btn-fire:hover { background: var(--action-700); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #0a1620; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-700); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(20,32,42,0.03); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #eef1f2; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.btn-lg { padding: 15px 26px; font-size: 15.5px; }

/* =========================================================
   UTILITY BAR
   ========================================================= */
.util {
  background: var(--ink); color: rgba(255,255,255,0.74);
  font-size: 12.5px; font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.01em;
}
.util .wrap { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.util .u-l, .util .u-r { display: flex; align-items: center; gap: 18px; }
.util a:hover { color: #fff; }
.util .accent { color: #e7a85a; }
.util .sep { opacity: 0.28; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
header.nav.scrolled { box-shadow: var(--shadow-sm); }
header.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand-logo { height: 46px; width: auto; border-radius: 7px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-word { font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.brand-word b { color: var(--brand); font-weight: 800; }
.brand-word i { color: var(--action); font-style: normal; font-weight: 800; }
.brand-sub { font-family: 'IBM Plex Mono', monospace; font-size: 9px; letter-spacing: 0.22em; color: var(--ink-3); text-transform: uppercase; margin-top: 5px; }

nav.links { display: flex; align-items: center; gap: 30px; }
nav.links a { font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .15s; position: relative; white-space: nowrap; }
nav.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1.5px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
nav.links a:hover { color: var(--ink); }
nav.links a:hover::after, nav.links a.active::after { transform: scaleX(1); }
nav.links a.active { color: var(--ink); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r);
  background: var(--surface); color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* =========================================================
   HERO — SPLIT (light left · dark technical right)
   ========================================================= */
.hero { border-bottom: 1px solid var(--line); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; min-height: 660px; }
.hero-left { padding: 76px 72px 70px 0; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.hero-left .inner { max-width: 580px; width: 100%; min-width: 0; margin-left: auto; padding-left: var(--pad); }
.hero h1 { font-size: clamp(42px, 4.6vw, 64px); font-weight: 800; letter-spacing: -0.038em; line-height: 1.02; }
.hero h1 .ice { color: var(--brand); }
.hero h1 .fire { color: var(--action); }
.hero .sub { margin-top: 24px; max-width: 470px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 11px; margin-top: 22px; font-size: 13px; color: var(--ink-3); }
.hero-trust .av { display: flex; }
.hero-trust .av span { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--paper); margin-left: -8px; background: var(--brand-300); }
.hero-trust .av span:first-child { margin-left: 0; }
.hero-trust .av span:nth-child(2) { background: var(--brand); }
.hero-trust .av span:nth-child(3) { background: var(--action); }
.hero-trust b { color: var(--ink-2); font-weight: 700; }

.hero-stats { display: flex; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 28px; }
.hero-stats .stat { padding-right: 34px; margin-right: 34px; border-right: 1px solid var(--line); }
.hero-stats .stat:last-child { border-right: none; }
.hero-stats .n { font-size: 36px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.hero-stats .n .u { color: var(--action); font-weight: 600; }
.hero-stats .l { font-size: 12px; color: var(--ink-3); margin-top: 9px; line-height: 1.4; }

.hero-right { position: relative; min-width: 0; background: #0f2a3a; overflow: hidden; }
.hero-illus { position: absolute; inset: 0; }
.hero-illus svg, .hero-illus img { width: 100%; height: 100%; object-fit: cover; }
/* Dark wash keeps the panel premium + the white floating cards readable. */
.hero-illus::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,33,45,0.52) 0%, rgba(11,33,45,0.12) 42%, rgba(11,33,45,0.58) 100%),
    linear-gradient(90deg, rgba(11,33,45,0.30), rgba(11,33,45,0) 40%);
}

.float-card {
  position: absolute; z-index: 4; background: rgba(255,255,255,0.97); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-md);
  padding: 14px 16px;
}
.fc-attest { left: 30px; bottom: 30px; display: flex; align-items: center; gap: 13px; width: 290px; }
.fc-attest .shield { width: 38px; height: 38px; border-radius: 8px; background: var(--leaf-soft); color: var(--leaf); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fc-attest .t { font-size: 13px; font-weight: 700; line-height: 1.25; }
.fc-attest .s { font-size: 11px; color: var(--ink-3); }
.fc-rating { right: 30px; top: 30px; width: 202px; }
.fc-rating .stars { color: var(--ember); font-size: 14px; letter-spacing: 2px; }
.fc-rating .t { font-size: 13px; font-weight: 700; margin-top: 6px; line-height: 1.3; }
.fc-rating .s { font-size: 11px; color: var(--ink-3); margin-top: 3px; line-height: 1.3; }

/* =========================================================
   BRANDS STRIP
   ========================================================= */
.strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; align-items: center; gap: 40px; height: 92px; }
.strip .label { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); flex-shrink: 0; max-width: 130px; line-height: 1.5; }
.strip .marks { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.mark-chip { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; color: var(--ink-3); opacity: 0.75; transition: color .15s, opacity .15s; }
.mark-chip:hover { opacity: 1; color: var(--ink-2); }

/* =========================================================
   USP — fluides
   ========================================================= */
.usp { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.usp .wrap { display: flex; align-items: center; gap: 22px; padding-top: 28px; padding-bottom: 28px; }
.usp .ic { width: 50px; height: 50px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--brand); flex-shrink: 0; }
.usp .t { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.usp .s { font-size: 14px; color: var(--ink-2); margin-top: 3px; }
.usp .badges { margin-left: auto; display: flex; gap: 8px; flex-shrink: 0; }
.usp .badge { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; font-weight: 500; padding: 7px 12px; border-radius: 6px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }

/* =========================================================
   SECTION SHELL
   ========================================================= */
section.block { padding: 108px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(30px, 3vw, 44px); font-weight: 700; letter-spacing: -0.032em; margin-top: 18px; }
.sec-head .lead { margin-top: 16px; max-width: 520px; }
.sec-link { font-size: 14px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; transition: gap .15s ease; }
.sec-link:hover { gap: 11px; }

/* ── Services (photo-led cards) ── */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-photo { position: relative; height: 196px; background: var(--paper-2); overflow: hidden; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(0.16,1,0.3,1); }
.svc:hover .svc-photo img { transform: scale(1.04); }
.svc-photo .bar { position: absolute; left: 0; top: 0; height: 4px; width: 100%; z-index: 2; }
.svc.pac .bar { background: var(--action); }
.svc.clim .bar { background: var(--brand); }
.svc.froid .bar { background: var(--ink-2); }
.svc-body { padding: 28px 28px 26px; display: flex; flex-direction: column; flex: 1; }
.svc .num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-3); letter-spacing: 0.12em; }
.svc h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin-top: 8px; }
.svc-body > p { font-size: 14.5px; color: var(--ink-2); margin-top: 11px; line-height: 1.58; }
.svc ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 10px; }
.svc li { font-size: 13.5px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.svc li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }
.svc.pac li::before { background: var(--action); }
.svc .go { margin-top: auto; padding-top: 22px; font-size: 14px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; transition: gap .15s, color .15s; }
.svc:hover .go { color: var(--brand); gap: 12px; }

/* ── Why us (dark) ── */
.why { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.why .grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.why h2 { font-size: clamp(30px, 3.2vw, 46px); color: #fff; letter-spacing: -0.03em; margin-top: 20px; font-weight: 700; }
.why .vals { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.why .val .vt { font-size: 16.5px; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.why .val .vt .k { width: 30px; height: 30px; border-radius: 7px; background: rgba(255,255,255,0.07); display: flex; align-items: center; justify-content: center; color: #e7a85a; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; flex-shrink: 0; }
.why .val p { font-size: 14px; color: rgba(255,255,255,0.58); margin-top: 11px; line-height: 1.6; }
.why .rule { height: 2px; width: 56px; background: var(--brand-300); margin-bottom: 6px; }

/* ── Process ── */
.proc { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding-top: 26px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1.5px; background: var(--line-strong); }
.step.first::before { background: var(--brand); }
.step .n { font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--brand); font-weight: 500; }
.step h4 { font-size: 18px; font-weight: 700; margin-top: 14px; letter-spacing: -0.02em; }
.step p { font-size: 14px; color: var(--ink-2); margin-top: 10px; line-height: 1.58; }

/* ── Zones / map ── */
.zones .grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 60px; align-items: center; }
.zones .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
.zones .tags span { font-size: 13px; padding: 7px 14px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.map { position: relative; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: #e9eef0; aspect-ratio: 1.42 / 1; }
.map svg { width: 100%; height: 100%; }
.pin { position: absolute; transform: translate(-50%,-50%); }
.pin .d { width: 12px; height: 12px; border-radius: 50%; background: var(--action); border: 2.5px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.22); }
.pin.hq .d { width: 16px; height: 16px; background: var(--brand); }
.pin.hq .lbl { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-family: 'IBM Plex Mono', monospace; font-size: 11px; background: #fff; border: 1px solid var(--line); padding: 4px 9px; border-radius: 6px; box-shadow: var(--shadow-sm); }
.pin .pulse { position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--action); opacity: 0; animation: ping 2.6s ease-out infinite; }
.pin.hq .pulse { border-color: var(--brand-300); }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.7; } 100% { transform: scale(1.8); opacity: 0; } }

/* ── Testimonials ── */
.testi { background: var(--surface); border-top: 1px solid var(--line); }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.quote { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px 30px; display: flex; flex-direction: column; margin: 0; }
.quote .stars { color: var(--ember); letter-spacing: 2px; font-size: 13px; }
.quote blockquote { margin: 0; }
.quote p { font-size: 16px; line-height: 1.58; margin-top: 16px; font-weight: 500; color: var(--ink); }
.quote .by { margin-top: auto; padding-top: 22px; font-size: 13px; }
.quote .by b { font-weight: 700; }
.quote .by span { color: var(--ink-3); display: block; margin-top: 3px; font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; }
.clients { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; margin-top: 56px; padding-top: 38px; border-top: 1px solid var(--line); }
.clients .cl-lbl { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.clients .cl { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--ink-3); opacity: 0.7; }

/* ── FAQ ── */
.faq { background: var(--paper-2); border-top: 1px solid var(--line); }
.faq .grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
.faq .aside h2 { font-size: clamp(28px, 2.8vw, 42px); margin-top: 18px; font-weight: 700; }
.faq .aside .lead { margin-top: 16px; max-width: 320px; }
.faq .aside .btn { margin-top: 28px; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 4px; top: 26px; width: 14px; height: 14px;
  background:
    linear-gradient(var(--brand), var(--brand)) center/14px 1.5px no-repeat,
    linear-gradient(var(--brand), var(--brand)) center/1.5px 14px no-repeat;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(90deg); background: linear-gradient(var(--brand), var(--brand)) center/14px 1.5px no-repeat; }
.faq-item summary:hover { color: var(--brand); }
.faq-item .ans { padding: 0 44px 26px 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.62; }

/* ── CTA band ── */
.cta { position: relative; overflow: hidden; background: var(--brand); color: #fff; }
.cta::after { content: ""; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(207,74,28,0.30), transparent 62%); }
.cta .wrap { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 76px var(--pad); flex-wrap: wrap; }
.cta h2 { font-size: clamp(28px,3vw,42px); color: #fff; letter-spacing: -0.03em; font-weight: 700; }
.cta p { margin-top: 14px; font-size: 17px; color: rgba(255,255,255,0.86); max-width: 460px; }
.cta .acts { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Contact ── */
.contact { background: var(--surface); }
.contact .grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.contact h2 { font-size: clamp(28px, 2.8vw, 42px); margin-top: 18px; font-weight: 700; }
.contact .lead { margin-top: 16px; max-width: 360px; }
.contact-list { margin-top: 34px; display: flex; flex-direction: column; gap: 20px; }
.ci { display: flex; align-items: flex-start; gap: 14px; }
.ci .ic { width: 42px; height: 42px; border-radius: 9px; background: var(--paper-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--brand); flex-shrink: 0; }
.ci .k { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.ci .v { font-size: 16px; font-weight: 600; color: var(--ink); margin-top: 3px; }
.ci .v.fire { color: var(--action); }
.contact .memb { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 34px; }
.contact .memb span { font-family: 'IBM Plex Mono', monospace; font-size: 11px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-2); background: var(--paper-2); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-md); padding: 38px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--action); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--r); padding: 12px 14px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 124px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13,91,122,0.10);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--action); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--ink-3); max-width: 280px; line-height: 1.5; }
.form-status { font-size: 14px; font-weight: 600; margin-top: 16px; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: var(--leaf); }
.form-status.err { color: var(--action-700); }

/* =========================================================
   FOOTER
   ========================================================= */
footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 76px 0 32px; font-size: 14px; }
footer .grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 44px; }
footer .brand-word { color: #fff; font-size: 22px; }
footer .brand-word b { color: var(--brand-300); }
footer .brand-word i { color: #e7a85a; }
footer .blurb { margin-top: 18px; line-height: 1.7; max-width: 300px; }
footer .memb { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
footer .memb span { font-family: 'IBM Plex Mono', monospace; font-size: 11px; padding: 5px 10px; border: 1px solid rgba(255,255,255,0.14); border-radius: 6px; color: rgba(255,255,255,0.75); }
footer h5 { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin: 0 0 18px; font-weight: 500; }
footer a.fl { display: block; padding: 6px 0; color: rgba(255,255,255,0.66); transition: color .15s; }
footer a.fl:hover { color: #fff; }
footer a.fl.fire { color: #e7a85a; font-weight: 600; }
footer .legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.10); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.4); font-family: 'IBM Plex Mono', monospace; }

/* ── Sticky dépannage FAB ── */
.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: flex; align-items: center; gap: 11px; background: var(--action); color: #fff;
  padding: 12px 18px 12px 14px; border-radius: 10px; font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow-lg); transition: background .15s;
}
.fab:hover { background: var(--action-700); }
.fab .ic { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; }
.fab .telno { font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 11.5px; opacity: 0.92; }
.fab .dot { position: absolute; top: 10px; left: 36px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,0.7); animation: fpulse 1.9s infinite; }
@keyframes fpulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.55); } 70% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* =========================================================
   NAV DROPDOWN (Services)
   ========================================================= */
.has-sub { position: relative; }
.has-sub > a { display: inline-flex; align-items: center; gap: 7px; }
.caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: 0.55; transition: transform .2s ease; }
.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(180deg); }
.submenu {
  position: absolute; top: 100%; left: -14px; min-width: 268px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow-lg); padding: 8px; margin-top: 14px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.submenu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { padding: 11px 14px; border-radius: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); display: flex; flex-direction: column; gap: 3px; white-space: nowrap; }
.submenu a::after { display: none; }
.submenu a:hover { background: var(--paper-2); color: var(--brand); }
.submenu a .sm-sub { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 400; letter-spacing: 0.02em; color: var(--ink-3); }

/* =========================================================
   INTERIOR PAGE HEADER
   ========================================================= */
.page-head { position: relative; background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 64px 0 58px; overflow: hidden; }
.page-head::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-brand); }
.page-head .inner { max-width: 760px; }
.page-head h1 { font-size: clamp(34px, 4.2vw, 54px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; margin-top: 16px; }
.page-head .lead { margin-top: 20px; max-width: 600px; }
.crumb { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 0.04em; color: var(--ink-3); display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 6px; }
.crumb a { color: var(--ink-3); transition: color .15s; }
.crumb a:hover { color: var(--brand); }
.crumb .sep { opacity: 0.45; }
.crumb .cur { color: var(--ink-2); }

/* fire variant — dépannage hero */
.page-head.fire { background: linear-gradient(135deg, var(--action-700), var(--action)); color: #fff; border-bottom-color: transparent; }
.page-head.fire::before { background: rgba(255,255,255,0.55); }
.page-head.fire .crumb, .page-head.fire .crumb a { color: rgba(255,255,255,0.78); }
.page-head.fire .eyebrow { color: #fff; }
.page-head.fire .eyebrow::before { background: rgba(255,255,255,0.7); }
.page-head.fire .lead { color: rgba(255,255,255,0.92); }
.page-head.fire .bigtel { font-family: 'IBM Plex Mono', monospace; font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -0.02em; margin-top: 22px; display: inline-block; }
.page-head.fire .ph-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 44px; align-items: center; }
.page-head.fire .ph-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.commit { background: rgba(0,0,0,0.18); border: 1px solid rgba(255,255,255,0.28); border-radius: var(--r-card); padding: 24px; }
.commit .k { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.9; }
.commit ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 12px; }
.commit li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; line-height: 1.45; }
.commit li svg { flex-shrink: 0; margin-top: 2px; color: #fff; }

/* =========================================================
   INTERIOR — GENERIC BLOCKS
   ========================================================= */
section.section { padding: 84px 0; }
section.section.tight { padding: 60px 0; }
.section.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.badge2 { display: inline-flex; align-items: center; font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 11px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink-2); background: var(--surface); }
.badge2.action { color: var(--action); border-color: rgba(207,74,28,0.30); background: var(--action-soft); }
.badge2.brand { color: var(--brand); border-color: rgba(13,91,122,0.30); background: var(--brand-soft); }

/* card grids */
.cards { display: grid; gap: 20px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; }
.card.lift { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .ico { width: 46px; height: 46px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; flex-shrink: 0; }
.card.on-action .ico { background: var(--action-soft); color: var(--action); }
.card .num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--ink-3); letter-spacing: 0.12em; }
.card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-top: 10px; }
.card > p { font-size: 14.5px; color: var(--ink-2); margin-top: 11px; line-height: 1.58; }
.card .mini { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.card .mini li { font-size: 13.5px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.card .mini li svg { color: var(--brand); flex-shrink: 0; }
.card.on-action .mini li svg { color: var(--action); }
.card .tagset { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* split: content + sticky aside */
.split { display: grid; grid-template-columns: 1.9fr 1fr; gap: 48px; align-items: start; }
.aside-stack { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 98px; }
.side-card { border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; background: var(--surface); }
.side-card .k { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.side-card h4 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-top: 6px; }
.side-card p { font-size: 13.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.55; }
.side-card .btn { margin-top: 16px; width: 100%; }
.side-card.brand { background: var(--brand-soft); border-color: rgba(13,91,122,0.22); }
.side-card.brand .k { color: var(--brand); }
.side-card.depan { border-color: rgba(207,74,28,0.40); }
.side-card.depan .k { color: var(--action); }
.side-card .tel { font-family: 'IBM Plex Mono', monospace; font-size: 20px; font-weight: 700; color: var(--action); margin-top: 12px; display: inline-block; }
.side-card .marklist { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.side-card .marklist span { font-size: 13px; color: var(--ink-2); padding: 8px 0; border-bottom: 1px dashed var(--line); }
.side-card .marklist span:last-child { border-bottom: none; }

/* vertical numbered steps */
.steps { display: flex; flex-direction: column; margin-top: 8px; }
.step-row { display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.step-row:first-child { border-top: none; padding-top: 4px; }
.step-row .sn { font-family: 'IBM Plex Mono', monospace; font-size: 14px; font-weight: 600; color: #fff; background: var(--brand); width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-row h4 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.step-row p { font-size: 14.5px; color: var(--ink-2); margin-top: 8px; line-height: 1.58; }

/* sector tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; background: var(--surface); transition: transform .18s ease, box-shadow .18s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tile .ti-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.tile h4 { font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; }
.tile p { font-size: 13px; color: var(--ink-3); margin-top: 8px; line-height: 1.5; }

/* dark stat band */
.darkband { background: var(--ink); color: #fff; }
.darkband .wrap { padding-top: 72px; padding-bottom: 72px; }
.darkband h2 { color: #fff; font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.03em; margin-top: 16px; font-weight: 700; }
.darkband .ds-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 44px; }
.darkband .ds .n { font-size: clamp(30px, 3vw, 42px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.darkband .ds .l { font-size: 13px; color: rgba(255,255,255,0.58); margin-top: 12px; line-height: 1.45; }

/* metrics row (light) */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.metric { padding: 4px 0; }
.metric .n { font-size: clamp(32px, 3.2vw, 48px); font-weight: 800; color: var(--brand); letter-spacing: -0.03em; line-height: 1; }
.metric .l { font-size: 13px; color: var(--ink-3); margin-top: 10px; line-height: 1.4; }

/* lined list (zones) */
.lined { list-style: none; margin: 16px 0 0; padding: 0; }
.lined li { font-size: 14px; color: var(--ink-2); padding: 10px 0; border-bottom: 1px dashed var(--line); }
.lined li:last-child { border-bottom: none; }

/* duo: text + media */
.duo { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.duo.rev .media { order: -1; }
.media { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--paper-2); }
.media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* simple prose paragraphs */
.prose p { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin-top: 16px; max-width: 640px; }
.prose p:first-child { margin-top: 0; }

/* center CTA mini */
.cta-center { text-align: center; }
.cta-center h2 { font-size: clamp(28px, 3vw, 42px); font-weight: 700; letter-spacing: -0.03em; }
.cta-center .lead { margin: 14px auto 24px; max-width: 520px; }
.cta-center .acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* address / contact info card on interior pages */
.infogrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.infocard { border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; background: var(--surface); }
.infocard .k { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.infocard .v { font-size: 15px; font-weight: 600; margin-top: 8px; line-height: 1.5; }
.infocard .v.fire { color: var(--action); }

/* scroll offset for in-page anchors under sticky header */
section[id], [id].anchor { scroll-margin-top: 96px; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(0.16,1,0.3,1), transform .6s cubic-bezier(0.16,1,0.3,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .07s; }
.js .reveal.d2 { transition-delay: .14s; }
.js .reveal.d3 { transition-delay: .21s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  :root { --pad: 32px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { min-height: 380px; order: -1; }
  .hero-left { padding: 52px 0; }
  .hero-left .inner { margin: 0 auto; padding: 0; }
  .why .grid, .zones .grid, .faq .grid, .contact .grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .proc-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .util { display: none; }
  section.block { padding: 76px 0; }
  footer .grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  footer .grid > :first-child { grid-column: 1 / -1; }

  .nav-toggle { display: inline-flex; }
  nav.links {
    position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px 0; box-shadow: var(--shadow-md); display: none;
  }
  nav.links.open { display: flex; }
  nav.links a { padding: 14px var(--pad); font-size: 16px; }
  nav.links a::after { display: none; }
  .nav-cta .btn-ghost { display: none; }

  /* interior pages */
  .has-sub > a { justify-content: space-between; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-radius: 0; margin: 0; padding: 0;
    min-width: 0; background: transparent;
  }
  .submenu::before { display: none; }
  .submenu a { padding: 11px var(--pad) 11px calc(var(--pad) + 16px); border-radius: 0; }
  .submenu a .sm-sub { display: none; }
  .caret { display: none; }

  .split { grid-template-columns: 1fr; gap: 36px; }
  .aside-stack { position: static; }
  .duo, .duo.rev .media { grid-template-columns: 1fr; }
  .duo.rev .media { order: 0; }
  .duo { gap: 36px; }
  .cards.c3, .cards.c4, .tiles, .metrics, .darkband .ds-grid, .infogrid { grid-template-columns: repeat(2, 1fr); }
  .page-head.fire .ph-grid { grid-template-columns: 1fr; gap: 28px; }
  section.section { padding: 60px 0; }
}
@media (max-width: 640px) {
  .brand-text { display: none; }
}
@media (max-width: 560px) {
  :root { --pad: 22px; }
  .proc-grid { grid-template-columns: 1fr; }
  .usp .badges { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px; }
  .hero-stats .stat { padding-right: 14px; margin-right: 14px; }
  .hero-stats .n { font-size: 29px; }
  .hero-stats .l { font-size: 11px; }

  .cards.c3, .cards.c4, .tiles, .metrics, .darkband .ds-grid, .infogrid, .cards.c2 { grid-template-columns: 1fr; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
