/* ============================================================
   ARETEK — Système de design
   Charte : bleu marine profond (#0B2447) + accent ambre (#E8930C)
   Typographies : Archivo (titres) / Inter (texte)
   ============================================================ */

:root {
  --navy-950: #051224;
  --navy-900: #071a36;
  --navy-800: #0b2447;
  --navy-700: #12325f;
  --navy-600: #1a4279;
  --navy-100: #e8eef7;
  --amber: #e8930c;
  --amber-dark: #c97a05;
  --amber-light: #fdf3e1;
  --ink: #1c2430;
  --muted: #5b6472;
  --line: #e3e7ee;
  --bg: #f6f8fb;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(11, 36, 71, 0.10);
  --shadow-lg: 0 18px 48px rgba(11, 36, 71, 0.16);
  --font-head: "Archivo", "Inter", -apple-system, "Segoe UI", sans-serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --ease: 200ms ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
a { color: var(--navy-700); }

h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -0.01em; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Animations d'entrée ---------- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-observed:not(.visible) { opacity: 0; transform: translateY(24px); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 90ms; }
.reveal-delay-2 { transition-delay: 180ms; }
.reveal-delay-3 { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease),
    border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.btn:hover { box-shadow: 0 8px 20px rgba(11, 36, 71, 0.18); }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--amber); color: var(--navy-950); }
.btn-accent:hover { background: var(--amber-dark); color: var(--white); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); box-shadow: none; }
.btn-outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn-outline:hover { background: var(--navy-800); color: var(--white); }
.btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* État de chargement (formulaire) */
.btn.loading { pointer-events: none; opacity: 0.75; }
.btn.loading .btn-label { visibility: hidden; }
.btn.loading::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(7, 18, 36, 0.25);
  border-top-color: var(--navy-950);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}
.btn { position: relative; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 36, 71, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.15;
}
.brand-name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--white);
}
.brand-name em { font-style: normal; color: var(--amber); }
.brand-sub {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background var(--ease), color var(--ease);
}
.main-nav a:hover { background: rgba(255, 255, 255, 0.10); color: var(--white); }
.main-nav a.active { color: var(--amber); }
.main-nav .btn { padding: 10px 22px; margin-left: 10px; font-size: 0.88rem; }
.main-nav .btn:hover { box-shadow: 0 6px 16px rgba(232, 147, 12, 0.35); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  padding: 104px 0 96px;
  background:
    linear-gradient(115deg, rgba(5, 18, 36, 0.96) 25%, rgba(11, 36, 71, 0.88) 60%, rgba(18, 50, 95, 0.72)),
    var(--navy-800);
  overflow: hidden;
}
.hero::before {
  /* Trame « blueprint » : quadrillage fin */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(120deg, rgba(0,0,0,0.9), rgba(0,0,0,0.35));
  -webkit-mask-image: linear-gradient(120deg, rgba(0,0,0,0.9), rgba(0,0,0,0.35));
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero .kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(232, 147, 12, 0.45);
  background: rgba(232, 147, 12, 0.08);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p.lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Illustration blueprint */
.hero-visual { position: relative; }
.hero-visual svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(5, 18, 36, 0.5));
}
.hero-visual .frame {
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  pointer-events: none;
}
.hero-visual .frame::after {
  content: "FIG. 01 — INFRASTRUCTURE COURANTS FORTS & FAIBLES";
  position: absolute;
  bottom: -1px;
  left: 18px;
  transform: translateY(100%);
  padding-top: 10px;
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- Bandeau de statistiques ---------- */
.stats-bar {
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.stat .stat-value {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.01em;
}
.stat .stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
}

/* ---------- Bandeau de page intérieure ---------- */
.page-banner {
  position: relative;
  background: linear-gradient(120deg, var(--navy-950), var(--navy-700) 80%);
  color: var(--white);
  padding: 72px 0 64px;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.7), transparent 75%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.7), transparent 75%);
  pointer-events: none;
}
.page-banner .container { position: relative; }
.page-banner h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.015em; }
.page-banner p { color: rgba(255, 255, 255, 0.78); max-width: 700px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--amber); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: rgba(255, 255, 255, 0.3); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--bg); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  color: var(--navy-800);
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}
.section-head p { color: var(--muted); }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(232, 147, 12, 0.55); }
.card .icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--amber-light), #fbE8c4);
  border: 1px solid rgba(232, 147, 12, 0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card .icon svg { width: 24px; height: 24px; stroke: var(--amber-dark); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.1rem; color: var(--navy-800); margin-bottom: 8px; }
.card p { font-size: 0.92rem; color: var(--muted); }
.card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--amber-dark);
  text-decoration: none;
  transition: gap var(--ease);
}
.card .more:hover { gap: 10px; }

