/* ===========================================================
   A.R.I.P Bâtiment — feuille de style commune
   Mobile first · Plus Jakarta Sans · palette brique / papier
   =========================================================== */
:root {
  --ink: #0e0e10;
  --ink-2: #17171b;
  --ink-3: #22222a;
  --text: #191613;
  --text-2: rgba(25, 22, 19, 0.66);
  --paper: #f6f4f1;
  --paper-2: #efece7;
  --line: rgba(25, 22, 19, 0.1);
  --line-2: rgba(25, 22, 19, 0.16);
  --line-dark: rgba(246, 244, 241, 0.12);
  --brick: #9c3626;
  --brick-dark: #78271b;
  --brick-light: #e08a6a;
  --brick-pale: #edc3b2;
  --brick-wash: rgba(156, 54, 38, 0.08);
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: 20px;
  --max: 1240px;
  --r-sm: 10px;
  --r: 14px;
  --r-md: 20px;
  --r-lg: 26px;
  --r-xl: 32px;
  --shadow:
    0 1px 2px rgba(14, 14, 16, 0.04), 0 10px 26px -14px rgba(14, 14, 16, 0.18);
  --shadow-lg:
    0 2px 4px rgba(14, 14, 16, 0.04), 0 24px 48px -22px rgba(14, 14, 16, 0.28);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--brick);
  text-decoration: none;
}
a:hover {
  color: var(--brick-dark);
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 3px;
}

/* ---------- primitives ---------- */
.container {
  max-width: var(--max);
  margin-inline: auto;
  width: 100%;
}
.section {
  padding: 56px var(--pad);
}
.section--dark {
  background: var(--ink);
  color: var(--paper);
}
.section--tint {
  background: var(--paper-2);
}
.section--flush {
  padding-top: 0;
}

.eyebrow {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brick-wash);
  border: 1px solid rgba(156, 54, 38, 0.16);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--brick);
}
.eyebrow--light {
  background: rgba(224, 138, 106, 0.12);
  border-color: rgba(224, 138, 106, 0.26);
  color: var(--brick-pale);
}
.meta {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-2);
}
.meta--light {
  color: rgba(246, 244, 241, 0.6);
}
.lede {
  max-width: 58ch;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-2);
}
.lede--light {
  color: rgba(246, 244, 241, 0.76);
}
.h-xl {
  font-size: clamp(33px, 6.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.h-lg {
  font-size: clamp(28px, 6.4vw, 44px);
  letter-spacing: -0.03em;
}
.h-md {
  font-size: clamp(24px, 5.2vw, 34px);
  letter-spacing: -0.028em;
}
.em {
  font-style: normal;
  color: var(--brick-pale);
}
.em-ink {
  font-style: normal;
  color: var(--brick);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
.btn:active {
  transform: translateY(1px);
}
.btn--brick {
  background: var(--brick);
  color: #fff;
  border-color: var(--brick);
  box-shadow: 0 8px 20px -12px rgba(156, 54, 38, 0.8);
}
.btn--brick:hover {
  background: var(--brick-dark);
  border-color: var(--brick-dark);
  color: #fff;
}
.btn--paper {
  background: var(--paper);
  color: var(--text);
}
.btn--paper:hover {
  background: #fff;
  color: var(--text);
}
.btn--ghost {
  border-color: rgba(246, 244, 241, 0.24);
  color: var(--paper);
  background: rgba(246, 244, 241, 0.05);
}
.btn--ghost:hover {
  border-color: rgba(246, 244, 241, 0.5);
  background: rgba(246, 244, 241, 0.1);
  color: #fff;
}
.btn--ghost-ink {
  border-color: var(--line-2);
  color: var(--text);
  background: #fff;
}
.btn--ghost-ink:hover {
  border-color: rgba(25, 22, 19, 0.4);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}

/* ---------- topbar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(246, 244, 241, 0.7);
  font-size: 12.5px;
  font-weight: 600;
}
.topbar__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 9px var(--pad);
  display: flex;
  gap: 4px 18px;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
}
.topbar__inner > span {
  white-space: nowrap;
}
.topbar a {
  color: #fff;
}
.topbar a:hover {
  color: var(--brick-pale);
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 244, 241, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 10px var(--pad);
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}
.logo img {
  height: 44px;
  width: auto;
}
.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: var(--pad);
  right: var(--pad);
  flex-direction: column;
  gap: 2px;
  background: #fff;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  font-size: 15px;
  font-weight: 600;
}
.nav.is-open {
  display: flex;
}
.nav a {
  color: var(--text);
  padding: 13px 14px;
  border-radius: var(--r-sm);
}
.nav a:hover {
  background: var(--paper-2);
  color: var(--text);
}
.nav a[aria-current="page"] {
  background: var(--brick-wash);
  color: var(--brick);
}
.header__right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header__tel {
  display: none;
}
.header__cta {
  display: none;
}
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
}
.burger span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  display: block;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  border-bottom-left-radius: var(--r-xl);
  border-bottom-right-radius: var(--r-xl);
}
.hero__mark {
  position: absolute;
  top: auto;
  bottom: 56%;
  right: -16%;
  width: 126%;
  height: auto;
  display: block;
  color: var(--brick);
  pointer-events: none;
  opacity: 0.72;
  -webkit-mask-image: linear-gradient(to left, #000 24%, transparent 96%);
  mask-image: linear-gradient(to left, #000 24%, transparent 96%);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 90% at 8% 0%,
    rgba(156, 54, 38, 0.22) 0%,
    transparent 62%
  );
}
.hero__inner {
  position: relative;
  max-width: var(--max);
  margin-inline: auto;
  width: 100%;
  padding: 44px var(--pad) 48px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.hero__copy {
  max-width: 720px;
}
.hero h1 {
  margin: 18px 0 16px;
  color: #fff;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero__note {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(246, 244, 241, 0.55);
  text-align: center;
}

/* ---------- bandeau de confiance (hero) ---------- */
.hero__trust {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-dark);
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
  font-weight: 700;
  color: rgba(246, 244, 241, 0.82);
}
.hero__trust li {
  background: var(--ink);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__trust li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brick-light);
}

/* ---------- conformité & garanties ---------- */
.authority {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}
.authority li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 22px 22px 58px;
}
.authority__tick {
  position: absolute;
  left: 20px;
  top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--brick-wash);
  color: var(--brick);
  font-size: 13px;
  font-weight: 800;
}
.authority strong {
  display: block;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.authority p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
}

