/* HIMSER, feuille de styles commune aux cinq pages.
   Mise en page : bandes pleine largeur (blanc, acier, marine) contenant un conteneur centré ;
   chaque rangée est une ligne flex qui passe à la ligne d'elle-même, sans grille CSS ni media query de largeur. */

:root {
  color-scheme: light;

  /* Couleurs */
  --color-navy-950: #0B1630;
  --color-navy-900: #10203F;
  --color-navy-700: #1B3264;
  --color-navy-100: #E4E9F2;
  --color-orange-500: #F07D22;
  --color-orange-600: #DC6A12;
  --color-orange-700: #B04F08;
  --color-steel-50: #F4F6F9;
  --color-steel-100: #E8ECF1;
  --color-steel-200: #D3DAE3;
  --color-steel-300: #B9C3D0;
  --color-steel-600: #55607A;
  --color-ink: #0E1A2F;
  --color-white: #FFFFFF;
  --color-transparent: transparent;
  --color-shadow: rgba(11, 22, 48, 0.22);
  --color-rivet-shade: rgba(11, 22, 48, 0.35);

  /* Familles de caractères */
  --font-display: "Archivo", "Helvetica Neue", "Arial", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", "Consolas", monospace;

  /* Tailles de texte */
  --text-2xs: 0.6875rem;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.3125rem;
  --text-xl: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 1.2rem + 2.2vw, 2.625rem);
  --text-3xl: clamp(2.125rem, 1.3rem + 3.6vw, 3.75rem);
  --text-stat: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem);

  /* Graisse, interlignage, approche, chasse */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 800;
  --leading-tight: 1.08;
  --leading-snug: 1.3;
  --leading-body: 1.65;
  --tracking-tight: -0.015em;
  --tracking-wide: 0.12em;
  --tracking-button: 0.06em;
  --tracking-wordmark: 0.04em;
  --stretch-wide: 112%;
  --stretch-wordmark: 125%;

  /* Espacements */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-pad: clamp(3.5rem, 7vw, 6rem);
  --scroll-offset: 7rem;

  /* Dimensions */
  --size-full: 100%;
  --size-screen: 100vh;
  --container-max: 76rem;
  --measure: 40rem;
  --measure-wide: 50rem;
  --topline-h: 2.25rem;
  --logo-size: 2.75rem;
  --logo-size-footer: 3.5rem;
  --toggle-size: 2.75rem;
  --toggle-bar-h: 2px;
  --icon-size: 1.25rem;
  --icon-stroke: 1.75;
  --bullet-size: 0.5rem;
  --bullet-offset: 0.6em;
  --mark-size: 0.5rem;
  --rivet-size: 0.625rem;
  --button-icon-size: 2.75rem;
  --textarea-min-h: 9rem;
  --viewer-h: min(68vh, 40rem);

  /* Bases flex (largeur à partir de laquelle un élément passe à la ligne) */
  --hero-text-basis: 26rem;
  --hero-media-basis: 24rem;
  --card-basis: 14rem;
  --stat-basis: 8rem;
  --step-basis: 14rem;
  --info-basis: 14rem;
  --promise-basis: 16rem;
  --tile-basis: 12rem;
  --tile-basis-lg: 16rem;
  --service-media-basis: 24rem;
  --service-body-basis: 22rem;
  --spec-label-basis: 7rem;
  --spec-value-basis: 12rem;
  --split-basis: 22rem;
  --cta-text-basis: 24rem;
  --footer-brand-basis: 18rem;
  --footer-col-basis: 10rem;
  --viewer-basis: 26rem;
  --viewer-info-basis: 15rem;
  --contact-panel-basis: 18rem;
  --contact-form-basis: 26rem;
  --field-basis: 14rem;

  /* Proportions d'images */
  --ratio-photo: 4 / 3;
  --ratio-square: 1 / 1;

  /* Traits, rayons, ombres, textures */
  --border-thin: 1px;
  --border-medium: 2px;
  --border-thick: 3px;
  --focus-ring: 3px;
  --focus-offset: 2px;
  --underline-offset: 0.25em;
  --radius-none: 0;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-pill: 999px;
  --radius-round: 50%;
  --shadow-raise: 0 var(--space-3) var(--space-6) calc(var(--space-3) * -1) var(--color-shadow);
  --shadow-rivet: inset 0 calc(var(--border-thin) * -1) var(--border-medium) var(--color-rivet-shade);
  --brush-step: 2px;
  --brush-step-2: 5px;
  --texture-brushed: repeating-linear-gradient(90deg, var(--color-steel-100) 0, var(--color-steel-100) var(--brush-step), var(--color-steel-50) var(--brush-step), var(--color-steel-50) var(--brush-step-2));

  /* Mouvement et empilement */
  --duration: 160ms;
  --duration-none: 0s;
  --ease: ease-out;
  --hover-scale: 1.03;
  --z-header: 10;
  --admin-bar-h: 32px;
}

