/* ============================================================
   SERVIS INTERNATIONAL — Seguridad Industrial · Gestión de Riesgos
   Palette issue du logo client : vert #23A51A, bleu #4E88DD, orange #FFAC50.
   Rôles fixes — bleu : actions et liens · orange : emphase et filets ·
   vert : marqueurs. Le trio complet n'apparaît qu'une fois (les 3 piliers),
   en écho aux trois arcs du logo.
   Typo : Barlow Condensed (titres) / Barlow (texte) / IBM Plex Mono (données)
   ============================================================ */

:root {
  /* neutres */
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --bg-deep: #0e1b2e;
  --bg-deep2: #142845;
  --ink: #14181d;
  --muted: #5a6470;
  --dim: #7c8794;
  --line: #e2e7ec;
  --line-strong: #cbd3db;
  --on-deep: #eef2f6;
  --on-deep-muted: #a8b6c6;

  /* couleurs du logo */
  --blue: #4e88dd;
  --blue-mid: #2a5fae;   /* 6.3:1 avec du blanc → boutons et liens */
  --blue-deep: #1b4c93;
  --green: #23a51a;
  --green-deep: #1e8c17;
  --orange: #ffac50;
  --orange-deep: #e88a22;

  --r: 4px;
  --font-d: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-b: 'Barlow', 'Segoe UI', sans-serif;
  --font-m: 'IBM Plex Mono', 'Consolas', monospace;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --nav-h: 76px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--blue); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- Typographie ---------- */

h1, h2, h3 {
  font-family: var(--font-d);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .96;
  letter-spacing: .008em;
}

h1 { font-size: clamp(40px, 5.4vw, 68px); }
h2 { font-size: clamp(30px, 4.2vw, 50px); margin-bottom: 22px; }
h3 { font-size: clamp(20px, 2.1vw, 26px); font-weight: 600; line-height: 1.1; }

.accent { color: var(--blue-mid); }

p { color: var(--muted); max-width: 62ch; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: #48525e; }

/* filet orange sous les titres de section */
.ruled { position: relative; padding-top: 20px; }
.ruled::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 5px;
  background: var(--orange);
  border-radius: 2px;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  text-decoration: none;
  border-radius: var(--r);
  padding: 15px 28px;
  background: var(--blue-mid);
  color: #fff;
  border: 1px solid var(--blue-mid);
  cursor: pointer;
  transition: background .22s ease, border-color .22s ease, transform .18s ease, color .22s ease;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn:active { transform: scale(.98); }

.btn.ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn.ghost:hover { border-color: var(--blue-mid); color: var(--blue-mid); background: transparent; }

/* variante sur fond profond */
.on-deep .btn { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.on-deep .btn:hover { background: #ffbe73; border-color: #ffbe73; color: var(--ink); }

.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid var(--orange-deep);
  outline-offset: 3px;
}

.text-link {
  display: inline-block;
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--orange);
  padding-bottom: 3px;
  transition: color .2s ease;
}
.text-link:hover { color: var(--blue-mid); }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 50px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a:not(.btn) {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
  transition: color .2s ease;
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); box-shadow: 0 3px 0 var(--orange); }
.nav-links .btn { padding: 11px 20px; font-size: 14px; }

/* Bascule de langue ES / FR */
.lang {
  display: flex;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
}
.lang button {
  background: transparent;
  border: 0;
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 7px 13px;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--blue-mid); color: #fff; }
.lang button:focus-visible { outline-offset: -3px; }

.burger {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  width: 46px;
  height: 42px;
  cursor: pointer;
  position: relative;
}
.burger span, .burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}
.burger span { top: 20px; }
.burger span::before { left: 0; right: 0; top: -7px; }
.burger span::after { left: 0; right: 0; top: 7px; }
.nav.open .burger span { background: transparent; }
.nav.open .burger span::before { transform: translateY(7px) rotate(45deg); }
.nav.open .burger span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero en split (accueil) ---------- */

.hero {
  padding-top: var(--nav-h);
  border-bottom: 1px solid var(--line);
}
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
  min-height: calc(100dvh - var(--nav-h));
  /* aligne la colonne texte sur .wrap ; la colonne image file jusqu'au bord */
  padding-left: max(var(--pad), calc((100% - var(--wrap)) / 2 + var(--pad)));
}
.hero-content { padding: clamp(40px, 6vh, 80px) 0; max-width: 620px; }
.hero-content h1 { font-size: clamp(34px, 3.8vw, 50px); margin-bottom: 22px; }
.hero-content .lead { margin-bottom: 34px; max-width: 44ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 340px;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 45%;
}
/* filets aux couleurs du logo, écho aux trois arcs */
.hero-media::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  background: linear-gradient(180deg, var(--green) 0 33.33%, var(--blue) 33.33% 66.66%, var(--orange) 66.66% 100%);
}