/* ---------- comparatif risque ---------- */
.compare {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.compare__col {
  border-radius: var(--r-lg);
  padding: 24px;
  border: 1px solid var(--line);
}
.compare__col--risk {
  background: rgba(25, 22, 19, 0.03);
  border-style: dashed;
}
.compare__col--ok {
  background: #fff;
  box-shadow: var(--shadow);
}
.compare__head {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--text-2);
}
.compare__col--ok .compare__head {
  color: var(--brick);
}
.compare ul {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}
.compare li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
}
.compare li::before {
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 15px;
  font-weight: 800;
}
.compare__col--risk li::before {
  content: "\00d7";
  color: rgba(25, 22, 19, 0.45);
}
.compare__col--ok li {
  color: var(--text);
}
.compare__col--ok li::before {
  content: "\2713";
  color: var(--brick);
}

@media (min-width: 700px) {
  .hero__trust {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero__trust li {
    padding: 15px 22px;
    justify-content: center;
  }
  .authority {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 32px;
  }
  .compare {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 32px;
  }
  .compare__col {
    padding: 30px;
  }
}
@media (min-width: 1024px) {
  .authority {
    grid-template-columns: repeat(4, 1fr);
  }
  .authority li {
    padding: 26px 24px 26px 24px;
  }
  .authority__tick {
    position: static;
    margin-bottom: 14px;
  }
}

/* ---------- chiffres ---------- */
.claims {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: var(--max);
  margin: 22px auto 0;
  padding: 0 var(--pad);
}
.claims li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 18px 20px;
  box-shadow: var(--shadow);
}
.claims b {
  display: block;
  font-size: clamp(24px, 5.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.claims li:nth-child(4) b {
  color: var(--brick);
}
.claims .meta {
  display: block;
  margin-top: 7px;
  font-size: 12.5px;
  max-width: 24ch;
}

/* ---------- métiers ---------- */
.trades {
  display: grid;
  gap: 26px;
  max-width: var(--max);
  margin-inline: auto;
}
.trades__intro h2 {
  margin: 16px 0 14px;
}
.trades__list {
  display: grid;
  gap: 10px;
}
.trade {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  display: grid;
  gap: 8px;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
}
.trade:hover {
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}
.trade__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brick);
}
.trade__name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.trade__desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
}