/* ---------- Pourquoi ARETEK ---------- */
.why-item { display: flex; gap: 18px; }
.why-item .num {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--amber);
  font-family: var(--font-head);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(11, 36, 71, 0.25);
}
.why-item h3 { color: var(--navy-800); font-size: 1.05rem; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Secteurs / badges ---------- */
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-800);
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}
.badge:hover { border-color: var(--amber); background: var(--amber-light); transform: translateY(-2px); }
.badge svg { width: 18px; height: 18px; stroke: var(--amber-dark); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.sector {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: box-shadow var(--ease), transform var(--ease);
}
.sector:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.sector svg { width: 36px; height: 36px; margin: 0 auto 14px; stroke: var(--navy-700); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sector h3 { font-size: 1rem; color: var(--navy-800); margin-bottom: 6px; }
.sector p { font-size: 0.86rem; color: var(--muted); }

/* ---------- Normes & garanties ---------- */
.norm-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.norm-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.norm-item:hover { border-color: rgba(232, 147, 12, 0.5); box-shadow: var(--shadow); }
.norm-item svg { width: 30px; height: 30px; margin: 0 auto 12px; stroke: var(--navy-700); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.norm-item strong { display: block; font-family: var(--font-head); font-size: 0.92rem; color: var(--navy-800); margin-bottom: 4px; }
.norm-item span { font-size: 0.78rem; color: var(--muted); line-height: 1.45; display: block; }

/* ---------- Méthode / timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
  counter-reset: step;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, var(--line), var(--amber), var(--line));
}
.step { position: relative; text-align: center; padding-top: 0; }
.step .step-dot {
  position: relative;
  z-index: 1;
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--amber);
  color: var(--navy-800);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(232, 147, 12, 0.25);
}
.step h3 { font-size: 1.02rem; color: var(--navy-800); margin-bottom: 6px; }
.step p { font-size: 0.88rem; color: var(--muted); max-width: 240px; margin: 0 auto; }

/* Version sombre (sur bandeau navy) */
.timeline.dark::before { background: linear-gradient(90deg, transparent, rgba(232,147,12,0.6), transparent); }
.timeline.dark .step-dot { background: var(--navy-900); color: var(--amber); }
.timeline.dark .step h3 { color: var(--white); }
.timeline.dark .step p { color: rgba(255, 255, 255, 0.65); }

/* ---------- Pages services détaillées ---------- */
.service-block {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 30px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-of-type { border-bottom: none; }
.service-block .icon-lg {
  width: 68px; height: 68px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(11, 36, 71, 0.28);
}
.service-block .icon-lg svg { width: 32px; height: 32px; stroke: var(--amber); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-block h2 { font-size: 1.4rem; color: var(--navy-800); margin-bottom: 10px; letter-spacing: -0.01em; }
.service-block > div > p { color: var(--muted); max-width: 780px; margin-bottom: 20px; }

.service-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 22px;
}
.check-list { list-style: none; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 0.93rem;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--amber-light) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23c97a05" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M5 13l4 4L19 7"/></svg>') center / 11px no-repeat;
  border: 1px solid rgba(232, 147, 12, 0.4);
}
.check-list-title {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: 14px;
}
.service-cta { margin-top: 6px; }

/* ---------- Réalisations (cas types) ---------- */
.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--ease), transform var(--ease);
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.case-visual {
  height: 148px;
  position: relative;
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(135deg, var(--navy-900), var(--navy-600));
  background-size: 28px 28px, 28px 28px, cover;
  display: flex; align-items: center; justify-content: center;
}
.case-visual svg { width: 54px; height: 54px; stroke: rgba(232, 147, 12, 0.95); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.case-visual .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-950);
  background: var(--amber);
  border-radius: 4px;
  padding: 4px 10px;
}
.case-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.case-body h3 { color: var(--navy-800); font-size: 1.08rem; margin-bottom: 14px; }
.case-row { margin-bottom: 12px; }
.case-row .case-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 2px;
}
.case-row p { font-size: 0.88rem; color: var(--muted); }
.case-row.result { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.case-row.result p { color: var(--navy-700); font-weight: 500; }

.disclaimer {
  background: var(--amber-light);
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  padding: 18px 22px;
  color: #7a5410;
  font-size: 0.9rem;
  margin-bottom: 44px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(120deg, var(--navy-950), var(--navy-700));
  background-size: 36px 36px, 36px 36px, cover;
  color: var(--white);
  border-radius: 16px;
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: 1.55rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.015em; }
.cta-band p { color: rgba(255, 255, 255, 0.75); max-width: 540px; }

/* ---------- Formulaire ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 44px;
  align-items: start;
}
form.devis-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
}
form.devis-form fieldset {
  border: none;
  padding: 0;
  margin-bottom: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
form.devis-form fieldset:last-of-type { border-bottom: none; margin-bottom: 10px; padding-bottom: 0; }
form.devis-form legend {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-800);
  margin-bottom: 20px;
}
form.devis-form legend svg { width: 18px; height: 18px; stroke: var(--amber-dark); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 7px;
}
.form-group label .req { color: #c0392b; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover { border-color: #c9d2de; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232, 147, 12, 0.16);
}
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group .hint { font-size: 0.78rem; color: var(--muted); margin-top: 6px; }
.checkbox-group { display: flex; gap: 12px; align-items: flex-start; }
.checkbox-group input { width: auto; margin-top: 4px; accent-color: var(--amber-dark); }
.checkbox-group label { font-weight: 400; font-size: 0.86rem; color: var(--muted); }

.form-side .card { margin-bottom: 20px; }
.form-side h3 { margin-bottom: 12px; }
.form-side p, .form-side li { font-size: 0.9rem; color: var(--muted); }
.form-side ul { margin-left: 18px; }
.form-side li { margin-bottom: 8px; }
.form-side strong { color: var(--navy-800); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-item .icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--amber-light);
  border: 1px solid rgba(232, 147, 12, 0.25);
  display: flex; align-items: center; justify-content: center;
}
.contact-item .icon svg { width: 22px; height: 22px; stroke: var(--amber-dark); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-item h3 { font-size: 0.98rem; color: var(--navy-800); margin-bottom: 3px; }
.contact-item p { font-size: 0.92rem; color: var(--muted); }
.contact-item a { color: var(--navy-700); font-weight: 600; text-decoration: none; }
.contact-item a:hover { color: var(--amber-dark); }
.map-frame {
  width: 100%;
  height: 400px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.placeholder-note {
  display: inline-block;
  background: var(--amber-light);
  color: #7a5410;
  font-size: 0.74rem;
  font-weight: 600;
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ---------- Mentions légales ---------- */
.legal h2 { color: var(--navy-800); font-size: 1.25rem; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); font-size: 0.94rem; margin-bottom: 8px; }
.legal ul { margin: 0 0 12px 20px; }
.legal table { border-collapse: collapse; margin: 12px 0 18px; width: 100%; max-width: 720px; }
.legal td { border: 1px solid var(--line); padding: 9px 15px; font-size: 0.9rem; }
.legal td:first-child { font-weight: 600; color: var(--navy-800); background: var(--bg); width: 240px; }

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.68);
  padding: 64px 0 0;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
}
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer a { color: rgba(255, 255, 255, 0.68); text-decoration: none; transition: color var(--ease); }
.site-footer a:hover { color: var(--amber); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.footer-brand .brand-name { font-size: 1.3rem; }
.footer-brand > p { margin-top: 14px; max-width: 360px; line-height: 1.7; font-size: 0.88rem; }
.footer-contact { margin-top: 18px; font-size: 0.86rem; }
.footer-contact li { display: flex; gap: 8px; }
.footer-contact svg { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 4px; stroke: var(--amber); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-legal-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.84rem; }
.footer-legal-list span:first-child { color: rgba(255, 255, 255, 0.42); }
.footer-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-strip .rcs { font-family: var(--font-head); letter-spacing: 0.06em; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .norm-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .timeline::before { display: none; }
  .form-wrap, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .stat + .stat::before { display: none; }
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-950);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 22px;
    gap: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 40px rgba(5, 18, 36, 0.5);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 10px; border-radius: 6px; }
  .main-nav .btn { margin: 12px 0 0; justify-content: center; }
}