/* Bande secteurs sous le hero */
.sectors { border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.sectors-in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  justify-content: space-between;
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Sections ---------- */

.section { padding: clamp(68px, 8.5vw, 120px) 0; }
.section.tight { padding: clamp(54px, 7vw, 92px) 0; }
.section.alt { background: var(--bg-alt); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: start;
}
.split.rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }

/* Liste éditoriale */
.rows { list-style: none; }
.rows li {
  border-top: 1px solid var(--line);
  padding: 22px 0 22px 30px;
  position: relative;
}
.rows li:last-child { border-bottom: 1px solid var(--line); }
.rows li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 32px;
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 2px;
}
.rows strong {
  display: block;
  font-family: var(--font-d);
  font-size: 21px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 4px;
}
.rows span { color: var(--muted); font-size: 16px; }

/* Bande photo pleine largeur */
.claim {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.claim > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.claim::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(12deg, rgba(14, 27, 46, .93) 10%, rgba(14, 27, 46, .45) 58%, rgba(14, 27, 46, .18));
}
.claim-in {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 54px var(--pad);
}
.claim-in blockquote {
  font-family: var(--font-d);
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.05;
  max-width: 820px;
  color: #fff;
}
.claim-in blockquote em { font-style: normal; color: var(--orange); }

/* Équipe */
.team-photo { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.countries { list-style: none; margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; }
.countries li {
  border-top: 1px solid var(--line);
  padding: 14px 2px;
  font-family: var(--font-d);
  font-size: 19px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Enfoque — trois piliers, une couleur du logo chacun */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillars > div {
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 5px solid var(--c, var(--blue));
  border-radius: var(--r);
  padding: 28px 26px 26px;
}
.pillars > div:nth-child(1) { --c: var(--green); }
.pillars > div:nth-child(2) { --c: var(--blue); }
.pillars > div:nth-child(3) { --c: var(--orange); }
.pillars h3 { margin-bottom: 12px; }
.pillars p { font-size: 15.5px; }

/* Logos partenaires */
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logo-chip {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
}
.logo-chip img { max-height: 52px; max-width: 100%; object-fit: contain; }
.logo-chip.txt {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #2b3947;
  text-align: center;
  line-height: 1.15;
}
.section.alt .logo-chip { background: #fff; }

/* Bande CTA (zone sombre de bas de page, continue avec le footer) */
.cta-band { background: var(--bg-deep); border-top: 6px solid var(--orange); }
.cta-band-in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(60px, 7.5vw, 100px) var(--pad);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-band h2 { margin: 0; max-width: 720px; color: #fff; }

/* ---------- En-têtes de pages intérieures ---------- */

.page-head { padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) 0 clamp(36px, 4.5vw, 64px); }
.page-head h1 { max-width: 900px; margin-bottom: 22px; }
.page-head .lead { max-width: 66ch; }

.page-banner { position: relative; overflow: hidden; }
.page-banner img { width: 100%; height: clamp(240px, 34vw, 420px); object-fit: cover; }
.page-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--green) 0 33.33%, var(--blue) 33.33% 66.66%, var(--orange) 66.66% 100%);
}

/* ---------- Expérience / références ---------- */

.refs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ref-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: start;
}
.section.alt .ref-card { background: #fff; }
.ref-card .logo-chip { height: 78px; padding: 12px 14px; background: var(--bg-alt); }
.section.alt .ref-card .logo-chip { background: var(--bg-alt); }
.ref-card h3 { margin-bottom: 8px; }
.ref-card p { font-size: 15px; margin-bottom: 10px; }
.ref-card .where {
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dim);
}

/* Résultats */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tiles > div {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--r);
  padding: 28px;
}
.tiles h3 { margin-bottom: 8px; }
.tiles p { font-size: 15.5px; }

/* En-tête de groupe de références (public / privé) */
.ref-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 34px 0 18px;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--muted);
}
.ref-group::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* Le constat — problème et coût de l'inaction */
.risks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.risks > div {
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange-deep);
  border-radius: var(--r);
  padding: 26px;
}
.risks h3 { margin-bottom: 10px; }
.risks p { font-size: 15.5px; }

