/* ==========================================================================
   AH Elec — feuille de style
   ========================================================================== */

:root {
  --ink: #0d1117;
  --ink-2: #151b23;
  --ink-3: #1f2732;
  --line-dark: rgba(255, 255, 255, 0.09);
  --on-dark: #e8ebef;
  --on-dark-muted: #9aa4b2;

  --paper: #f5f3ee;
  --white: #ffffff;
  --text: #161a1f;
  --muted: #5a6270;
  --line: #e2ded4;

  --volt: #ffd60a;
  --volt-deep: #e9c100;
  --volt-soft: #fff4b8;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(13, 17, 23, 0.06), 0 8px 24px -8px rgba(13, 17, 23, 0.12);
  --shadow-lg: 0 2px 4px rgba(13, 17, 23, 0.06), 0 24px 48px -16px rgba(13, 17, 23, 0.25);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { flex-shrink: 0; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--volt); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Eyebrow / labels (annotations "schéma") ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--volt-deep);
}
.dark .eyebrow { color: var(--on-dark-muted); }
.dark .eyebrow::before { background: var(--volt); }

.hl {
  background: linear-gradient(var(--volt), var(--volt)) 0 88% / 100% 0.3em no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-inline: 0.04em;
}
.dark .hl { color: var(--volt); background: none; padding: 0; }
h1, h2 { overflow-wrap: break-word; hyphens: manual; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 24px; border-radius: 999px;
  font: 700 1rem/1 var(--font); text-decoration: none; letter-spacing: -0.005em;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-volt { background: var(--volt); color: var(--ink); box-shadow: 0 6px 20px -8px rgba(233, 193, 0, 0.8); }
.btn-volt:hover { background: #ffe03d; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-3); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.28); color: var(--white); }
.btn-ghost:hover { border-color: var(--volt); color: var(--volt); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-sm { --bh: 42px; padding: 0 18px; font-size: 0.94rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-decoration: none; font-size: 0.96rem;
}
.link-arrow .icon { transition: transform 0.2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; background: var(--volt);
  display: grid; place-items: center; color: var(--ink);
}
.brand-mark svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.22rem; letter-spacing: -0.02em; }
.brand-tag { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 3px; }

.nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 10px 14px; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 0.96rem; color: var(--on-dark);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-list a:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }
.nav-list a[aria-current="page"] { color: var(--volt); }
.header-cta { display: inline-flex; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line-dark);
  background: transparent; color: var(--white); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    padding: 12px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: 14px 12px; font-size: 1.08rem; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav-list .nav-cta { margin-top: 16px; }
  .nav-list .nav-cta a { border: 0; }
}
@media (min-width: 981px) { .nav-list .nav-cta { display: none; } }

/* ---------- Hero ---------- */
.dark { background: var(--ink); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }

.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 112px); }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 85%);
          mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 85%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero-lead { font-size: clamp(1.06rem, 1.5vw, 1.2rem); color: var(--on-dark-muted); max-width: 36em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 0.95rem; color: var(--on-dark); }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks .icon { color: var(--volt); width: 18px; height: 18px; }

.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.18); }

.hero-media { position: relative; }
.frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-3); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13, 17, 23, 0.55)); }
.crop-marks { position: absolute; inset: -14px; pointer-events: none; }
.crop-marks span { position: absolute; width: 28px; height: 28px; border: 2px solid var(--volt); }
.crop-marks span:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.crop-marks span:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.crop-marks span:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.crop-marks span:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.float-card {
  position: absolute; left: -28px; bottom: 36px; z-index: 2;
  display: flex; gap: 14px; align-items: center; max-width: 300px;
  background: var(--white); color: var(--text); padding: 16px 18px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.float-card .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--volt); color: var(--ink); display: grid; place-items: center; }
.float-card strong { display: block; font-size: 0.98rem; line-height: 1.25; }
.float-card span { font-size: 0.84rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 2px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; width: 100%; margin: 12px auto 0; }
  .frame { aspect-ratio: 4 / 3; }
  .float-card { left: 12px; bottom: 12px; }
}

