/* =========================================================================
   ACERMIITEE — feuille de style unique
   Palette dérivée du logo (orange #ED5F1E) + bleu nuit technique.
   ========================================================================= */

/* ------------------------------------------------------------- polices */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* -------------------------------------------------------------- tokens */
:root {
  --brand: #ed5f1e;
  --brand-dark: #c8480f;
  --brand-light: #ff8a4c;
  --brand-soft: #fff2ea;

  --ink: #0b1b2b;
  --ink-2: #12293d;
  --ink-3: #1d3a52;

  --text: #1b2a38;
  --muted: #5c6b78;
  --line: #e2e8ed;
  --bg: #ffffff;
  --bg-alt: #f5f8fa;

  --font-display: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgb(11 27 43 / 6%), 0 8px 24px -12px rgb(11 27 43 / 18%);
  --shadow-lg: 0 24px 60px -24px rgb(11 27 43 / 30%);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
iframe { border: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--brand); color: #fff; }

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

.sr-only {
  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: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 0.8rem 1.2rem;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------- layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2rem);
}

.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: #d8e2ea; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: #a9bccc; }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-bottom: 0.4em; }
.section-foot { margin: 2.5rem 0 0; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 0.9rem;
}
.eyebrow-light { color: var(--brand-light); }

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.17rem);
  color: var(--muted);
  line-height: 1.7;
}
.muted { color: var(--muted); }

.grid { display: grid; gap: clamp(1.1rem, 2vw, 1.7rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Équipe réduite : bloc centré, pour éviter deux cartes perdues dans la largeur */
.team-narrow { max-width: 640px; margin-inline: auto; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split-narrow { grid-template-columns: 340px 1fr; align-items: start; }
.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ------------------------------------------------------------- icônes */
.icon { width: 26px; height: 26px; flex: none; }
.icon-sm { width: 20px; height: 20px; flex: none; }
.icon-xs { width: 16px; height: 16px; flex: none; }

/* ------------------------------------------------------------ boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 0.7rem 1.15rem; font-size: 0.9rem; }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }

.btn-outline { background: transparent; color: #fff; border-color: rgb(255 255 255 / 55%); }
.btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-ghost { background: rgb(255 255 255 / 12%); color: #fff; border-color: rgb(255 255 255 / 30%); }
.btn-ghost:hover { background: #fff; color: var(--ink); }

.btn-whatsapp { background: #25d366; color: #05391a; width: 100%; }
.btn-whatsapp:hover { background: #1eb356; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, gap 0.15s ease;
}
.link-arrow:hover { border-color: var(--brand); gap: 0.8rem; }

/* ------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 24px -14px rgb(11 27 43 / 35%); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 168px; height: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); }
.nav-list { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.9rem); }
.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  color: var(--ink);
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-link:hover { color: var(--brand); }
.nav-link.is-active { color: var(--brand); border-color: var(--brand); }

.nav-tail { display: flex; align-items: center; gap: 0.85rem; }
.lang-switch {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.lang-switch:hover { border-color: var(--brand); color: var(--brand); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------- hero */
.hero {
  position: relative;
  color: #fff;
  background: var(--ink);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center 62%;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgb(8 21 34 / 92%) 0%, rgb(8 21 34 / 78%) 42%, rgb(8 21 34 / 35%) 100%);
  z-index: -1;
}
.hero-inner {
  padding-block: clamp(4.5rem, 11vw, 8.5rem) clamp(3rem, 6vw, 5rem);
  max-width: 46rem;
}
.hero h1 { color: #fff; margin-bottom: 0.45em; }
.hero .lead { color: #c6d5e2; max-width: 40rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.2rem; }

/* stats */
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgb(255 255 255 / 14%);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: -3.5rem;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}
.stats li {
  background: rgb(11 27 43 / 96%);
  backdrop-filter: blur(8px);
  padding: 1.5rem clamp(1rem, 2vw, 1.8rem);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.86rem; color: #9fb3c4; line-height: 1.35; }
.page-home .intro { padding-top: calc(var(--section-y) + 2rem); }

.stats-inline { margin-bottom: 0; box-shadow: none; }
.stats-inline li { background: rgb(255 255 255 / 5%); }

/* --------------------------------------------------------- page hero */
.page-hero {
  position: relative;
  color: #fff;
  background: var(--ink-2);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center 55%;
  z-index: -2;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgb(8 21 34 / 94%) 10%, rgb(8 21 34 / 72%) 100%);
  z-index: -1;
}
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #c6d5e2; max-width: 60ch; }
.page-hero .container { max-width: 60rem; }

/* -------------------------------------------------------------- cards */
.card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd9e2; }

.card-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 1.15rem;
}
.card-service { display: flex; flex-direction: column; }
.card-service h3 { margin-bottom: 0.45em; }
.card-service p { color: var(--muted); font-size: 0.95rem; }
.card-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: auto; padding-top: 1.1rem;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.9rem;
  color: var(--brand);
}

