/* Despres Rénovation — matières vivantes
   Brique qui chauffe · pierre bleue qui respire · IPN qui coupe
   Chaque contrôle a un poids. Chaque surface a une lumière. */

:root {
  --brique: #8B3424;
  --brique-vive: #B04A32;
  --brique-ombre: #5C2217;
  --brique-poudre: #C9A090;

  --pierre: #3A4654;
  --pierre-foncee: #242C36;
  --pierre-claire: #6B7888;
  --pierre-glaciale: #8A97A6;

  --ipn: #0B0C0E;
  --acier: #3A4048;
  --acier-clair: #7A828C;
  --soudure: #C5CBD3;

  --chaux: #E8E2D6;
  --chaux-chaude: #F4EFE6;
  --joint: rgba(11, 12, 14, 0.14);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-press: cubic-bezier(0.2, 0.8, 0.2, 1);
  /* Ombres légères : matière noble qui flotte, pas un bloc de chantier */
  --shadow-brique: 0 10px 28px rgba(91, 34, 23, 0.16);
  --shadow-acier: 0 12px 30px rgba(11, 12, 14, 0.18);
  --shadow-pierre: 0 10px 26px rgba(36, 44, 54, 0.14);
  --shadow-float: 0 18px 40px rgba(36, 44, 54, 0.12);
  /* Traitement photo "cathédrale" — une seule formule pour tout le site */
  --photo-filter: sepia(0.28) contrast(1.08) brightness(0.94) saturate(0.78) hue-rotate(-6deg);

  --px: clamp(1.05rem, 4.2vw, 3.4rem);
  --max: 76rem;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --display: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  --serif: "IBM Plex Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  color: var(--ipn);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-color: var(--chaux);
  position: relative;
  /* Province sous le plâtre : brique réelle, voile de chaux */
  background-image:
    linear-gradient(180deg, rgba(244, 239, 230, 0.88), rgba(232, 226, 214, 0.94) 45%, rgba(232, 226, 214, 0.97)),
    url("/media/client-web/brique/old-brick-wall-close-up-background-texture-2026-01-07-05-41-.jpg");
  background-size: auto, cover;
  background-attachment: fixed, fixed;
  background-position: center, center;
}
/* Grain d'atelier / plaque photographique — se sent, ne crie pas */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.14;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.15 0 0 0 0 0.12 0 0 0 0 0.1 0 0 0 0.55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 79;
  opacity: 0.045;
  mix-blend-mode: soft-light;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(176, 74, 50, 0.18), transparent 42%),
    radial-gradient(ellipse at 80% 90%, rgba(58, 70, 84, 0.2), transparent 48%);
}
img { max-width: 100%; display: block; }

/* Toute image / surface photo : un seul filtre d'exigence (texte hors filtre) */
.photo-tone img,
.gallery-item img,
.hero-photo img,
.mat-bg,
.wall-strip span,
.panel-media {
  filter: var(--photo-filter);
}
a {
  color: var(--brique);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 160ms var(--ease-out), text-underline-offset 160ms var(--ease-out);
}
a:hover { color: var(--brique-ombre); text-underline-offset: 0.28em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--brique-vive);
  outline-offset: 3px;
}
::selection { background: rgba(176, 74, 50, 0.24); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: var(--ipn);
  text-wrap: balance;
}
h1 { font-size: clamp(2.45rem, 6.2vw, 4.2rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.45rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ipn); color: var(--chaux-chaude); padding: 0.6rem 1rem;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* Bandeau matières — vivant, pas décor plat */
.wall-strip {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.55fr;
  height: 12px;
  position: relative;
  overflow: hidden;
}
.wall-strip span {
  display: block;
  position: relative;
  background-size: cover;
  background-position: center;
}
.wall-strip .placo {
  background-image:
    linear-gradient(90deg, rgba(91, 34, 23, 0.15), transparent 40%),
    url("/media/client-web/brique/red-brick-wall-close-up-with-gray-mortar-2026-01-09-06-45-36.jpg");
}
.wall-strip .enduit {
  background-image:
    linear-gradient(90deg, rgba(36, 44, 54, 0.2), transparent 50%),
    url("/media/client-web/pierre/textured-close-up-of-a-blue-green-stone-2026-01-09-14-02-55.jpg");
}
.wall-strip .peinture {
  background-image:
    linear-gradient(90deg, rgba(11, 12, 14, 0.35), transparent 55%),
    url("/media/client-web/peinture/work-tool-and-equipment-for-building-paint-color-2026-03-26-.jpg");
}
.wall-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(244, 239, 230, 0.35), transparent);
  transform: translateX(-120%);
  animation: lightSweep 7.5s var(--ease-out) infinite;
}
@keyframes lightSweep {
  0%, 70% { transform: translateX(-120%); opacity: 0; }
  78% { opacity: 0.7; }
  100% { transform: translateX(120%); opacity: 0; }
}