/* ---------- Base ---------- */

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: var(--scroll-offset);
  -webkit-text-size-adjust: var(--size-full);
}

body {
  margin: var(--space-0);
  min-height: var(--size-screen);
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote {
  margin: var(--space-0);
}

ul, ol {
  padding: var(--space-0);
  list-style: none;
}

img, svg {
  display: block;
  max-width: var(--size-full);
}

a {
  color: inherit;
}

address {
  font-style: normal;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: var(--focus-ring) solid var(--color-orange-700);
  outline-offset: var(--focus-offset);
}

.band-navy :focus-visible,
.header-topline :focus-visible,
.site-footer :focus-visible,
.gallery-viewer :focus-visible {
  outline-color: var(--color-orange-500);
}

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.container {
  width: var(--size-full);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Bandes et sections ---------- */

.section {
  padding-block: var(--section-pad);
}

.band-steel {
  background: var(--color-steel-50);
}

.band-navy {
  background: var(--color-navy-900);
  color: var(--color-steel-300);
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: var(--measure-wide);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-orange-700);
}

.eyebrow-mark {
  flex: none;
  width: var(--mark-size);
  height: var(--mark-size);
  background: var(--color-orange-500);
}

.band-navy .eyebrow {
  color: var(--color-orange-500);
}

.section-title {
  font-family: var(--font-display);
  font-stretch: var(--stretch-wide);
  font-weight: var(--weight-black);
  font-size: var(--text-2xl);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-navy-900);
  text-wrap: balance;
}

.band-navy .section-title {
  color: var(--color-white);
}

.section-lead {
  max-width: var(--measure);
  font-size: var(--text-md);
  color: var(--color-steel-600);
}

.band-navy .section-lead {
  color: var(--color-steel-300);
}

.section-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

/* ---------- Boutons et liens ---------- */

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border: var(--border-thin) solid var(--color-orange-500);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-stretch: var(--stretch-wide);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-button);
  line-height: var(--leading-snug);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.button-primary {
  background: var(--color-orange-500);
  color: var(--color-navy-950);
}

.button-primary:hover {
  background: var(--color-orange-600);
  border-color: var(--color-orange-600);
}

.button-secondary {
  background: var(--color-transparent);
  border-color: var(--color-navy-900);
  color: var(--color-navy-900);
}

.button-secondary:hover {
  background: var(--color-navy-900);
  color: var(--color-white);
}

.band-navy .button-secondary {
  border-color: var(--color-steel-300);
  color: var(--color-white);
}

.band-navy .button-secondary:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-navy-900);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--weight-semibold);
  color: var(--color-navy-700);
  text-decoration: underline;
  text-decoration-color: var(--color-orange-500);
  text-decoration-thickness: var(--border-medium);
  text-underline-offset: var(--underline-offset);
}

.link-arrow:hover {
  color: var(--color-orange-700);
}

