/* ==========================================================================
   RS Nettoyage — feuille de style
   Système : noir & or, angles droits, majuscules condensées, une seule
   couleur d'accent (l'or), séparation par contraste de surfaces.
   ========================================================================== */

/* ---------- Polices (auto-hébergées) ---------- */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-condensed-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-condensed-500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-500.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  /* Surfaces sombres */
  --ink: #0a0a0a;
  --black: #000000;
  --carbon: #121212;
  --carbon-2: #1a1a1a;
  --line: #2a2a2a;
  --line-strong: #494949;
  --steel: #8f8f8f;
  --white: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.74);

  /* Surfaces claires */
  --marble: #f4f2ee;
  --paper: #ffffff;
  --text-dark: #181818;
  --text-dark-soft: #4d4d4d;
  --line-light: #dcd8d1;

  /* Or (pris sur le logo) */
  --gold: #e2b04a;
  --gold-light: #f0c86e;
  --gold-ink: #8a6316; /* or lisible sur fond clair */

  /* Typo */
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --track: 0.023em;

  /* Mise en page */
  --max: 1440px;
  --gutter: clamp(16px, 4.4vw, 64px);
  --section: clamp(72px, 10vw, 136px);
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track);
  line-height: 1;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--track);
}
.skip-link:focus {
  top: 16px;
}

.nowrap {
  white-space: nowrap;
}

.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;
}

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

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

/* ---------- Typo utilitaire ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.on-light .eyebrow {
  color: var(--text-dark-soft);
}
.on-light .eyebrow::before {
  background: var(--gold-ink);
}

.display {
  font-size: clamp(44px, 7vw, 104px);
  line-height: 0.94;
}

.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--text-soft);
}
.on-light .lead {
  color: var(--text-dark-soft);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 0;
  background: none;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.btn .icon {
  transition: transform 0.25s var(--ease);
}
.btn:hover .icon-arrow {
  transform: translateX(4px);
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover {
  background: var(--gold-light);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}
.on-light .btn-outline {
  border-color: var(--text-dark);
  color: var(--text-dark);
}
.on-light .btn-outline:hover {
  background: var(--text-dark);
  color: var(--white);
}

.btn-ghost {
  min-height: 0;
  padding: 0;
  gap: 10px;
  color: var(--white);
}
.btn-ghost:hover {
  color: var(--gold);
}
.on-light .btn-ghost {
  color: var(--text-dark);
}
.on-light .btn-ghost:hover {
  color: var(--gold-ink);
}

/* ---------- En-tête ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}
.site-header.is-scrolled,
.site-header--solid {
  background: rgba(10, 10, 10, 0.94);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 100%;
}

.brand {
  display: block;
  flex: none;
}
.brand img {
  width: 108px;
  height: auto;
}

.main-nav ul {
  display: flex;
  gap: clamp(20px, 2.4vw, 40px);
}
.main-nav a {
  position: relative;
  display: block;
  padding: 8px 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover,
.main-nav a.is-active {
  color: var(--white);
}
.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.header-phone .icon {
  color: var(--gold);
}
.header-phone:hover {
  color: var(--gold);
}
.header-actions .btn {
  min-height: 48px;
  padding: 0 22px;
  font-size: 15px;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 4px;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
}
.menu-toggle__bars {
  position: relative;
  width: 26px;
  height: 12px;
}
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.menu-toggle__bars::before {
  top: 0;
}
.menu-toggle__bars::after {
  top: 10px;
}
.menu-open .menu-toggle__bars::before {
  top: 5px;
  transform: rotate(45deg);
}
.menu-open .menu-toggle__bars::after {
  top: 5px;
  transform: rotate(-45deg);
}

/* Menu plein écran (mobile / tablette) */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: var(--ink);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
}
.mobile-menu ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.mobile-menu li {
  border-bottom: 1px solid var(--line);
}
.mobile-menu ol a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 9vw, 52px);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: var(--track);
}
.mobile-menu ol a span {
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.mobile-menu__contact {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 40px;
}
.mobile-menu__contact a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
}
.mobile-menu__contact .icon {
  color: var(--gold);
}
.mobile-menu__contact p {
  color: var(--steel);
  font-size: 15px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--black);
  isolation: isolate;
}
.hero__media {
  position: absolute;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  z-index: -2;
  width: 60%;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 60%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(180deg, transparent 0%, #000 18%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(180deg, transparent 0%, #000 18%);
  mask-composite: intersect;
  animation: hero-zoom 2.6s var(--ease) both;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 62%),
    linear-gradient(0deg, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0) 30%);
}
@keyframes hero-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

.hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 168px;
}
.hero__title {
  margin-top: 28px;
  font-size: clamp(52px, 7.4vw, 112px);
  line-height: 0.92;
}
.hero__lead {
  max-width: 540px;
  margin-top: 32px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 36px;
  margin-top: 44px;
}