.rule {
  border: 0;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(11, 12, 14, 0.18) 8%,
    rgba(11, 12, 14, 0.22) 50%,
    rgba(11, 12, 14, 0.18) 92%,
    transparent 100%
  );
  opacity: 1;
}

.wrap {
  width: min(100% - 2 * var(--px), var(--max));
  margin-inline: auto;
}

/* Header — acier brossé */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background:
    linear-gradient(180deg, rgba(244, 239, 230, 0.96), rgba(232, 226, 214, 0.9));
  backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid var(--joint);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--ipn);
  text-decoration: none;
  line-height: 1.05;
  transition: transform 200ms var(--ease-out), color 200ms var(--ease-out);
}
.wordmark:hover { transform: translateY(-1px); color: var(--brique-ombre); }
.wordmark small {
  display: block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pierre);
  margin-top: 0.25rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem 1.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  color: var(--acier);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;
  position: relative;
  padding: 0.25rem 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 2px;
  background: var(--brique);
  transition: right 220ms var(--ease-out);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { right: 0; }
.nav a:hover,
.nav a[aria-current="page"] { color: var(--brique); }

.nav-toggle {
  display: none;
  border: 1px solid var(--joint);
  background: var(--chaux-chaude);
  color: var(--ipn);
  padding: 0.5rem 0.75rem;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset, 0 2px 0 rgba(11,12,14,0.08);
  transition: transform 120ms var(--ease-press), box-shadow 120ms var(--ease-press);
}
.nav-toggle:active {
  transform: translateY(1px);
  box-shadow: 0 0 0 rgba(0,0,0,0), inset 0 2px 4px rgba(11,12,14,0.12);
}