.band-navy .link-arrow {
  color: var(--color-white);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: var(--border-thin) solid var(--color-steel-300);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-navy-900);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-button);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duration) var(--ease), border-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.chip:hover {
  border-color: var(--color-navy-700);
}

.chip[aria-pressed="true"] {
  background: var(--color-navy-900);
  border-color: var(--color-navy-900);
  color: var(--color-white);
}

.chip-count {
  color: var(--color-steel-600);
  font-variant-numeric: tabular-nums;
}

.chip[aria-pressed="true"] .chip-count {
  color: var(--color-orange-500);
}

.band-navy .chip {
  background: var(--color-transparent);
  border-color: var(--color-steel-300);
  color: var(--color-white);
}

.band-navy .chip:hover {
  border-color: var(--color-orange-500);
}

/* ---------- Icônes ---------- */

.icon {
  flex: none;
  width: var(--icon-size);
  height: var(--icon-size);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--icon-stroke);
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Logo (template-parts/logo.php) ---------- */

.himser-logo {
  display: block;
  flex: none;
  width: var(--logo-size);
  height: var(--logo-size);
}

.logo-mark {
  width: var(--size-full);
  height: var(--size-full);
}

.logo-mark-navy {
  fill: var(--color-navy-700);
}

.logo-mark-orange {
  fill: var(--color-orange-500);
}

/* ---------- En-tête (header.php) ---------- */

.skip-link {
  display: block;
  height: var(--space-0);
  overflow: hidden;
  background: var(--color-orange-500);
  color: var(--color-navy-950);
  font-weight: var(--weight-semibold);
  text-align: center;
}

.skip-link:focus {
  height: auto;
  padding-block: var(--space-2);
}

.header-topline {
  background: var(--color-navy-950);
  color: var(--color-steel-300);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}

.topline-inner {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  column-gap: var(--space-5);
  height: var(--topline-h);
  overflow: hidden;
}

.topline-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: var(--topline-h);
  color: var(--color-steel-300);
  text-decoration: none;
  white-space: nowrap;
}

a.topline-item:hover {
  color: var(--color-white);
}

.topline-item .icon {
  width: var(--text-sm);
  height: var(--text-sm);
  color: var(--color-orange-500);
}

.topline-address {
  margin-left: auto;
}

.header-bar {
  position: sticky;
  top: env(safe-area-inset-top, var(--space-0));
  z-index: var(--z-header);
  background: var(--color-white);
  border-bottom: var(--border-thin) solid var(--color-steel-200);
}

.admin-bar .header-bar {
  top: var(--admin-bar-h);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-6);
  padding-block: var(--space-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-navy-900);
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: var(--leading-tight);
}

.brand-name {
  font-family: var(--font-display);
  font-stretch: var(--stretch-wordmark);
  font-weight: var(--weight-black);
  font-size: var(--text-lg);
  letter-spacing: var(--tracking-wordmark);
  color: var(--color-navy-700);
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-steel-600);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-5);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

.nav-link {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-bottom: var(--border-thick) solid var(--color-transparent);
  color: var(--color-ink);
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition: border-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.nav-link:hover {
  color: var(--color-navy-700);
  border-bottom-color: var(--color-steel-200);
}

.nav-link[aria-current="page"] {
  color: var(--color-navy-700);
  font-weight: var(--weight-semibold);
  border-bottom-color: var(--color-orange-500);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-1);
  width: var(--toggle-size);
  height: var(--toggle-size);
  padding: var(--space-3);
  border: var(--border-thin) solid var(--color-steel-200);
  border-radius: var(--radius-sm);
  background: var(--color-transparent);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: var(--size-full);
  height: var(--toggle-bar-h);
  background: var(--color-navy-900);
}

.header-bar[data-compact="true"] .nav-toggle {
  display: inline-flex;
}

.header-bar[data-compact="true"] .site-nav {
  display: none;
}