.hero__facts {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}
.hero__facts ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero__facts li {
  padding: 26px 24px 30px 0;
}
.hero__facts li + li {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.fact__label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
}
.fact__value {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--track);
}
.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: none;
  background: var(--gold);
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--gold);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0% {
    opacity: 0.9;
    transform: scale(0.6);
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

/* ---------- Sections ---------- */
.section {
  padding: var(--section) 0;
}
.section--light {
  background: var(--marble);
  color: var(--text-dark);
}
.section--paper {
  background: var(--paper);
  color: var(--text-dark);
}
.section--carbon {
  background: var(--carbon);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px 64px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head h2 {
  margin-top: 22px;
}
.section-head__aside {
  display: grid;
  justify-items: start;
  gap: 24px;
}

/* ---------- L'exigence ---------- */
.exigence__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.exigence__text h2 {
  margin-top: 22px;
}
.exigence__text .lead {
  max-width: 600px;
  margin-top: 32px;
}
.exigence__text .lead + .lead {
  margin-top: 18px;
}
.exigence__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--carbon);
}
.exigence__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}
.exigence__media figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 14px 18px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(64px, 8vw, 112px);
  border-top: 1px solid var(--line);
}
.pillar {
  padding: 32px 28px 8px 0;
}
.pillar + .pillar {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.pillar__num {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.pillar h3 {
  margin-top: 16px;
  font-size: clamp(24px, 2.2vw, 30px);
}
.pillar p {
  margin-top: 14px;
  font-size: 16px;
  color: var(--text-soft);
}

/* ---------- Prestations ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 24px;
}
.service {
  display: flex;
  flex-direction: column;
}
.service__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--carbon-2);
}
.service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
  filter: saturate(0.85);
}
.service__media::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.service:hover .service__media img {
  transform: scale(1.05);
  filter: saturate(1);
}
.service:hover .service__media::after {
  transform: scaleX(1);
}
.service__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
}
.service__meta span:first-child {
  color: var(--gold);
}
.service h3 {
  margin-top: 12px;
  font-size: clamp(24px, 2vw, 28px);
  line-height: 1.04;
}
.service p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
}
.service .btn-ghost {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 20px;
  font-size: 15px;
}

.forfait {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 48px;
  margin-top: clamp(56px, 7vw, 96px);
  padding: 32px clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  background: var(--ink);
}
.forfait h3 {
  font-size: clamp(26px, 2.4vw, 34px);
}
.forfait p {
  max-width: 640px;
  color: var(--text-soft);
  font-size: 16px;
}

/* ---------- Méthode ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--gold);
}
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 84px);
  font-weight: 400;
  line-height: 0.9;
  color: var(--gold);
  letter-spacing: var(--track);
}
.step h3 {
  margin-top: 24px;
  font-size: clamp(22px, 1.9vw, 26px);
}
.step p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--text-soft);
}

/* ---------- Bandeau 24/7 ---------- */
.band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(88vh, 860px);
  padding: var(--section) 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
}
.band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 70%;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.35) 100%);
}
.band__title {
  margin-top: 24px;
  font-size: clamp(72px, 13vw, 184px);
  line-height: 0.88;
}
.band__title span {
  display: block;
  color: var(--gold);
}
.band__text {
  max-width: 560px;
  margin-top: 36px;
}
.band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}

/* ---------- Zones ---------- */
.zones__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.zones__intro h2 {
  margin-top: 22px;
}
.zones__intro .lead {
  margin-top: 28px;
  max-width: 460px;
}
.zones__intro .btn {
  margin-top: 36px;
}
.zones__list {
  border-top: 1px solid var(--gold);
}
.zones__list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.zones__city {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: var(--track);
}
.zones__dept {
  flex: none;
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
}
.zones__dept b {
  font-weight: 500;
  color: var(--gold);
}
.zones__list li.is-more .zones__city {
  color: var(--steel);
}

/* ---------- Devis & contact ---------- */
.devis__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.devis__head h2 {
  margin-top: 22px;
}
.devis__head .lead {
  margin-top: 24px;
  max-width: 560px;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 32px;
  margin-top: 48px;
}
.field {
  display: grid;
  gap: 8px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
}
.field label abbr {
  color: var(--gold);
  text-decoration: none;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font-size: 17px;
  transition: border-color 0.25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.55;
}
.field select {
  padding-right: 32px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2b04a' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 20px;
}
.field select option {
  background: var(--carbon);
  color: var(--white);
}
.field input::placeholder,
.field textarea::placeholder {
  color: #6d6d6d;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  box-shadow: 0 1px 0 0 var(--gold);
}
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
  border-bottom-color: #d9534f;
}

.consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  display: grid;
  place-content: center;
}
.consent input::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--gold);
  transform: scale(0);
  transition: transform 0.15s var(--ease);
}
.consent input:checked {
  border-color: var(--gold);
}
.consent input:checked::before {
  transform: scale(1);
}
.consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent a:hover {
  color: var(--gold);
}