/* Boutons — matière noble qui flotte (pas un plot de béton) */
.btn {
  --btn-face: var(--brique);
  --btn-edge: rgba(91, 34, 23, 0.28);
  --btn-ink: var(--chaux-chaude);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.92rem 1.35rem;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--btn-ink);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.22), transparent 46%),
    linear-gradient(180deg, var(--brique-vive), var(--brique));
  border: 1px solid var(--btn-edge);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transition:
    transform 280ms var(--ease-out),
    box-shadow 280ms var(--ease-out),
    background 280ms var(--ease-out),
    color 200ms var(--ease-out);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 10px 28px rgba(91, 34, 23, 0.18),
    0 2px 6px rgba(11, 12, 14, 0.06);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.18), transparent 70%);
  opacity: 0;
  transform: translateX(-30%);
  transition: opacity 320ms var(--ease-out), transform 420ms var(--ease-out);
  pointer-events: none;
}
.btn:hover {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 18px 36px rgba(91, 34, 23, 0.2),
    0 4px 10px rgba(11, 12, 14, 0.06);
}
.btn:hover::after {
  opacity: 1;
  transform: translateX(30%);
}
.btn:active {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 8px 18px rgba(91, 34, 23, 0.16);
}
.btn-primary {
  --btn-face: var(--brique);
  --btn-edge: rgba(91, 34, 23, 0.28);
  --btn-ink: var(--chaux-chaude);
}
.btn-phone {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.12), transparent 48%),
    linear-gradient(180deg, #2A2F36, var(--ipn));
  border-color: rgba(11, 12, 14, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 12px 30px rgba(11, 12, 14, 0.18),
    0 2px 6px rgba(11, 12, 14, 0.06);
}
.btn-phone:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 20px 40px rgba(11, 12, 14, 0.22),
    0 4px 10px rgba(11, 12, 14, 0.08);
}
.btn-ghost {
  background: rgba(244, 239, 230, 0.72);
  color: var(--ipn);
  border-color: rgba(58, 70, 84, 0.22);
  backdrop-filter: blur(8px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 10px 24px rgba(36, 44, 54, 0.08);
}
.btn-ghost:hover {
  background: rgba(244, 239, 230, 0.92);
  color: var(--brique-ombre);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 16px 32px rgba(36, 44, 54, 0.12);
}
.nav .nav-cta {
  border-radius: 999px;
  padding: 0.58rem 1rem;
  box-shadow: 0 8px 18px rgba(91, 34, 23, 0.14);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.nav .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(91, 34, 23, 0.18);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

/* Hero */
.hero {
  padding: clamp(2.6rem, 7vw, 5rem) 0 clamp(1.6rem, 4vw, 2.6rem);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: end;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pierre);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 3px;
  background: linear-gradient(90deg, var(--brique), var(--brique-vive));
  box-shadow: 0 0 12px rgba(176, 74, 50, 0.45);
}
.lede {
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  line-height: 1.5;
  color: var(--acier);
  max-width: 34rem;
  margin-bottom: 1.55rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  color: var(--chaux-chaude);
  padding: clamp(1.35rem, 3vw, 1.9rem);
  background:
    linear-gradient(155deg, rgba(58, 70, 84, 0.55), rgba(11, 12, 14, 0.88) 55%),
    url("/media/client-web/pierre/textured-close-up-of-a-blue-green-stone-2026-01-09-14-02-55.jpg");
  background-size: cover;
  background-position: center;
  border-top: 4px solid var(--brique-vive);
  box-shadow: var(--shadow-pierre);
  transform: translateZ(0);
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(36, 44, 54, 0.35);
}
.hero-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 9px;
  background:
    linear-gradient(
      to bottom,
      var(--brique-vive) 0 34%,
      var(--pierre-claire) 34% 68%,
      var(--acier-clair) 68% 100%
    );
}
.hero-card h2 {
  color: var(--chaux-chaude);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.95rem 0.65rem;
}
.hero-card ul { list-style: none; padding: 0 0 0 0.65rem; margin: 0; }
.hero-card li {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.55rem;
  padding: 0.62rem 0;
  border-top: 1px solid rgba(244, 239, 230, 0.14);
  font-size: 0.97rem;
}
.hero-card li strong {
  color: var(--brique-poudre);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Voix */
.voice {
  display: grid;
  grid-template-columns: 0.55rem 1fr;
  gap: 1.1rem 1.5rem;
  padding: 0.4rem 0 0.2rem;
}
.voice-mark {
  background:
    linear-gradient(180deg, var(--brique-vive), var(--pierre-claire) 55%, var(--ipn));
  box-shadow: 0 0 18px rgba(176, 74, 50, 0.25);
  align-self: stretch;
  min-height: 5rem;
}
.voice blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.28rem, 2.6vw, 1.75rem);
  line-height: 1.35;
  color: var(--ipn);
  max-width: 40rem;
}
.voice cite {
  display: block;
  margin-top: 0.95rem;
  font-family: var(--font);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pierre);
  font-weight: 700;
}

/* Sections */
.section { padding: clamp(2.3rem, 5.4vw, 4rem) 0; }
.section-muted {
  background:
    linear-gradient(0deg, rgba(36, 44, 54, 0.05), rgba(36, 44, 54, 0.05)),
    var(--chaux);
  border-block: 1px solid var(--joint);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.7rem;
}
.section-head p {
  max-width: 32rem;
  color: var(--acier);
  margin: 0;
  font-family: var(--serif);
}
.kicker {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brique);
  margin-bottom: 0.45rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 1.75rem);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.35rem);
}

/* Panneaux — surface, pas carte SaaS */
.panel {
  background: var(--chaux-chaude);
  border: 1px solid var(--joint);
  padding: 1.35rem 1.4rem;
  position: relative;
  box-shadow: 0 1px 0 rgba(255,255,255,0.55) inset;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.panel:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-pierre);
  border-color: rgba(58, 70, 84, 0.28);
}
.panel h3 { margin-bottom: 0.45rem; }
.panel p, .panel li { color: var(--acier); }
.panel-accent {
  border-top: 3px solid var(--brique-vive);
}
.panel-stone { border-top: 3px solid var(--pierre); }
.panel-media {
  min-height: 11rem;
  background-size: cover;
  background-position: center;
  color: var(--chaux-chaude);
  border: 0;
  overflow: hidden;
}
.panel-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,12,14,0.15), rgba(11,12,14,0.72));
}
.panel-media > * { position: relative; z-index: 1; }
.panel-media h3, .panel-media p { color: var(--chaux-chaude); }