.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 38px; border-top: 2px solid var(--line); }
/* variante à 3 chiffres (accueil) : autant de colonnes que de cellules, jamais de case vide */
.figures.three { grid-template-columns: repeat(3, 1fr); }
.figures > div { padding: 26px 28px 8px; border-right: 1px solid var(--line); }
.figures > div:first-child { padding-left: 0; }
.figures > div:last-child { border-right: 0; }
.figures b {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 700;
  line-height: .95;
  color: var(--blue-mid);
  margin-bottom: 10px;
}
.figures span { font-size: 15px; color: var(--muted); display: block; }
.figures small { display: block; margin-top: 8px; font-family: var(--font-m); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

/* L'offre 360° — les 4 piliers */
.pillars4 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 38px; }
.pillars4 > div {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.pillars4 .num {
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 14px;
}
.pillars4 h3 { margin-bottom: 12px; }
.pillars4 p { font-size: 15.5px; margin-bottom: 20px; }
.pillars4 .gain {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  gap: 10px;
}
.pillars4 .gain::before {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  margin-top: 6px;
  border-radius: 2px;
  background: var(--green);
}

/* Légende de photo de terrain — atteste qu'il s'agit d'une opération réelle */
.shot { display: block; }
.shot img { width: 100%; display: block; }
.shot figcaption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 12px;
  border-top: 3px solid var(--green);
  background: var(--bg-alt);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--muted);
}
.shot figcaption b {
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-deep);
}
/* Crédit : personne, fonction et opération. Occupe la 2e colonne, sous la description. */
.shot figcaption em {
  grid-column: 2;
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}
.claim .shot figcaption { background: transparent; border: 0; padding: 0; }

@media (max-width: 560px) {
  .shot figcaption { grid-template-columns: 1fr; }
  .shot figcaption em { grid-column: 1; }
}

/* Alcance — périmètre d'intervention (accueil) */
.scope {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 38px;
  border-top: 2px solid var(--line);
}
.scope > div {
  padding: 22px 26px 8px 0;
  border-right: 1px solid var(--line);
}
.scope > div:last-child { border-right: 0; }
.scope span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--orange);
  margin-bottom: 16px;
}
.scope strong {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.08;
  display: block;
}

/* Procesos — intro services */
.procs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 30px 0 34px;
}
.procs > div {
  background: var(--bg-alt);
  border-radius: var(--r);
  padding: 22px 24px;
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.1;
}
.warn {
  border-left: 4px solid var(--orange-deep);
  padding: 4px 0 4px 22px;
}
.warn p { max-width: 68ch; }

/* ---------- Servicios ---------- */

.svc-layout {
  display: grid;
  grid-template-columns: 262px minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.svc-index { position: sticky; top: calc(var(--nav-h) + 24px); list-style: none; border-left: 2px solid var(--line); }
.svc-index a {
  display: block;
  padding: 10px 0 10px 18px;
  margin-left: -2px;
  border-left: 3px solid transparent;
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--dim);
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}
.svc-index a:hover { color: var(--ink); }
.svc-index a.active { color: var(--ink); border-left-color: var(--orange); }

/* Sous-titre à l'intérieur d'une catégorie de services */
.svc-sub {
  margin: 44px 0 14px;
  padding-left: 16px;
  border-left: 4px solid var(--blue);
  font-size: clamp(19px, 2vw, 23px);
}
.svc-sub + p { margin-bottom: 18px; }

.svc-block { padding: 6px 0 54px; }
.svc-block + .svc-block { border-top: 1px solid var(--line); padding-top: 50px; }
.svc-block .tag {
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-mid);
  display: block;
  margin-bottom: 12px;
}
.svc-block h2 { font-size: clamp(26px, 3vw, 38px); }
.svc-block > p { margin-bottom: 26px; }

.svc-media { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.svc-media figure { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg); }
.svc-media figcaption { font-size: 13.5px; color: var(--muted); padding: 12px 14px; border-top: 1px solid var(--line); }

.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checks li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--muted); }
.checks li strong { color: var(--ink); }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 2px;
}