.header-bar[data-compact="true"][data-open="true"] .site-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-basis: var(--size-full);
  padding-block: var(--space-2) var(--space-3);
}

.header-bar[data-compact="true"][data-open="true"] .nav-list {
  flex-direction: column;
}

.header-bar[data-compact="true"][data-open="true"] .nav-link {
  border-bottom: var(--border-thin) solid var(--color-steel-100);
  padding-inline: var(--space-0);
}

.header-bar[data-compact="true"][data-open="true"] .nav-link[aria-current="page"] {
  border-bottom-color: var(--color-orange-500);
}

/* ---------- Pied de page (footer.php) ---------- */

.site-footer {
  background: var(--color-navy-950);
  color: var(--color-steel-300);
  font-size: var(--text-sm);
}

.site-footer .himser-logo {
  width: var(--logo-size-footer);
  height: var(--logo-size-footer);
}

.site-footer .logo-mark-navy {
  fill: var(--color-white);
}

.site-footer .brand-name {
  color: var(--color-white);
}

.site-footer .brand-tagline {
  color: var(--color-steel-300);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-7);
  padding-block: var(--space-8);
}

.footer-brand {
  flex: 2 1 var(--footer-brand-basis);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-about {
  max-width: var(--measure);
}

.footer-col {
  flex: 1 1 var(--footer-col-basis);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-orange-500);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-link {
  color: var(--color-steel-300);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: var(--underline-offset);
}

.footer-bottom {
  border-top: var(--border-thin) solid var(--color-navy-700);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2) var(--space-5);
  padding-block: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}

/* ---------- Accueil : ouverture ---------- */

.hero {
  padding-block: var(--space-8);
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-7);
}

.hero-text {
  flex: 1 1 var(--hero-text-basis);
  min-width: var(--space-0);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.hero-title {
  font-family: var(--font-display);
  font-stretch: var(--stretch-wide);
  font-weight: var(--weight-black);
  font-size: var(--text-3xl);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
  text-wrap: balance;
}

.hero-lead {
  max-width: var(--measure);
  font-size: var(--text-md);
  color: var(--color-steel-300);
}

.hero-phone {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-steel-300);
}

.hero-phone a {
  color: var(--color-white);
  text-decoration-color: var(--color-orange-500);
  text-underline-offset: var(--underline-offset);
}

.hero-media {
  flex: 1 1 var(--hero-media-basis);
  min-width: var(--space-0);
  display: flex;
  gap: var(--space-3);
}

.hero-photo-tall {
  flex: 1 1 var(--space-0);
  min-width: var(--space-0);
  display: flex;
}

.hero-photo-tall img {
  width: var(--size-full);
  height: var(--space-0);
  min-height: var(--size-full);
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.hero-photo-stack {
  flex: 1 1 var(--space-0);
  min-width: var(--space-0);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hero-photo-stack img {
  width: var(--size-full);
  aspect-ratio: var(--ratio-photo);
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* ---------- Plaque signalétique (chiffres clés) ---------- */

.nameplate-band {
  padding-block: var(--space-7) var(--space-0);
}

.nameplate {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background-color: var(--color-steel-100);
  background-image: var(--texture-brushed);
  border: var(--border-thin) solid var(--color-steel-300);
  border-radius: var(--radius-md);
}

.nameplate-rivets {
  display: flex;
  justify-content: space-between;
}

.rivet {
  width: var(--rivet-size);
  height: var(--rivet-size);
  border-radius: var(--radius-round);
  background: var(--color-steel-300);
  box-shadow: var(--shadow-rivet);
}

.nameplate-caption {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-steel-600);
  text-align: center;
}

/* ---------- Rangées par paires (4 éléments : 4, 2 + 2 ou 1 par ligne, jamais 3 + 1) ---------- */

.pair-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}

.pair {
  flex: 1 1 calc(var(--item-basis) * 2 + var(--space-5));
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}

.pair > * {
  flex: 1 1 var(--item-basis);
  min-width: var(--space-0);
}

.stat-row {
  --item-basis: var(--stat-basis);
}

.card-row {
  --item-basis: var(--card-basis);
}

.step-row {
  --item-basis: var(--step-basis);
}

.info-row {
  --item-basis: var(--info-basis);
}

/* ---------- Chiffres ---------- */

.stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-inline: var(--space-4);
  border-left: var(--border-medium) solid var(--color-orange-500);
}