.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--joint);
  display: flex;
  gap: 0.7rem;
  color: var(--acier);
}
.list-clean li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  flex: 0 0 auto;
  background: var(--brique-vive);
  box-shadow: 0 0 0 3px rgba(176, 74, 50, 0.12);
}

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex;
  padding: 0.5rem 0.85rem;
  background: var(--chaux-chaude);
  border: 1px solid var(--joint);
  font-size: 0.92rem;
  color: var(--pierre-foncee);
  text-decoration: none;
  transition: transform 160ms var(--ease-out), border-color 160ms var(--ease-out), color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.chip:hover {
  transform: translateY(-2px);
  color: var(--brique);
  border-color: rgba(176, 74, 50, 0.35);
  box-shadow: 0 8px 16px rgba(91, 34, 23, 0.12);
}
.chip strong { font-weight: 700; }

/* Process — barre d'IPN découpée */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--joint);
  background: var(--chaux-chaude);
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset;
}
.process article {
  padding: 1.25rem 1.15rem;
  border-right: 1px solid var(--joint);
  transition: background 200ms var(--ease-out);
}
.process article:last-child { border-right: 0; }
.process article:hover {
  background:
    linear-gradient(180deg, rgba(176, 74, 50, 0.05), transparent 60%),
    var(--chaux-chaude);
}
.process .step {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brique);
  margin-bottom: 0.45rem;
}
.process h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.process p { font-size: 0.95rem; color: var(--acier); margin: 0; }

/* Matières */
.materials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--joint);
  overflow: hidden;
}
.materials figure {
  margin: 0;
  padding: 0;
  border-right: 1px solid var(--joint);
  position: relative;
  min-height: 14rem;
  overflow: hidden;
  background: var(--ipn);
}
.materials figure:last-child { border-right: 0; }
.materials .mat-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 700ms var(--ease-out), filter 700ms var(--ease-out);
  filter: saturate(0.9) contrast(1.05);
}
.materials figure:hover .mat-bg {
  transform: scale(1.1);
  filter: saturate(1.05) contrast(1.08);
}
.materials .mat-body {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 14rem;
  padding: 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 20%, rgba(11, 12, 14, 0.78));
  color: var(--chaux-chaude);
}
.materials h3 {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: var(--chaux-chaude);
}
.materials p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(244, 239, 230, 0.86);
}

/* FAQ */
.faq details {
  background: var(--chaux-chaude);
  border: 1px solid var(--joint);
  border-top: 2px solid var(--pierre);
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.65rem;
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.faq details[open] {
  border-top-color: var(--brique-vive);
  box-shadow: var(--shadow-pierre);
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--ipn);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--brique);
  font-weight: 700;
  transition: transform 160ms var(--ease-out);
}
.faq details[open] summary::after {
  content: "-";
  transform: rotate(180deg);
}
.faq details p { margin-top: 0.7rem; color: var(--acier); }