/* Pills mobiles (index services) */
.svc-pills {
  display: none;
  position: sticky;
  top: var(--nav-h);
  z-index: 30;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  white-space: nowrap;
  padding: 10px var(--pad);
}
.svc-pills a {
  display: inline-block;
  scroll-snap-align: start;
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 14px;
  margin-right: 8px;
}
.svc-pills a.active { color: #fff; background: var(--blue-mid); border-color: var(--blue-mid); }

/* ---------- Contacto ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

.contact-regions { list-style: none; }
.contact-regions > li { border-top: 1px solid var(--line); padding: 24px 0; }
.contact-regions > li:last-child { border-bottom: 1px solid var(--line); }
.region-name {
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 12px;
}
.person { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; padding: 5px 0; }
.person strong { font-weight: 600; }
.person a { font-family: var(--font-m); font-size: 15px; color: var(--muted); text-decoration: none; }
.person a:hover { color: var(--blue-mid); }

.contact-email { margin-top: 32px; }
.contact-email a {
  font-family: var(--font-d);
  font-size: clamp(21px, 2.5vw, 30px);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 4px solid var(--orange);
  transition: color .2s ease;
  overflow-wrap: anywhere;
}
.contact-email a:hover { color: var(--blue-mid); }

form { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 34px); }
form .field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
form label { font-family: var(--font-d); font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
form input, form textarea, form select {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 16px;
  padding: 13px 15px;
  width: 100%;
}
form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
  /* chevron dessiné en CSS pur : pas de requête réseau, suit la couleur du texte */
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 21px) calc(50% + 2px), calc(100% - 15px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
form input::placeholder, form textarea::placeholder { color: #78838f; }
form input:focus, form textarea:focus, form select:focus { outline: 3px solid var(--orange-deep); outline-offset: 0; border-color: transparent; }
form .hint { font-size: 13.5px; color: #66707c; }
form textarea { min-height: 150px; resize: vertical; }

/* ---------- Footer ---------- */

footer { background: var(--bg-deep); color: var(--on-deep); }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 62px var(--pad) 26px; }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 44px;
  padding-bottom: 42px;
}
.foot-grid .brand img { height: 62px; }
.foot-grid p { font-size: 15px; max-width: 34ch; margin-top: 16px; color: var(--on-deep-muted); }
.foot-title {
  font-family: var(--font-m);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.foot-grid ul { list-style: none; }
.foot-grid ul li { padding: 5px 0; }
.foot-grid ul a { color: var(--on-deep-muted); text-decoration: none; font-size: 15.5px; }
.foot-grid ul a:hover { color: #fff; }
.foot-grid .tel { font-family: var(--font-m); font-size: 14px; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--on-deep-muted);
}
.foot-bottom a { color: var(--on-deep-muted); text-decoration: none; }
.foot-bottom a:hover { color: #fff; }

/* logo blanc-compatible sur fond profond : pastille claire */
.foot-in .brand {
  background: #fff;
  border-radius: var(--r);
  padding: 10px 14px;
  display: inline-flex;
}

/* ---------- Révélations au scroll ---------- */

/* Le masquage initial n'existe QUE si JavaScript tourne : la classe .js est
   posée par un script en ligne dans le <head>. Sans JS, ou si le script
   échoue, tout le contenu reste visible au lieu de rester à opacity 0. */
.js .rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--d, 0s);
}
.js .rv.on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .btn, .burger span, .burger span::before, .burger span::after { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-index { display: none; }
  .svc-pills { display: block; }
}

@media (max-width: 900px) {
  :root { --nav-h: 70px; }

  /* Pas de backdrop-filter sur mobile : un filtre sur .nav en ferait le bloc
     conteneur des descendants position:fixed, et le panneau du menu se
     réduirait à la hauteur de la barre au lieu de couvrir l'écran.
     La barre devient donc simplement opaque. */
  .nav {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px var(--pad);
    gap: 8px;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .nav.open .nav-links { transform: none; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn) { display: block; padding: 16px 0; font-size: 19px; }
  .nav-links a[aria-current="page"] { box-shadow: none; color: var(--blue-mid); }
  .nav-links li:last-child { border: 0; margin-top: 18px; }
  .nav-links .btn { width: 100%; padding: 15px 20px; font-size: 16px; }
  .burger { display: block; }
  .brand img { height: 44px; }
  .nav-in { gap: 12px; }
  .lang { margin-left: auto; }
  .lang button { padding: 6px 11px; font-size: 13px; }

  .hero-in {
    grid-template-columns: 1fr;
    padding-left: var(--pad);
    padding-right: var(--pad);
    min-height: 0;
    gap: 0;
  }
  .hero-content { padding: 44px 0 40px; max-width: none; }
  .hero-media { margin-inline: calc(var(--pad) * -1); height: 54vw; max-height: 420px; min-height: 240px; }
  .hero-media::after { top: auto; bottom: 0; left: 0; right: 0; width: auto; height: 6px; background: linear-gradient(90deg, var(--green) 0 33.33%, var(--blue) 33.33% 66.66%, var(--orange) 66.66% 100%); }

  .split, .split.rev, .contact-layout, .refs-grid, .tiles { grid-template-columns: 1fr; }
  .scope { grid-template-columns: 1fr 1fr; }
  .scope > div:nth-child(2n) { border-right: 0; }
  .scope > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .procs { grid-template-columns: 1fr; gap: 12px; }
  .risks { grid-template-columns: 1fr; }
  .pillars4 { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr 1fr; }
  .figures > div:nth-child(2n) { border-right: 0; }
  .figures > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .figures > div:nth-child(odd) { padding-left: 0; }
  .figures.three { grid-template-columns: 1fr; }
  .figures.three > div:nth-child(n) { padding: 22px 0 14px; border-right: 0; }
  .figures.three > div:nth-child(n+2) { border-top: 1px solid var(--line); }
  .split > * + * { margin-top: 36px; }
  .checks { grid-template-columns: 1fr; }
  .svc-media { grid-template-columns: 1fr; }
  .svc-media figure { max-width: 440px; }
  .foot-grid { grid-template-columns: 1fr; gap: 34px; }
  .ref-card { grid-template-columns: 1fr; }
  .ref-card .logo-chip { width: 150px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-ctas .btn { width: 100%; }
  .sectors-in { justify-content: flex-start; gap: 8px 22px; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .countries { grid-template-columns: 1fr; }
  .scope { grid-template-columns: 1fr; }
  .scope > div { border-right: 0; border-top: 1px solid var(--line); padding-right: 0; }
  .scope > div:first-child { border-top: 0; }
  .cta-band-in { flex-direction: column; align-items: flex-start; }
  .cta-band-in .btn { width: 100%; }
}

/* ============================================================
   Retours client V2 (septembre 2026)
   ============================================================ */

/* Les attributs width/height servent au calcul du ratio (pas de saut de mise en page) :
   on laisse le CSS fixer la taille réelle, sinon l'image serait déformée. */
.shot img { height: auto; }
.logo-chip img { width: auto; height: auto; }

/* Les logos fournis ont souvent un fond blanc opaque : pastilles blanches partout */
.logo-chip, .ref-card .logo-chip, .section.alt .ref-card .logo-chip { background: #fff; }

/* Mur de logos de l'accueil : logo + légende, rangées centrées quel que soit le nombre */
.logo-wall.captioned { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.logo-item { flex: 1 1 170px; max-width: 232px; margin: 0; display: flex; flex-direction: column; }
.logo-item .logo-chip { height: 118px; padding: 16px 18px; }
.logo-item .logo-chip img { max-height: 76px; }
.logo-item figcaption { padding: 12px 4px 0; text-align: center; line-height: 1.3; }
.logo-item figcaption strong { display: block; font-family: var(--font-d); font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); }
.logo-item figcaption span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }

/* Une photo à droite de chaque catégorie de services : la liste passe sur une colonne */
.svc-media .checks { grid-template-columns: 1fr; }

/* Pays d'intervention */
.countries-label { margin-top: 28px; font-family: var(--font-m); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.countries-label + .countries { margin-top: 10px; }

/* Nouvelle photo du haut de l'accueil : garder les deux pompiers et le foyer dans le cadre */
.hero-media img { object-position: 8% 50%; }

/* Bandeau « Combinamos… » : cadrer sur les casques et le feu plutôt que sur les jambes */
.claim > img { object-position: 42% 14%; }

@media (max-width: 560px) {
  .logo-item { flex-basis: 140px; }
  .logo-item .logo-chip { height: 96px; padding: 12px 14px; }
  .logo-item .logo-chip img { max-height: 60px; }
}

/* Chiffres clés : sous 560 px, une seule colonne séparée par des filets horizontaux */
@media (max-width: 560px) {
  .figures, .figures.three { grid-template-columns: 1fr; }
  .figures > div:nth-child(n) { padding: 22px 0 14px; border-right: 0; }
  .figures > div:nth-child(n+2) { border-top: 1px solid var(--line); }
}