.stat-value {
  font-family: var(--font-display);
  font-stretch: var(--stretch-wide);
  font-weight: var(--weight-black);
  font-size: var(--text-stat);
  line-height: var(--leading-tight);
  color: var(--color-navy-700);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-steel-600);
}

/* ---------- Cartes de service ---------- */

.card-service {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--color-white);
  border: var(--border-thin) solid var(--color-steel-200);
  border-radius: var(--radius-md);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.card-service:hover {
  border-color: var(--color-navy-700);
  box-shadow: var(--shadow-raise);
}

.card-service-image {
  width: var(--size-full);
  aspect-ratio: var(--ratio-photo);
  object-fit: cover;
  transition: transform var(--duration) var(--ease);
}

.card-service:hover .card-service-image {
  transform: scale(var(--hover-scale));
}

.card-service-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--color-white);
}

.card-service-title {
  font-family: var(--font-display);
  font-stretch: var(--stretch-wide);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  color: var(--color-navy-900);
}

.card-service-text {
  color: var(--color-steel-600);
}

.card-service-link {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--weight-semibold);
  color: var(--color-navy-700);
}

.card-service-link .icon {
  color: var(--color-orange-500);
}

/* ---------- Engagements ---------- */

.promise-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.promise-item {
  flex: 1 1 var(--promise-basis);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: var(--border-thick) solid var(--color-orange-500);
}

.promise-title {
  font-family: var(--font-display);
  font-stretch: var(--stretch-wide);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  color: var(--color-navy-900);
}

.band-navy .promise-title {
  color: var(--color-white);
}

.promise-text {
  color: var(--color-steel-600);
}

.band-navy .promise-text {
  color: var(--color-steel-300);
}

/* ---------- Étapes ---------- */

.step-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--color-white);
  border: var(--border-thin) solid var(--color-steel-200);
  border-radius: var(--radius-md);
}

.step-number {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-orange-700);
  font-variant-numeric: tabular-nums;
}

.step-title {
  font-family: var(--font-display);
  font-stretch: var(--stretch-wide);
  font-weight: var(--weight-bold);
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  color: var(--color-navy-900);
}

.step-text {
  color: var(--color-steel-600);
}

/* ---------- Cartes d'information (publics, atouts de l'inox) ---------- */

.info-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
  background: var(--color-steel-50);
  border-top: var(--border-thick) solid var(--color-navy-700);
}

.band-steel .info-card {
  background: var(--color-white);
}

.info-title {
  font-family: var(--font-display);
  font-stretch: var(--stretch-wide);
  font-weight: var(--weight-bold);
  font-size: var(--text-md);
  line-height: var(--leading-snug);
  color: var(--color-navy-900);
}

.info-text {
  color: var(--color-steel-600);
}

/* ---------- Galerie et vignettes ---------- */

.gallery-wall {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5) var(--space-4);
}

.gallery-wall[data-size="large"] {
  --tile-basis: var(--tile-basis-lg);
}

.gallery-tile {
  flex: 1 1 var(--tile-basis);
  min-width: var(--space-0);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  color: inherit;
  text-decoration: none;
}

.gallery-tile-frame {
  display: flex;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-steel-100);
}

.gallery-tile-image {
  width: var(--size-full);
  aspect-ratio: var(--ratio-square);
  object-fit: cover;
  transition: transform var(--duration) var(--ease);
}