@media (max-width: 720px) {

  .hero { padding: 72px 0 64px; }
  .section { padding: 60px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .norm-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .service-cols { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  form.devis-form { padding: 28px 20px; }
  .service-block { grid-template-columns: 1fr; gap: 18px; }
  .cta-band { padding: 40px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .legal td:first-child { width: auto; }
}

/* ---------- Sélecteur de langue ---------- */
.lang-switch { position: relative; margin-left: 6px; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 7px 14px;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.lang-btn:hover { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.lang-btn svg { width: 16px; height: 16px; stroke: var(--amber); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lang-btn .chev { width: 12px; height: 12px; stroke: rgba(255, 255, 255, 0.6); transition: transform var(--ease); }
.lang-switch.open .lang-btn .chev { transform: rotate(180deg); }
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  list-style: none;
  background: var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 18px 40px rgba(5, 18, 36, 0.55);
  z-index: 120;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 9px 14px;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}
.lang-menu button:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.lang-menu button.active { color: var(--amber); font-weight: 700; }

/* ---------- Ajustements typographiques chinois ---------- */
html[lang^="zh"] body {
  font-family: var(--font);
  line-height: 1.75;
}
html[lang^="zh"] p,
html[lang^="zh"] li { line-height: 1.8; }
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang^="zh"] h3, html[lang^="zh"] h4,
html[lang^="zh"] .brand-name, html[lang^="zh"] .stat .stat-value,
html[lang^="zh"] .btn, html[lang^="zh"] .badge {
  font-family: var(--font-head), "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}
html[lang^="zh"] body,
html[lang^="zh"] input, html[lang^="zh"] select, html[lang^="zh"] textarea {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
}
html[lang^="zh"] .breadcrumb,
html[lang^="zh"] .section-head .kicker,
html[lang^="zh"] .hero .kicker,
html[lang^="zh"] .check-list-title,
html[lang^="zh"] .case-row .case-label,
html[lang^="zh"] .site-footer h4 {
  letter-spacing: 0.06em;
}

@media (max-width: 720px) {
  .lang-switch { margin: 10px 0 0; }
  .lang-btn { width: 100%; justify-content: center; padding: 12px 14px; }
  .lang-menu { position: static; margin-top: 8px; box-shadow: none; }
}

/* Accessibilité et états de formulaire */
:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
[id] { scroll-margin-top: 100px; }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 1000; padding: 12px 20px; background: var(--white); color: var(--navy-950); border-radius: 8px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-bottom: 20px; padding: 18px; border: 1px solid; border-radius: var(--radius-sm); overflow-wrap: anywhere; }
.form-status.is-error { background: #fff5f2; color: #962d15; border-color: #e8aa99; }
.form-status.is-success { background: #eef8f0; color: #205d31; border-color: #99cba5; }
.form-status[hidden] { display: none; }
.form-email { margin-top: 20px; font-size: .9rem; color: var(--muted); }
.form-email a { overflow-wrap: anywhere; }
.btn:disabled { cursor: default; opacity: .7; }
.map-panel { padding: 36px 24px; background: var(--navy-100); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.map-panel svg { width: 100%; max-width: 280px; height: 175px; margin: 0 auto 24px; color: #b8c9de; }
.map-panel h3 { color: var(--navy-800); margin-bottom: 8px; }
.map-panel .btn { margin: 24px 0 16px; justify-content: center; }
.map-panel .hint { font-size: .82rem; color: var(--muted); }
@media (max-width: 980px) {
  .main-nav { max-height: calc(100dvh - 72px); overflow-y: auto; }
  .main-nav .lang-menu { position: static; margin: 8px 0; }
}
@media (max-width: 400px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .norm-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .legal table { font-size: .82rem; table-layout: fixed; }
  .legal td { padding: 12px 8px; overflow-wrap: anywhere; }
  .footer-legal-list { overflow-wrap: anywhere; }
}