.card-project { padding: 0; overflow: hidden; border-radius: var(--radius); }
.card-project a { text-decoration: none; color: inherit; display: block; }
.card-media { display: block; overflow: hidden; }
.card-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 0.5s ease;
}
.card-project:hover .card-media img { transform: scale(1.05); }
.card-project h3 { font-size: 1.05rem; padding-inline: 1.35rem; margin-bottom: 0.35em; }
.card-meta { padding: 0 1.35rem 1.5rem; color: var(--muted); font-size: 0.9rem; }

.tag {
  display: inline-block;
  margin: 1.25rem 1.35rem 0.8rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ----------------------------------------------------------- listes */
.check-list { display: grid; gap: 0.7rem; margin: 1.5rem 0; }
.check-list li { display: flex; gap: 0.7rem; align-items: start; line-height: 1.55; }
.check-list svg { color: var(--brand); margin-top: 3px; }
.section-dark .check-list svg { color: var(--brand-light); }

/* ---------------------------------------------------------- pourquoi */
.why-grid { counter-reset: why; }
.why-item {
  border-top: 2px solid rgb(255 255 255 / 18%);
  padding-top: 1.4rem;
}
.why-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand-light);
}
.why-item h3 { margin: 0.7rem 0 0.5em; }
.why-item p { color: #a9bccc; font-size: 0.95rem; }

/* ------------------------------------------------------- références */
.refs-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1.2rem; margin-bottom: 2rem; }
.refs-head h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 0; }
.refs-head p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.refs-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
}
.refs-list img {
  height: 52px;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.refs-list img:hover { filter: none; opacity: 1; }

/* -------------------------------------------------------- bande CTA */
.cta-band {
  position: relative;
  color: #fff;
  background: var(--ink);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--cta-img);
  background-size: cover;
  background-position: center 60%;
  z-index: -2;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(200 72 15 / 94%) 0%, rgb(11 27 43 / 92%) 65%);
  z-index: -1;
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-inner h2 { color: #fff; margin-bottom: 0.35em; }
.cta-inner p { color: #f3d9cb; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ------------------------------------------------------ ancres services */
.anchor-nav {
  position: sticky;
  top: 76px;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.anchor-nav ul {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 0.9rem;
}
.anchor-nav ul::-webkit-scrollbar { display: none; }
.anchor-nav a {
  white-space: nowrap;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.15s ease;
}
.anchor-nav a:hover { color: var(--brand); }

/* --------------------------------------------------- blocs services */
.service-block,
.project {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 140px;
}
.service-block:last-child,
.project:last-child { border-bottom: 0; padding-bottom: 0; }
.service-block:first-child,
.project:first-child { padding-top: 0; }
.service-block.is-reversed .service-media,
.project.is-reversed .project-media { order: 2; }

.service-media img,
.project-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.service-body .card-icon { margin-bottom: 1rem; }
.service-body blockquote {
  margin: 1.6rem 0;
  padding-left: 1.2rem;
  border-left: 3px solid var(--brand);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-style: italic;
  color: var(--ink-3);
}

/* --------------------------------------------------------- process */
.steps { counter-reset: step; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
  line-height: 1;
}
.step h3 { margin: 0.8rem 0 0.45em; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* --------------------------------------------------------- projets */
.project-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.5rem;
  margin: 0 0 1.4rem;
  padding: 1rem 1.2rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
}
.project-meta dt {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.project-meta dd { margin: 0; font-size: 0.95rem; font-weight: 500; }
.project .tag { margin: 0 0 1rem; }

.gallery-item { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-item figcaption { padding: 0.9rem 1.1rem; font-size: 0.88rem; color: var(--muted); }

/* -------------------------------------------------------- entreprise */
.director-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  text-align: center;
  position: sticky;
  top: 110px;
}
.director-card img {
  width: 100%;
  max-width: 240px;
  margin: 0 auto 1rem;
  border-radius: var(--radius);
  background: #fff;
}
.director-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 0; color: var(--ink); }
.director-role { color: var(--brand); font-size: 0.9rem; margin: 0.2rem 0 0; }
.director .split-body p { max-width: 65ch; }

.value {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.value h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.value p { color: var(--muted); font-size: 0.93rem; }

.member { text-align: center; }
.member-photo {
  display: block;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
}
.member-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; }
.member h3 { font-size: 1.02rem; margin-bottom: 0.2em; }
.member p { color: var(--brand); font-size: 0.9rem; font-weight: 500; }

/* ---------------------------------------------------------- contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.contact-form { margin-top: 1.6rem; display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgb(237 95 30 / 18%);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #d33; }
.form-consent { font-size: 0.83rem; color: var(--muted); margin: 0; }
.form-status { margin: 0; font-size: 0.94rem; font-weight: 500; }
.form-status.is-success { color: #1a7f4b; }
.form-status.is-error { color: #c22; }

.contact-info {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.info-list { display: grid; gap: 1.1rem; margin: 1.4rem 0; }
.info-list li { display: flex; gap: 0.9rem; align-items: start; }
.info-list svg { color: var(--brand); margin-top: 2px; }
.info-list a { text-decoration: none; border-bottom: 1px solid transparent; }
.info-list a:hover { border-color: currentColor; }
.map-wrap { margin-top: 2rem; }
.map-wrap h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.map-wrap iframe {
  width: 100%;
  height: 260px;
  border-radius: var(--radius);
  margin-top: 1rem;
  filter: saturate(0.85);
}

/* ------------------------------------------------------------ 404 */
.notfound { text-align: center; padding-block: clamp(4rem, 12vw, 8rem); }
.notfound .lead { margin-inline: auto; max-width: 46ch; }

/* --------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: #9fb3c4; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(1.8rem, 3vw, 3rem);
  padding-bottom: 2.5rem;
}
.footer-brand img { width: 180px; margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.93rem; line-height: 1.6; }
.footer-fullname { font-size: 0.8rem; color: #6d8296; margin-top: 0.9rem; }
.footer-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1.1rem;
}
.footer-list { display: grid; gap: 0.65rem; font-size: 0.93rem; }
.footer-list a { text-decoration: none; transition: color 0.15s ease; }
.footer-list a:hover { color: var(--brand-light); }
.footer-contact li { display: flex; gap: 0.65rem; align-items: start; }
.footer-contact svg { color: var(--brand); margin-top: 3px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  justify-content: space-between;
  padding-block: 1.4rem;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: 0.85rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--brand-light); text-decoration: none; }

/* ------------------------------------------------ WhatsApp flottant */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px -10px rgb(37 211 102 / 70%);
  transition: transform 0.18s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .refs-list { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-narrow { grid-template-columns: 1fr; }
  .director-card { position: static; max-width: 320px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem clamp(1.15rem, 4vw, 2rem) 1.5rem;
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { display: block; padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
  .nav-link.is-active { border-color: var(--brand); }
  .nav-tail { padding-top: 1.1rem; justify-content: space-between; }
  .nav-tail .btn { flex: 1; margin-left: 0.6rem; }

  .split, .contact-grid { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .service-block, .project { grid-template-columns: 1fr; }
  .service-block.is-reversed .service-media,
  .project.is-reversed .project-media { order: -1; }
  .anchor-nav { display: none; }
}

@media (max-width: 620px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .refs-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .project-meta { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .stats { margin-bottom: -2rem; }
  .team.grid-3 { grid-template-columns: repeat(2, 1fr); }
}

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

@media print {
  .site-header, .wa-float, .cta-band, .anchor-nav { display: none; }
  body { color: #000; }
}

.map-link { margin-top: 0.9rem; font-size: 0.92rem; }