/* Form */
.form { display: grid; gap: 0.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--ipn);
}
input, textarea, select {
  width: 100%;
  font: inherit;
  padding: 0.82rem 0.9rem;
  border: 1px solid var(--joint);
  background: var(--chaux-chaude);
  color: var(--ipn);
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
input:hover, textarea:hover, select:hover { border-color: rgba(58, 70, 84, 0.35); }
input:focus, textarea:focus, select:focus {
  border-color: var(--brique);
  box-shadow: 0 0 0 3px rgba(176, 74, 50, 0.15);
  outline: none;
}
textarea { min-height: 8rem; resize: vertical; }
.form-note { font-size: 0.9rem; color: var(--acier-clair); font-weight: 400; }
.contact-aside {
  background:
    linear-gradient(165deg, rgba(36, 44, 54, 0.88), rgba(11, 12, 14, 0.94)),
    url("/media/client-web/peinture/work-tool-and-equipment-for-building-paint-color-2026-03-26-.jpg");
  background-size: cover;
  color: var(--chaux-chaude);
  padding: 1.55rem;
  border-top: 4px solid var(--brique-vive);
  box-shadow: var(--shadow-acier);
}
.contact-aside h2, .contact-aside h3 { color: var(--chaux-chaude); }
.contact-aside a { color: var(--brique-poudre); }
.contact-aside p { color: rgba(244, 239, 230, 0.84); }
.contact-aside .big-phone {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--chaux-chaude);
  text-decoration: none;
  display: inline-block;
  margin: 0.4rem 0 1rem;
  transition: color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.contact-aside .big-phone:hover {
  color: var(--brique-poudre);
  transform: translateX(2px);
}

.page-hero { padding: clamp(2rem, 4.5vw, 3rem) 0 1.5rem; }
.page-hero .lede { margin-bottom: 0; }

/* Footer IPN */
.site-footer {
  background:
    linear-gradient(180deg, rgba(11,12,14,0.92), rgba(11,12,14,0.97)),
    url("/media/client-web/peinture/work-tool-and-equipment-for-building-paint-color-2026-03-26-.jpg");
  background-size: cover;
  background-position: center;
  color: rgba(244, 239, 230, 0.78);
  padding: 2.4rem 0 6.8rem;
  margin-top: 2rem;
  border-top: 4px solid var(--brique-vive);
}
.site-footer a { color: var(--brique-poudre); text-decoration: none; }
.site-footer a:hover { color: var(--chaux-chaude); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.site-footer h2 {
  color: var(--chaux-chaude);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.site-footer .wordmark { color: var(--chaux-chaude); margin-bottom: 0.6rem; display: inline-block; }
.site-footer .wordmark small { color: rgba(244, 239, 230, 0.5); }
.footer-meta {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  justify-content: space-between;
}

.sticky-phone {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 90;
  background:
    linear-gradient(165deg, rgba(255,255,255,0.18), transparent 48%),
    linear-gradient(180deg, var(--brique-vive), var(--brique));
  color: var(--chaux-chaude);
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(91, 34, 23, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 14px 32px rgba(91, 34, 23, 0.22);
  white-space: nowrap;
  max-width: calc(100% - 2rem);
}
.sticky-phone:hover {
  color: var(--chaux-chaude);
  transform: translateX(-50%) translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 18px 36px rgba(91, 34, 23, 0.26);
}

.muted { color: var(--acier); }
.tight { max-width: 42rem; }
.stack > * + * { margin-top: 0.85rem; }
.nap { font-style: normal; line-height: 1.55; }


/* ---------- Photos : âme du site ---------- */
.hero-grid {
  align-items: stretch;
}
.hero-photo {
  position: relative;
  min-height: min(62vh, 34rem);
  overflow: hidden;
  border: 1px solid rgba(36, 44, 54, 0.12);
  box-shadow: var(--shadow-float);
  background: var(--pierre-foncee);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: min(62vh, 34rem);
  transform: scale(1.03);
  transition: transform 1.1s var(--ease-out);
}
.hero-photo:hover img { transform: scale(1.07); }
.hero-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.1rem 1.15rem;
  background: linear-gradient(180deg, transparent, rgba(11, 12, 14, 0.78));
  color: var(--chaux-chaude);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  filter: none;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 12rem 12rem;
  gap: 0.65rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(36, 44, 54, 0.1);
  background: var(--pierre-foncee);
  box-shadow: 0 8px 22px rgba(36, 44, 54, 0.1);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}
.gallery-item:first-child {
  grid-row: 1 / span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 12rem;
  transition: transform 900ms var(--ease-out);
}
.gallery-item:first-child img { min-height: 100%; }
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.75rem 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(11, 12, 14, 0.72));
  color: rgba(244, 239, 230, 0.92);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
  filter: none;
}

.photo-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}
.photo-band .gallery-item { min-height: 11rem; }
.photo-band .gallery-item:first-child { grid-row: auto; }

.service-photo {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  border: 1px solid var(--joint);
  background: var(--chaux-chaude);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.5) inset;
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.service-photo + .service-photo { margin-top: 0.85rem; }
.service-photo:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
}
.service-photo .photo-tone {
  min-height: 14rem;
  overflow: hidden;
}
.service-photo .photo-tone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 14rem;
  transition: transform 900ms var(--ease-out);
}
.service-photo:hover .photo-tone img { transform: scale(1.05); }
.service-photo .copy {
  padding: 1.4rem 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-photo.reverse { direction: rtl; }
.service-photo.reverse > * { direction: ltr; }

.note-photo {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--acier-clair);
  font-style: italic;
}