/* ---------- Trust strip ---------- */
.strip { background: var(--volt); color: var(--ink); }
.strip-list { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px; }
.strip-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.98rem; }
.strip-list .icon { width: 22px; height: 22px; }
@media (max-width: 860px) { .strip-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .strip-list li { font-size: 0.9rem; } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-paper { background: var(--paper); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.dark .section-head p { color: var(--on-dark-muted); }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; }
.section-head-row > div { max-width: 680px; }
@media (max-width: 760px) { .section-head-row { flex-direction: column; align-items: flex-start; } }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; text-decoration: none; color: inherit; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--volt); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.service-ic { width: 54px; height: 54px; border-radius: 14px; background: var(--ink); color: var(--volt); display: grid; place-items: center; }
.service-ic .icon { width: 26px; height: 26px; }
.service-num { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); letter-spacing: 0.06em; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.service-card .link-arrow { margin-top: 8px; }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } .service-card { padding: 24px; } }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split-media { position: relative; }
.split-media .frame { aspect-ratio: 5 / 6; }
.split-media .frame::after { display: none; }
.split-media::before {
  content: ""; position: absolute; right: -18px; bottom: -18px; width: 62%; height: 62%;
  background: var(--volt); border-radius: var(--radius-lg); z-index: -1;
}
.split-media { z-index: 0; }
.badge-box {
  position: absolute; top: 22px; left: 22px;
  background: var(--ink); color: var(--white); border-radius: 12px; padding: 14px 16px;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.5;
}
.badge-box b { display: block; font-family: var(--font); font-size: 1.05rem; text-transform: none; letter-spacing: -0.01em; color: var(--volt); }
.lead { font-size: 1.14rem; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; }
.checks .ck { width: 32px; height: 32px; border-radius: 50%; background: var(--volt); color: var(--ink); display: grid; place-items: center; }
.checks .ck .icon { width: 17px; height: 17px; stroke-width: 3; }
.checks strong { display: block; font-size: 1.04rem; }
.checks span { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-media { max-width: 520px; width: calc(100% - 18px); }
  .split-media .frame { aspect-ratio: 4 / 3; }
}

/* ---------- Process (le "circuit") ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--volt) 0 10px, transparent 10px 16px);
  opacity: 0.6;
}
.step { position: relative; counter-increment: step; }
.step-node {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--volt); color: var(--volt);
  display: grid; place-items: center; margin-bottom: 22px;
  font-family: var(--mono); font-weight: 500; font-size: 0.95rem;
}
.step-node::before { content: "0" counter(step); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--on-dark-muted); font-size: 0.97rem; margin: 0; }
.section-paper .step p, .light-steps .step p { color: var(--muted); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--volt) 0 10px, transparent 10px 16px); }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 28px; }
  .step:last-child { padding-bottom: 0; }
  .step-node { margin: 0; }
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, minmax(200px, 260px)); gap: 16px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.gallery figure:first-child { grid-row: span 2; }
.gallery figure:last-child { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(13, 17, 23, 0.82); color: var(--white); backdrop-filter: blur(6px);
  padding: 7px 12px; border-radius: 8px; font-size: 0.84rem; font-weight: 600;
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 180px; }
  .gallery figure:first-child { grid-column: span 2; grid-row: auto; }
  .gallery figure:last-child { grid-column: span 2; }
}

/* ---------- Zone ---------- */
.zone-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.chips { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; font-weight: 600; font-size: 0.95rem;
}
.chips li .icon { width: 16px; height: 16px; color: var(--volt-deep); }
.chips li.is-main { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chips li.is-main .icon { color: var(--volt); }
.hq-card {
  background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); padding: 32px;
  position: relative; overflow: hidden;
}
.hq-card h3 { color: var(--white); }
.hq-card address { font-style: normal; font-size: 1.1rem; color: var(--white); margin-bottom: 20px; line-height: 1.5; }
.hq-card .hq-title { font-size: 1.3rem; font-weight: 800; color: var(--white); letter-spacing: -0.01em; margin-bottom: 8px; }
.hq-card p { color: var(--on-dark-muted); margin-bottom: 22px; position: relative; z-index: 1; }
.chips li.is-more { background: transparent; border-style: dashed; color: var(--muted); font-weight: 500; }
.hq-card .mono-label { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); display: block; margin-bottom: 10px; }
.hq-card .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hq-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%;
  border: 2px dashed rgba(255, 214, 10, 0.35);
}
@media (max-width: 900px) { .zone-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.faq-item[open] { border-color: var(--ink); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; font-size: 1.04rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { width: 30px; height: 30px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; transition: transform 0.2s ease, background-color 0.2s ease; }
.faq-item[open] summary .pm { transform: rotate(45deg); background: var(--volt); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); }
.faq-item .faq-body p:last-child { margin: 0; }
.section-paper .faq-item summary .pm { background: var(--paper); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--volt); color: var(--ink); padding: clamp(48px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(13, 17, 23, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 17, 23, 0.07) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0 0 6px; }
.cta-inner p { margin: 0; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-outline:hover { background: var(--ink); color: var(--volt); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-cards { display: grid; gap: 12px; margin-top: 28px; }
.contact-card {
  display: flex; gap: 16px; align-items: center;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 18px 20px;
  text-decoration: none; color: var(--on-dark); transition: border-color 0.2s ease, transform 0.2s ease;
}
a.contact-card:hover { border-color: var(--volt); transform: translateX(3px); }
.contact-card .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 214, 10, 0.12); color: var(--volt); display: grid; place-items: center; }
.contact-card small { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); }
.contact-card strong { display: block; color: var(--white); font-size: 1.06rem; word-break: break-word; }