.gallery-tile:hover .gallery-tile-image {
  transform: scale(var(--hover-scale));
}

.gallery-tile[aria-current="true"] .gallery-tile-frame {
  outline: var(--border-thick) solid var(--color-orange-700);
  outline-offset: var(--focus-offset);
}

.gallery-tile-caption {
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  color: var(--color-steel-600);
}

.gallery-spacer {
  flex: 1 1 var(--tile-basis);
  height: var(--space-0);
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.gallery-count {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-steel-600);
  font-variant-numeric: tabular-nums;
}

.gallery-viewer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  padding: var(--space-4);
  background: var(--color-navy-950);
  border-radius: var(--radius-md);
  color: var(--color-steel-300);
}

.viewer-figure {
  flex: 3 1 var(--viewer-basis);
  min-width: var(--space-0);
  display: flex;
  height: var(--viewer-h);
}

.viewer-image {
  width: var(--size-full);
  height: var(--size-full);
  object-fit: contain;
}

.viewer-info {
  flex: 1 1 var(--viewer-info-basis);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-3);
}

.viewer-info .eyebrow {
  color: var(--color-orange-500);
}

.viewer-caption {
  font-family: var(--font-display);
  font-stretch: var(--stretch-wide);
  font-weight: var(--weight-bold);
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
  color: var(--color-white);
}

.viewer-counter {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
}

.viewer-controls {
  display: flex;
  gap: var(--space-2);
}

.viewer-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--text-sm);
}

.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--button-icon-size);
  height: var(--button-icon-size);
  border: var(--border-thin) solid var(--color-steel-300);
  border-radius: var(--radius-sm);
  background: var(--color-transparent);
  color: var(--color-white);
  cursor: pointer;
  transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.button-icon:hover {
  background: var(--color-white);
  color: var(--color-navy-900);
}

/* ---------- Pages intérieures : en-tête de page ---------- */

.page-hero {
  padding-block: var(--space-8) var(--space-7);
}

.page-hero-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-steel-300);
}

.breadcrumb a {
  color: var(--color-steel-300);
}

.breadcrumb-separator {
  color: var(--color-steel-600);
}

.page-title {
  max-width: var(--measure-wide);
  font-family: var(--font-display);
  font-stretch: var(--stretch-wide);
  font-weight: var(--weight-black);
  font-size: var(--text-3xl);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
  text-wrap: balance;
}

.page-lead {
  max-width: var(--measure);
  font-size: var(--text-md);
  color: var(--color-steel-300);
}

/* ---------- Services : fiches détaillées ---------- */

.service-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-7);
  padding-block: var(--space-8);
  border-top: var(--border-thin) solid var(--color-steel-200);
}

.service-detail:first-of-type {
  border-top-width: var(--space-0);
}

.service-detail:nth-of-type(even) {
  flex-direction: row-reverse;
}

.service-media {
  flex: 1 1 var(--service-media-basis);
  min-width: var(--space-0);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.service-photo {
  width: var(--size-full);
  aspect-ratio: var(--ratio-photo);
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.photo-strip {
  display: flex;
  gap: var(--space-3);
}

.photo-strip img {
  flex: 1 1 var(--space-0);
  min-width: var(--space-0);
  aspect-ratio: var(--ratio-square);
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.service-body {
  flex: 1 1 var(--service-body-basis);
  min-width: var(--space-0);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.service-text {
  max-width: var(--measure);
  font-size: var(--text-md);
}

.list-heading {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-steel-600);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.bullet-mark {
  flex: none;
  width: var(--bullet-size);
  height: var(--bullet-size);
  margin-top: var(--bullet-offset);
  background: var(--color-orange-500);
}

.spec-sheet {
  display: flex;
  flex-direction: column;
  background: var(--color-steel-50);
  border: var(--border-thin) solid var(--color-steel-200);
  border-radius: var(--radius-md);
}

.spec-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-1) var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: var(--border-thin) dashed var(--color-steel-200);
}

.spec-row:last-child {
  border-bottom-width: var(--space-0);
}

.spec-label {
  flex: 0 0 var(--spec-label-basis);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  line-height: var(--leading-body);
  text-transform: uppercase;
  color: var(--color-steel-600);
}

.spec-value {
  flex: 1 1 var(--spec-value-basis);
  font-weight: var(--weight-medium);
  color: var(--color-ink);
}

/* ---------- Texte et image côte à côte ---------- */

.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-7);
}