/* ---------- méthode ---------- */
.steps {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}
.steps li {
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  padding: 22px;
}
.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--brick);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.steps h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin: 14px 0 8px;
}
.steps p {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(246, 244, 241, 0.7);
}

/* ---------- réalisations ---------- */
.work {
  max-width: var(--max);
  margin-inline: auto;
}
.work__head {
  display: grid;
  gap: 18px;
  margin: 16px 0 22px;
}
.work__head h2 {
  color: #fff;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar {
  display: none;
}
.filters button {
  flex: none;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  background: rgba(246, 244, 241, 0.06);
  border: 1px solid var(--line-dark);
  color: rgba(246, 244, 241, 0.8);
  cursor: pointer;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
}
.filters button:hover {
  background: rgba(246, 244, 241, 0.12);
  color: #fff;
}
.filters button[aria-pressed="true"] {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--text);
}
.work__lead {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}
.work__stack {
  display: grid;
  gap: 12px;
}
.work__stack[hidden] {
  display: none;
}
.work__grid {
  display: grid;
  gap: 12px;
}
.work__more {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

/* plaque de chantier : typographique tant qu'il n'y a pas de photo */
.plate {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 230px;
  padding: 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-dark);
  background: var(--ink-2);
  overflow: hidden;
  color: var(--paper);
}
.plate--lead {
  min-height: 300px;
}
.plate--tile {
  min-height: 230px;
}
.plate img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14, 14, 16, 0.9) 0%,
    rgba(14, 14, 16, 0.5) 52%,
    rgba(14, 14, 16, 0.12) 100%
  );
}
.plate > * {
  position: relative;
  z-index: 1;
}
.plate[hidden] {
  display: none;
}
.plate__tag {
  align-self: flex-start;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--brick);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.plate h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #fff;
}
.plate--lead h3 {
  font-size: 25px;
}
.plate p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(246, 244, 241, 0.78);
  max-width: 46ch;
}
.plate .meta {
  display: block;
  margin-top: 10px;
}

/* ---------- avis ---------- */
.reviews {
  max-width: var(--max);
  margin-inline: auto;
}
.reviews__head {
  display: grid;
  gap: 18px;
  margin: 16px 0 22px;
}
.reviews__note {
  max-width: 36ch;
}
.reviews__note b {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.reviews__note .meta {
  display: block;
  margin-top: 8px;
  color: var(--brick);
}
.reviews__grid {
  display: grid;
  gap: 12px;
}
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
}
.stars {
  display: flex;
  gap: 3px;
  color: var(--brick);
}
.stars svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  display: block;
}
.review blockquote {
  margin: 0;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.01em;
}
.review footer {
  margin-top: auto;
}
.review cite {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  font-style: normal;
}
.review .meta {
  display: block;
  margin-top: 5px;
}
.pledges {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line-2);
}
.pledges > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
}
.pledges strong {
  display: block;
  margin-top: 8px;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.pledges p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 40ch;
}

/* ---------- bande CTA ---------- */
.cta-band {
  padding: 0 var(--pad) 56px;
}
.cta-band__inner {
  max-width: var(--max);
  margin-inline: auto;
  background: var(--brick);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cta-band h2 {
  font-size: clamp(24px, 5.4vw, 36px);
  color: #fff;
}
.cta-band p {
  margin-top: 10px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 46ch;
}
.cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn--ink {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn--ink:hover {
  background: #000;
  color: #fff;
}
.btn--onbrick {
  border-color: rgba(255, 255, 255, 0.44);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.btn--onbrick:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  color: #fff;
}

/* ---------- contact ---------- */
.contact {
  display: grid;
  gap: 12px;
  max-width: var(--max);
  margin-inline: auto;
}
.contact__intro {
  padding: 4px 0 0;
  display: flex;
  flex-direction: column;
}
.contact__intro h2 {
  margin: 16px 0 16px;
}
.coords {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}
.coords > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
}
.coords b {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.4;
}
.coords a {
  color: var(--text);
}
.coords a:hover {
  color: var(--brick);
}
.form {
  padding: 26px 22px;
  background: var(--ink);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form__row {
  display: grid;
  gap: 14px;
}
.form label {
  display: block;
}
.lbl {
  display: block;
  margin-bottom: 7px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(246, 244, 241, 0.66);
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 15px 16px;
  background: rgba(246, 244, 241, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.5;
}
.form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(246, 244, 241, 0.6) 50%),
    linear-gradient(135deg, rgba(246, 244, 241, 0.6) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 52%,
    calc(100% - 16px) 52%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}
.form select option {
  color: #191613;
}
.form textarea {
  min-height: 130px;
  resize: vertical;
}
.form input::placeholder,
.form textarea::placeholder {
  color: rgba(246, 244, 241, 0.45);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 0;
  border-color: var(--brick-light);
  background: rgba(246, 244, 241, 0.08);
}
.form__note {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(246, 244, 241, 0.55);
}
.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.form__consent input {
  width: auto;
  flex: none;
  margin-top: 3px;
  accent-color: var(--brick);
}
.form__consent span {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(246, 244, 241, 0.75);
}
.form__consent a {
  color: var(--brick-light);
}
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.form button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.form__status {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  padding: 12px 14px;
  border-radius: var(--r);
}
.form__status--ok {
  background: rgba(103, 178, 110, 0.15);
  color: #9fe0a6;
}
.form__status--error {
  background: rgba(224, 90, 90, 0.15);
  color: #f0a3a3;
}

/* ---------- en-tête de page intérieure ---------- */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: 36px var(--pad) 40px;
  border-bottom-left-radius: var(--r-xl);
  border-bottom-right-radius: var(--r-xl);
}
.page-hero__inner {
  max-width: var(--max);
  margin-inline: auto;
}
.page-hero h1 {
  margin: 16px 0 14px;
  color: #fff;
}
.back {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brick-pale);
}
.back:hover {
  color: #fff;
}