@media (max-width: 900px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 16rem;
  }
  .photo-band { grid-template-columns: 1fr 1fr; }
  .service-photo,
  .service-photo.reverse { grid-template-columns: 1fr; direction: ltr; }
}

@media (max-width: 560px) {
  .photo-band { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-grid, .grid-2, .footer-grid, .form-row, .materials { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .process article:nth-child(2) { border-right: 0; }
  .process article:nth-child(1),
  .process article:nth-child(2) { border-bottom: 1px solid var(--joint); }
  .materials figure { border-right: 0; border-bottom: 1px solid var(--joint); min-height: 12rem; }
  .materials figure:last-child { border-bottom: 0; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0.4rem 0 0.9rem;
  }
  .nav.is-open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .sticky-phone { display: block; }
  body { background-attachment: scroll; }
}

@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .process article { border-right: 0; border-bottom: 1px solid var(--joint); }
  .process article:last-child { border-bottom: 0; }
  .hero-card li { grid-template-columns: 1fr; gap: 0.15rem; }
  .voice { grid-template-columns: 0.4rem 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .wall-strip::after { display: none; }
}


/* =========================================================
   Immersion (lecture émotionnelle de canvasui.dev, matières chantier)
   - média plein cadre vivant
   - panneaux verre / chaux flottants
   - révélation poussière
   - marquee matières
   - coins d'arpentage (repères d'atelier)
   ========================================================= */

.site-header {
  background: rgba(244, 239, 230, 0.55) !important;
  backdrop-blur: 18px;
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: rgba(11, 12, 14, 0.08);
}

/* Hero scène : plongée immédiate */
.stage-hero {
  position: relative;
  min-height: min(92vh, 54rem);
  display: grid;
  place-items: end stretch;
  overflow: hidden;
  isolation: isolate;
  margin: 0;
  border-bottom: 1px solid rgba(11, 12, 14, 0.12);
}
.stage-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.stage-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-filter);
  transform: scale(1.04);
  animation: stageDrift 28s ease-in-out infinite alternate;
}
@keyframes stageDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}
.stage-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(11, 12, 14, 0.72) 0%, rgba(11, 12, 14, 0.42) 42%, rgba(11, 12, 14, 0.18) 70%, rgba(36, 44, 54, 0.25) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(176, 74, 50, 0.12), transparent 50%);
  pointer-events: none;
}
.stage-hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2 * var(--px), var(--max));
  margin: 0 auto;
  padding: clamp(5.5rem, 12vh, 8rem) 0 clamp(2.2rem, 5vh, 3.5rem);
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: clamp(1.2rem, 4vw, 2.5rem);
  align-items: end;
}
.stage-hero .eyebrow {
  color: rgba(244, 239, 230, 0.72);
}
.stage-hero .eyebrow::before {
  background: linear-gradient(90deg, var(--brique-vive), rgba(244, 239, 230, 0.5));
  box-shadow: 0 0 16px rgba(176, 74, 50, 0.55);
}
.stage-hero h1 {
  color: var(--chaux-chaude);
  max-width: 13ch;
  text-shadow: 0 2px 28px rgba(11, 12, 14, 0.35);
}
.stage-hero .lede {
  color: rgba(244, 239, 230, 0.82);
  max-width: 34rem;
}
.stage-hero .muted { color: rgba(244, 239, 230, 0.58); }