.form { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.form h3, .dark .form h3 { font-size: 1.5rem; margin-bottom: 6px; color: var(--text); }
.form > p { color: var(--muted); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--paper); border: 1.5px solid transparent; border-radius: 10px;
  padding: 13px 14px; width: 100%; transition: border-color 0.15s ease, background-color 0.15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 14px 0 0; }
.btn-wa { background: #1fa855; color: var(--white); }
.btn-wa:hover { background: #188d47; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row, .form-actions { grid-template-columns: 1fr; } }

/* ---------- Page hero (pages internes) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 88px); }
.breadcrumb { position: relative; margin-bottom: 28px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.88rem; color: var(--on-dark-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--volt); }
.breadcrumb [aria-current] { color: var(--on-dark); }
.page-hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.page-hero .frame { aspect-ratio: 4 / 3; }
.page-hero .frame::after { display: none; }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero .hero-media { max-width: 560px; margin: 0; }
}

/* ---------- Service detail ---------- */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #343a43; }
.prose > p:first-of-type { font-size: 1.12rem; }
.feature-list { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature-list li { background: var(--paper); border-radius: var(--radius); padding: 18px 18px 18px 52px; position: relative; }
.feature-list li::before {
  content: ""; position: absolute; left: 18px; top: 21px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--volt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1117' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.feature-list strong { display: block; margin-bottom: 2px; }
.feature-list span { color: var(--muted); font-size: 0.95rem; line-height: 1.5; display: block; }
.callout {
  border-left: 4px solid var(--volt); background: var(--paper); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 28px 0;
}
.callout p { margin: 0; color: var(--text); }
.light-steps { margin: 28px 0 8px; }
.light-steps .steps::before { opacity: 0.9; }
.light-steps .step-node { background: var(--white); color: var(--ink); border-color: var(--ink); }
.light-steps .steps { grid-template-columns: repeat(2, 1fr); gap: 24px 28px; }
.light-steps .steps::before { display: none; }
@media (max-width: 900px) { .light-steps .steps { grid-template-columns: 1fr; gap: 0; } .light-steps .steps::before { display: block; } }

.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.aside-card { border-radius: var(--radius-lg); padding: 26px; }
.aside-cta { background: var(--ink); color: var(--on-dark); }
.aside-cta h2 { font-size: 1.35rem; color: var(--white); margin-bottom: 8px; }
.aside-cta p { color: var(--on-dark-muted); font-size: 0.96rem; }
.aside-cta .btn { margin-top: 10px; }
.aside-links { border: 1px solid var(--line); }
.aside-links h2 { font-size: 0.78rem; font-family: var(--mono); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.aside-links ul { list-style: none; padding: 0; margin: 0; }
.aside-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.aside-links li:last-child a { border-bottom: 0; }
.aside-links a:hover { color: var(--volt-deep); }
@media (max-width: 980px) {
  .article-grid { grid-template-columns: 1fr; }
  .aside { position: static; }
  .feature-list { grid-template-columns: 1fr; }
}

/* ---------- Legal ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.5rem; margin-top: 1.8em; }
.legal p, .legal li { color: #343a43; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 72px 0 0; font-size: 0.96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-grid h2 { font-family: var(--mono); font-size: 0.76rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--volt); }
.footer-about p { margin: 18px 0 0; max-width: 32ch; }
.footer-grid address { font-style: normal; line-height: 1.7; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.86rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--volt); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Barre d'action mobile ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(13, 17, 23, 0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line-dark);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 52px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 0.88rem; gap: 6px;
    color: var(--white); background: var(--ink-3);
  }
  .mobile-bar a.is-primary { background: var(--volt); color: var(--ink); }
  .mobile-bar a.is-wa { background: #1fa855; }
}

/* ---------- Apparition au scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; }
.notfound .code { font-family: var(--mono); color: var(--volt); font-size: 0.9rem; letter-spacing: 0.1em; }
.notfound .hero-actions { justify-content: center; }