.split-text {
  flex: 1 1 var(--split-basis);
  min-width: var(--space-0);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.split-media {
  flex: 1 1 var(--split-basis);
  min-width: var(--space-0);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.split-photo {
  width: var(--size-full);
  aspect-ratio: var(--ratio-photo);
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.photo-note {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-steel-600);
}

.prose {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: var(--measure);
  font-size: var(--text-md);
}

/* ---------- Bandeau d'appel ---------- */

.cta-band {
  padding-block: var(--space-8);
  border-top: var(--border-thick) solid var(--color-orange-500);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.cta-text {
  flex: 1 1 var(--cta-text-basis);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cta-phones {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-steel-300);
}

.cta-phones a {
  color: var(--color-white);
  text-decoration: none;
}

.cta-phones a:hover {
  text-decoration: underline;
  text-underline-offset: var(--underline-offset);
}

/* ---------- Contact ---------- */

.contact-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-7);
}

.contact-panel {
  flex: 1 1 var(--contact-panel-basis);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-6);
  border-radius: var(--radius-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.contact-item .icon {
  color: var(--color-orange-500);
  margin-top: var(--space-1);
}

.contact-item-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: var(--space-0);
}

.contact-item-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-orange-500);
}

.contact-item-value {
  color: var(--color-white);
  font-size: var(--text-md);
  overflow-wrap: anywhere;
}

.contact-item-value a {
  color: var(--color-white);
  text-decoration: none;
}

.contact-item-value a:hover {
  text-decoration: underline;
  text-underline-offset: var(--underline-offset);
}

.contact-item-note {
  font-size: var(--text-sm);
  color: var(--color-steel-300);
}

.contact-form {
  flex: 2 1 var(--contact-form-basis);
  min-width: var(--space-0);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}

.form-field {
  flex: 1 1 var(--field-basis);
  min-width: var(--space-0);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-navy-900);
}

.form-optional {
  font-weight: var(--weight-regular);
  color: var(--color-steel-600);
}

.form-input {
  width: var(--size-full);
  padding: var(--space-3);
  border: var(--border-thin) solid var(--color-steel-600);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-snug);
}

.form-input:hover {
  border-color: var(--color-navy-700);
}

.form-input:focus-visible {
  border-color: var(--color-navy-700);
}

textarea.form-input {
  min-height: var(--textarea-min-h);
  resize: vertical;
  line-height: var(--leading-body);
}

.form-hint {
  font-size: var(--text-sm);
  color: var(--color-steel-600);
}

.form-status {
  padding: var(--space-4);
  border: var(--border-thin) solid var(--color-navy-700);
  border-radius: var(--radius-sm);
  background: var(--color-navy-100);
  color: var(--color-navy-900);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

/* ---------- Contenu libre (page.php) ---------- */

.entry-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: var(--measure);
  font-size: var(--text-md);
}

.entry-content h2,
.entry-content h3 {
  font-family: var(--font-display);
  font-stretch: var(--stretch-wide);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  color: var(--color-navy-900);
}

.entry-content h2 {
  font-size: var(--text-xl);
}

.entry-content h3 {
  font-size: var(--text-lg);
}

.entry-content a {
  color: var(--color-navy-700);
  text-decoration-color: var(--color-orange-500);
  text-underline-offset: var(--underline-offset);
}

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: var(--duration-none) !important;
    scroll-behavior: auto !important;
  }
}