/* Verre / chaux flottant (lecture Canvas glass cards) */
.glass {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(244, 239, 230, 0.14);
  background: rgba(11, 12, 14, 0.28);
  color: var(--chaux-chaude);
  box-shadow: 0 20px 50px rgba(11, 12, 14, 0.28);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  padding: 1.25rem 1.3rem;
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(145deg, rgba(244, 239, 230, 0.1), transparent 42%),
    linear-gradient(180deg, transparent, rgba(11, 12, 14, 0.15));
  pointer-events: none;
}
.glass h2 {
  color: var(--chaux-chaude);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.glass ul { list-style: none; margin: 0; padding: 0; }
.glass li {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.5rem;
  padding: 0.55rem 0;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
  font-size: 0.95rem;
}
.glass li strong {
  color: var(--brique-poudre);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Coins d'arpentage (repères Canvas UI → atelier) */
.frame {
  position: relative;
}
.frame::before,
.frame::after,
.frame .frame-br,
.frame .frame-bl {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(var(--ipn), var(--ipn)) center / 100% 1px no-repeat,
    linear-gradient(var(--ipn), var(--ipn)) center / 1px 100% no-repeat;
  opacity: 0.35;
}
.frame::before { top: -5px; left: -5px; }
.frame::after { top: -5px; right: -5px; }
.frame-bl { bottom: -5px; left: -5px; }
.frame-br { bottom: -5px; right: -5px; }
.section.frame {
  border-top: 1px solid rgba(11, 12, 14, 0.1);
}

/* Entrées */
[data-enter] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  filter: blur(4px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out),
    filter 700ms var(--ease-out);
  transition-delay: calc(var(--enter-i, 0) * 70ms);
}
[data-enter].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Marquee matières — le site "vit" même au repos */
.marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee.is-paused { animation-play-state: paused; }
.marquee--reverse { animation-direction: reverse; animation-duration: 56s; }
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.marquee .gallery-item {
  width: min(72vw, 18rem);
  height: 12.5rem;
  flex: 0 0 auto;
}
.marquee .gallery-item img {
  min-height: 12.5rem;
}

/* Dust host */
[data-dust] {
  position: relative;
  overflow: hidden;
}
.dust-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
  mix-blend-mode: screen;
  opacity: 0.9;
}

/* Voice over glass strip */
.voice-stage {
  position: relative;
  overflow: hidden;
  min-height: 16rem;
  display: grid;
  place-items: center;
  border-block: 1px solid rgba(11, 12, 14, 0.1);
}
.voice-stage__bg {
  position: absolute;
  inset: 0;
}
.voice-stage__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-filter);
  opacity: 0.9;
}
.voice-stage__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,12,14,0.78), rgba(11,12,14,0.45) 55%, rgba(36,44,54,0.35));
}
.voice-stage .voice {
  position: relative;
  z-index: 2;
  width: min(100% - 2 * var(--px), 48rem);
  margin: 0 auto;
  padding: 2.5rem 0;
}
.voice-stage blockquote { color: var(--chaux-chaude); }
.voice-stage cite { color: rgba(244, 239, 230, 0.62); }
.voice-stage .voice-mark {
  background: linear-gradient(180deg, var(--brique-vive), rgba(244,239,230,0.55));
  box-shadow: 0 0 22px rgba(176, 74, 50, 0.35);
}

/* Stats glass row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.stat {
  border: 1px solid rgba(244, 239, 230, 0.12);
  background: rgba(11, 12, 14, 0.22);
  backdrop-filter: blur(12px);
  padding: 0.9rem 1rem;
}
.stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.03em;
  color: var(--chaux-chaude);
}
.stat span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.58);
  font-weight: 600;
}

@media (max-width: 900px) {
  .stage-hero__content {
    grid-template-columns: 1fr;
    padding-top: 5.5rem;
  }
  .stage-hero { min-height: min(88vh, 48rem); }
  .stat-row { grid-template-columns: 1fr; }
  .marquee .gallery-item { width: 70vw; height: 11rem; }
}

@media (prefers-reduced-motion: reduce) {
  .stage-hero__media img { animation: none; }
  .marquee { animation: none; }
  [data-enter] {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.gallery-4 {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
}
.gallery-4 .gallery-item:first-child { grid-row: auto; }
.gallery-4 .gallery-item img { min-height: 14rem; }
.materials-4 { grid-template-columns: repeat(4, 1fr); }
.materials-4 figure { min-height: 13rem; }
.materials-4 .mat-body { min-height: 13rem; }
.granges-ref .lede strong { color: var(--brique); font-weight: 700; }
@media (max-width: 900px) {
  .gallery-4 { grid-template-columns: 1fr 1fr; }
  .materials-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .gallery-4, .materials-4 { grid-template-columns: 1fr; }
}

/* Marquee sans légendes */
.marquee-only .gallery-item figcaption { display: none; }
.marquee .gallery-item figcaption { display: none; }

/* Granges : photo gauche, texte droite */
.granges-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: center;
}
.granges-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(36, 44, 54, 0.12);
  box-shadow: var(--shadow-float);
  min-height: 16rem;
}
.granges-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 18rem;
  display: block;
  filter: var(--photo-filter);
}
.granges-copy .lede {
  margin: 0;
  max-width: 36rem;
  color: var(--acier);
}
@media (max-width: 900px) {
  .granges-split { grid-template-columns: 1fr; }
}