/* ---------- contenu légal ---------- */
.legal {
  max-width: 72ch;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 22px;
}
.legal h2 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 30px 0 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.legal h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.legal p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
}
.legal p + p {
  margin-top: 14px;
}
.legal strong {
  color: var(--text);
  font-weight: 700;
}

/* ---------- footer ---------- */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 28px var(--pad) 32px;
}
.footer__inner {
  max-width: var(--max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer img {
  height: 42px;
  width: auto;
}
.footer ul {
  display: flex;
  gap: 8px 18px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}
.footer a {
  color: inherit;
}
.footer a:hover {
  color: var(--brick);
}

/* ---------- barre d'appel mobile ---------- */
.sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 var(--pad) 12px;
  padding: 11px 12px 11px 18px;
  background: var(--brick);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
}
.sticky-cta b {
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}
.sticky-cta a {
  flex: none;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
}

/* ===========================================================
   ≥ 700 px — tablette
   =========================================================== */
@media (min-width: 700px) {
  :root {
    --pad: 32px;
  }
  body {
    font-size: 16.5px;
  }
  .section {
    padding: 72px var(--pad);
  }
  .topbar__inner {
    justify-content: space-between;
    text-align: left;
  }
  .hero__inner {
    padding: 64px var(--pad) 72px;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }
  .hero__actions {
    min-width: 240px;
    flex: none;
  }
  .hero__mark {
    width: 72%;
    right: -8%;
    bottom: 52%;
    opacity: 0.78;
  }
  .claims {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 28px;
  }
  .trades__list {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .work__head {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .work__lead {
    grid-template-columns: 1.5fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
  }
  .work__lead.is-filtered {
    grid-template-columns: 1fr;
  }
  .work__stack {
    gap: 14px;
  }
  .work__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .plate--lead {
    min-height: 420px;
  }
  .plate--tile {
    min-height: 260px;
  }
  .reviews__head {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 30px;
  }
  .reviews__note {
    text-align: right;
  }
  .reviews__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .pledges {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
    padding-top: 34px;
  }
  .cta-band {
    padding: 0 var(--pad) 72px;
  }
  .cta-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    gap: 36px;
  }
  .cta-band__actions {
    flex-direction: row;
  }
  .contact {
    gap: 16px;
  }
  .coords {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .form {
    padding: 34px 30px;
  }
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
  .page-hero {
    padding: 48px var(--pad) 56px;
  }
  .legal {
    padding: 38px 34px;
  }
  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .sticky-cta {
    display: none;
  }
}

/* ===========================================================
   ≥ 1024 px — desktop
   =========================================================== */
@media (min-width: 1024px) {
  :root {
    --pad: 44px;
  }
  .section {
    padding: 96px var(--pad);
  }
  .header__inner {
    padding: 12px var(--pad);
  }
  .logo img {
    height: 50px;
  }
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 2px;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    font-size: 14.5px;
  }
  .nav a {
    padding: 9px 13px;
    border-radius: 999px;
  }
  .header__tel {
    display: inline-block;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
  }
  .header__cta {
    display: inline-flex;
    min-height: 44px;
    padding: 11px 20px;
    font-size: 14px;
  }
  .header__right {
    gap: 16px;
  }
  .burger {
    display: none;
  }
  .hero__inner {
    padding: 90px var(--pad) 96px;
  }
  .hero__mark {
    width: 56%;
    right: -2%;
    bottom: 54%;
    opacity: 0.8;
  }
  .claims {
    margin-top: 34px;
  }
  .claims li {
    padding: 24px 26px 26px;
  }
  .trades {
    grid-template-columns: minmax(260px, 330px) 1fr;
    gap: 56px;
    align-items: start;
  }
  .trade {
    padding: 26px 28px;
  }
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .work__head {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 36px;
  }
  .filters {
    flex-wrap: wrap;
    overflow: visible;
  }
  .plate {
    padding: 28px;
  }
  .plate--lead {
    min-height: 470px;
  }
  .plate--tile {
    min-height: 300px;
  }
  .plate h3 {
    font-size: 24px;
  }
  .plate--lead h3 {
    font-size: 32px;
  }
  .contact {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }
  .contact__intro {
    padding-right: 20px;
  }
  .form {
    padding: 40px 38px;
  }
  .legal {
    padding: 46px 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* filtres sur fond clair (page chantiers) */
.section:not(.section--dark) .work__head h2 {
  color: var(--text);
}
.section:not(.section--dark) .filters button {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}
.section:not(.section--dark) .filters button:hover {
  background: var(--paper-2);
  color: var(--text);
}
.section:not(.section--dark) .filters button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------- zones d'intervention ---------- */
.zones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.zones li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* ---------- bouton WhatsApp flottant ---------- */
.whatsapp {
  position: fixed;
  right: 16px;
  bottom: 78px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: 54px;
  height: 54px;
  justify-content: center;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow:
    0 10px 26px -8px rgba(37, 211, 102, 0.7),
    0 2px 6px rgba(14, 14, 16, 0.2);
  transition:
    background 0.18s,
    opacity 0.25s ease,
    transform 0.25s ease;
}
.whatsapp.is-hidden {
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  pointer-events: none;
}
.whatsapp svg {
  flex: none;
  width: 26px;
  height: 26px;
  fill: currentColor;
  display: block;
}
.whatsapp span {
  display: none;
}
.whatsapp:hover {
  color: #fff;
  background: #1fb855;
}
@media (min-width: 700px) {
  .whatsapp {
    right: 24px;
    bottom: 24px;
  }
}

/* ---------- bouton Instagram flottant ---------- */
.instagram {
  position: fixed;
  right: 16px;
  bottom: 142px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: 54px;
  height: 54px;
  justify-content: center;
  border-radius: 999px;
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  color: #fff;
  box-shadow:
    0 10px 26px -8px rgba(214, 36, 159, 0.6),
    0 2px 6px rgba(14, 14, 16, 0.2);
  transition:
    filter 0.18s,
    opacity 0.25s ease,
    transform 0.25s ease;
}
.instagram.is-hidden {
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  pointer-events: none;
}
.instagram svg {
  flex: none;
  width: 24px;
  height: 24px;
  fill: #fff;
  display: block;
}
.instagram span {
  display: none;
}
.instagram:hover {
  color: #fff;
  filter: brightness(1.08);
}
@media (min-width: 700px) {
  .instagram {
    right: 24px;
    bottom: 90px;
  }
}

/* ---------- dirigeant (autorité) ---------- */
.founder {
  display: grid;
  gap: 22px;
}
.founder__portrait {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
  box-shadow: var(--shadow);
}
.founder__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.founder__quote {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.015em;
  padding-left: 18px;
  border-left: 3px solid var(--brick);
}
.founder__id {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.founder__name {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.founder__id .meta {
  display: block;
  margin-top: 4px;
}
.founder__facts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin: 22px 0;
}
.founder__facts li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 14px 16px;
}
.founder__facts b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.founder__facts .meta {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.4;
}
@media (min-width: 700px) {
  .founder {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 34px;
    align-items: center;
  }
  .founder__portrait img {
    aspect-ratio: 3/4;
  }
  .founder__quote {
    font-size: 19.5px;
  }
}
@media (min-width: 1024px) {
  .founder {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 56px;
  }
  .founder__portrait img {
    aspect-ratio: 4/5;
  }
  .founder__quote {
    font-size: 21px;
    padding-left: 22px;
  }
}