.form__footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.form__footer .btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.form__note {
  font-size: 14px;
  color: var(--steel);
}
.form__status {
  grid-column: 1 / -1;
  display: none;
  padding: 18px 22px;
  border-left: 2px solid var(--gold);
  background: var(--carbon);
  font-size: 16px;
}
.form__status.is-visible {
  display: block;
}
.form__status.is-error {
  border-left-color: #d9534f;
}
.form__status a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: clamp(28px, 3vw, 44px);
  background: var(--carbon);
  border-top: 2px solid var(--gold);
}
.contact-card h3 {
  font-size: 28px;
}
.contact-card > p {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 16px;
}
.contact-card__phone {
  display: block;
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.contact-card__phone:hover {
  color: var(--gold);
}
.contact-card__avail {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}
.contact-card__list {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.contact-card__list li {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.contact-card__list .icon {
  margin-top: 3px;
  color: var(--gold);
}
.contact-card__list small {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
}
.contact-card__list a {
  word-break: break-word;
}
.contact-card__list a:hover {
  color: var(--gold);
}
.contact-card .btn {
  width: 100%;
  margin-top: 32px;
}

/* ---------- Pied de page ---------- */
.site-footer {
  padding-top: clamp(64px, 8vw, 112px);
  background: var(--black);
  border-top: 1px solid var(--line);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 48px 40px;
}
.footer__brand img {
  width: 220px;
}
.footer__brand p {
  max-width: 320px;
  margin-top: 24px;
  color: var(--steel);
  font-size: 15px;
}
.footer__col h4 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.footer__col ul {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.footer__col a,
.footer__col li {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
}
.footer__col a:hover {
  color: var(--white);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: clamp(56px, 7vw, 96px);
  padding: 28px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--steel);
}
.footer__bottom a:hover {
  color: var(--white);
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

/* ---------- Barre d'action mobile ---------- */
.action-bar {
  display: none;
}

/* ---------- Apparition au défilement ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Page mentions légales ---------- */
.legal {
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 var(--section);
  background: var(--ink);
  color: var(--white);
}
.legal .container {
  max-width: 920px;
}
.legal h1 {
  margin-top: 22px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.94;
}
.legal h2 {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: clamp(26px, 3vw, 34px);
}
.legal p,
.legal li {
  margin-top: 14px;
  font-size: 17px;
  color: var(--text-soft);
}
.legal ul {
  padding-left: 20px;
  list-style: square;
}
.legal a:not(.btn) {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal strong {
  color: var(--white);
  font-weight: 500;
}
.todo {
  padding: 1px 6px;
  background: rgba(226, 176, 74, 0.16);
  color: var(--gold-light);
  font-weight: 500;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .main-nav,
  .header-phone {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .header-actions {
    gap: 20px;
  }
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillar:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .pillar:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    margin-top: 24px;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .section-head,
  .exigence__grid,
  .zones__grid,
  .devis__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .exigence__media {
    aspect-ratio: 16 / 10;
  }
  .forfait {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-card {
    position: static;
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 72px;
  }
  body {
    font-size: 16px;
    padding-bottom: 64px;
  }
  .brand img {
    width: 78px;
  }
  .header-actions .btn {
    display: none;
  }
  .hero {
    flex-direction: column;
    min-height: calc(100svh - 64px);
  }
  .hero__inner {
    flex: 1;
    padding-top: 50svh;
    padding-bottom: 40px;
  }
  .hero__facts {
    position: relative;
  }
  .service__media {
    aspect-ratio: 16 / 10;
  }
  .hero__facts ul {
    grid-template-columns: 1fr 1fr;
  }
  .hero__facts li {
    padding: 18px 12px 20px 0;
  }
  .hero__facts li + li {
    padding-left: 16px;
  }
  .hero__facts li:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
  .hero__actions .btn-gold {
    width: 100%;
  }
  .services__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pillars,
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .pillar,
  .pillar + .pillar {
    padding: 28px 0 0;
    border-left: 0;
  }
  .pillar + .pillar {
    margin-top: 28px;
    border-top: 1px solid var(--line);
  }
  .pillar:nth-child(n + 3) {
    margin-top: 28px;
  }
  .form {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .form__footer .btn {
    width: 100%;
  }
  .band__actions .btn {
    width: 100%;
  }
  .zones__list li {
    flex-direction: column;
    gap: 6px;
  }
  .footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer__col--contact {
    grid-column: 1 / -1;
  }

  .action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 64px;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--ink);
    border-top: 1px solid var(--line);
  }
  .action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .action-bar a:first-child {
    background: var(--gold);
    color: var(--black);
  }
}

/* Hero en bandeau : téléphones et écrans peu larges (la photo passe au-dessus du texte) */
@media (max-width: 767px), (max-aspect-ratio: 3/2) {
  .hero__media {
    top: 0;
    bottom: auto;
    width: 100%;
    height: 58svh;
  }
  .hero__media img {
    object-position: 75% 45%;
    -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 100%);
    -webkit-mask-composite: source-over;
    mask-image: linear-gradient(180deg, #000 50%, transparent 100%);
    mask-composite: add;
  }
  .hero::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 20%),
      linear-gradient(0deg, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.85) 45%, rgba(10, 10, 10, 0) 70%);
  }
  .hero__inner {
    padding-top: 48svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
