/* ==================================================================
   KLM Sablage & peinture — feuille de style
   Style « C » : sections sombres façon acier qui alternent avec des
   sections kraft (l'esprit du logo), accent orange.
   ================================================================== */

:root {
  /* Couleurs */
  --ink: #2A2522;          /* sections sombres */
  --ink-2: #1F1B19;        /* footer */
  --ink-3: #352F2B;        /* cartes sur fond sombre */
  --ink-line: #4A403A;
  --kraft: #EFE3CC;        /* fond kraft */
  --kraft-light: #F6EEDF;  /* kraft plus clair */
  --kraft-card: #FBF5EA;
  --kraft-line: #D8C4A0;
  --brown: #3B2416;        /* texte sur kraft */
  --brown-2: #5C3E2A;
  --cream: #EFE3CC;        /* texte sur sombre */
  --cream-muted: #B9AA95;
  --accent: #D9703A;       /* orange */
  --accent-dark: #B5561F;
  --accent-light: #EC8A52;
  --open: #4CB861;
  --soon: #F0A23A;
  --closed: #E0574B;

  /* Polices */
  --f-display: 'Alfa Slab One', Georgia, serif;
  --f-label: 'Oswald', 'Arial Narrow', sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Mise en page */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --radius: 8px;
  --ease: cubic-bezier(.22, .8, .24, 1);

  /* Grain de métal sablé (texture) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Bases ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--brown);
  background: var(--kraft);
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
svg use { pointer-events: none; }

/* ---------- Petits éléments ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 14px;
  font-family: var(--f-label); font-weight: 500; font-size: .82rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-dark);
}
.eyebrow::before {
  content: ""; width: 30px; height: 2px; flex: none;
  background: radial-gradient(circle, currentColor 1px, transparent 1.4px) 0 0 / 5px 2px, linear-gradient(90deg, currentColor 40%, transparent 40%);
}
.eyebrow--light { color: var(--accent-light); }

.title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.08;
  color: var(--brown);
  margin-bottom: 20px;
}
.title span { color: var(--accent-dark); }
.title--light { color: var(--cream); }
.title--light span { color: var(--accent); }
.title--xl { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border: 2px solid transparent; border-radius: 6px;
  font-family: var(--f-label); font-weight: 500; font-size: 1rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--ink); box-shadow: 0 10px 26px -10px rgba(217, 112, 58, .7); }
.btn--accent:hover { background: var(--accent-light); }
.btn--ghost { border-color: rgba(239, 227, 204, .45); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(239, 227, 204, .08); }
.btn--ghost-dark { border-color: var(--ink-line); color: var(--cream); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--lg { padding: 18px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.ticks { display: grid; gap: 10px; margin: 6px 0 26px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--accent-dark); }
.ticks--light { color: var(--cream); }
.ticks--light svg { color: var(--accent); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-label); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: .92rem;
  color: var(--accent-dark); text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 4px;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: var(--accent); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section--kraft { background: var(--kraft); }
.section--kraft-light { background: var(--kraft-light); }
.section--dark { background: var(--ink); color: var(--cream-muted); }
.section--dark::before, .hero::after, .cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: .07; mix-blend-mode: overlay;
}
.section > .container { position: relative; }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head__lead { font-size: 1.08rem; color: var(--brown-2); }

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  color: var(--cream);
  transition: background-color .35s, box-shadow .35s, height .35s;
}
.header.is-scrolled { background: rgba(31, 27, 25, .94); box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .6); }
@supports (backdrop-filter: blur(8px)) {
  .header.is-scrolled { background: rgba(31, 27, 25, .82); backdrop-filter: blur(10px); }
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand__logo { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(239, 227, 204, .2); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: .02em; }
.brand__sub { font-family: var(--f-label); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-muted); margin-top: 4px; }

.nav { display: none; gap: 30px; }
.nav a {
  position: relative; text-decoration: none;
  font-family: var(--f-label); font-size: .95rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cream); opacity: .85; padding: 6px 0;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__phone { display: none; align-items: center; gap: 8px; text-decoration: none; font-family: var(--f-label); font-size: 1.05rem; letter-spacing: .05em; }
.header__phone svg { width: 20px; height: 20px; color: var(--accent); }
.header__cta { display: none; }

.burger {
  width: 46px; height: 46px; display: grid; place-content: center; gap: 6px;
  background: rgba(239, 227, 204, .08); border: 1px solid rgba(239, 227, 204, .2); border-radius: 6px; cursor: pointer;
}
.burger span { width: 22px; height: 2px; background: var(--cream); border-radius: 2px; }
.burger span:nth-child(2) { width: 16px; justify-self: end; }

@media (min-width: 560px) { .header__cta { display: inline-flex; } }
@media (min-width: 1100px) {
  .nav { display: flex; }
  .burger { display: none; }
}
@media (min-width: 1240px) { .header__phone { display: inline-flex; } }

/* ---------- Menu mobile ---------- */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(15, 12, 10, .6);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
  width: min(86vw, 360px);
  display: flex; flex-direction: column;
  background: var(--ink); color: var(--cream);
  transform: translateX(100%); transition: transform .45s var(--ease);
  box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .6);
  overflow-y: auto;
}
.drawer::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .06; pointer-events: none; }
.drawer.is-open { transform: none; }
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--ink-line); }
.drawer__top .brand__logo { width: 40px; height: 40px; }
.drawer__close { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--ink-line); border-radius: 6px; cursor: pointer; }
.drawer__close svg { width: 22px; height: 22px; }
.drawer__nav { display: flex; flex-direction: column; padding: 14px 20px; flex: 1; }
.drawer__nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 4px; border-bottom: 1px solid rgba(74, 64, 58, .6);
  font-family: var(--f-label); font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.drawer__nav a::after { content: "→"; color: var(--accent); font-family: var(--f-body); }
.drawer__bottom { display: grid; gap: 10px; padding: 20px; border-top: 1px solid var(--ink-line); }

/* ---------- Barre de progression : bande rouillée décapée ---------- */
.blast-bar, .blast-bar__grains { display: none; }
@media (min-width: 1024px) and (hover: hover) {
  .blast-bar {
    display: block; position: fixed; z-index: 40;
    left: 16px; top: 19vh;
    width: 10px; height: 62vh;
    --p: 0%;
  }
  .blast-bar__grains {
    display: block; position: fixed; z-index: 39;
    left: 0; top: 0; width: 160px; height: 100vh; pointer-events: none;
  }
}
.blast-bar__rust, .blast-bar__steel { position: absolute; left: 0; right: 0; border-radius: 5px; }
.blast-bar__rust {
  inset: 0;
  background:
    radial-gradient(circle at 30% 12%, #c4713a 0 1.5px, transparent 2px) 0 0 / 7px 9px,
    radial-gradient(circle at 70% 60%, #5a2710 0 1.2px, transparent 1.8px) 0 0 / 6px 11px,
    linear-gradient(180deg, #8e3f17, #a8521f 20%, #6f3013 38%, #b3602b 55%, #7a3614 72%, #9b4a1d 88%, #6a2c11);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35), 0 0 0 3px rgba(42, 37, 34, .35);
}
.blast-bar__rust::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: var(--grain); background-size: 80px; opacity: .55; mix-blend-mode: multiply; }
.blast-bar__steel {
  top: 0; height: var(--p);
  background: linear-gradient(90deg, #6d747b, #c9ced3 35%, #f3f5f6 50%, #aab1b8 68%, #70777e);
  border-radius: 5px 5px 2px 2px;
  overflow: hidden;
}
.blast-bar__steel::before {
  content: ""; position: absolute; left: 0; right: 0; height: 60px; top: -60px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .85), transparent);
  animation: steel-sheen 3.2s linear infinite;
}
.blast-bar__steel::after {
  /* bord grainé là où le sable attaque la rouille */
  content: ""; position: absolute; left: -2px; right: -2px; bottom: -3px; height: 6px;
  background: radial-gradient(circle, #d3d7db 0 1px, transparent 1.4px) 0 0 / 3px 3px;
}
@keyframes steel-sheen { to { top: 100%; } }
/* Buse de sablage : elle suit la limite rouille / acier et vise la barre */
.blast-bar__nozzle {
  position: absolute; left: 27px; top: var(--p);
  width: 30px; height: 9px; margin-top: -4.5px;
  background: linear-gradient(180deg, #5a514a, #2a2522 70%);
  border-radius: 2px 5px 5px 2px;
  transform: rotate(-22deg); transform-origin: 0 50%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .4);
}
/* embout orange */
.blast-bar__nozzle::before {
  content: ""; position: absolute; left: -5px; top: 1px; width: 6px; height: 7px;
  background: linear-gradient(180deg, #e8874f, var(--accent) 60%, #a9501f); border-radius: 2px 1px 1px 2px;
}
/* départ du tuyau */
.blast-bar__nozzle::after {
  content: ""; position: absolute; left: 28px; top: 1.5px; width: 14px; height: 6px;
  background: #1b1715; border-radius: 0 3px 3px 0;
}
/* Jet de sable entre la buse et la barre, visible seulement pendant le scroll */
.blast-bar__spray {
  position: absolute; left: 10px; top: var(--p);
  width: 13px; height: 18px; margin-top: -9px;
  clip-path: polygon(0 0, 100% 42%, 100% 58%, 0 100%);
  background:
    radial-gradient(circle, #f1e4c6 0 .8px, transparent 1.2px) 0 0 / 3px 3px,
    linear-gradient(90deg, rgba(230, 214, 179, .9), rgba(230, 214, 179, .25));
  opacity: 0; transition: opacity .25s;
  animation: spray-flow .25s linear infinite;
}
.blast-bar.is-blasting .blast-bar__spray { opacity: 1; transition-duration: .08s; }
@keyframes spray-flow { to { background-position: -3px 1px, 0 0; } }
@media (prefers-reduced-motion: reduce) { .blast-bar__spray { display: none; } }

/* ---------- Héros ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: max(640px, 100svh);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 clamp(110px, 14vw, 170px);
  background: var(--ink); color: var(--cream);
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; z-index: -2; filter: saturate(.55) contrast(1.05); transform: scale(1.06); }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(31, 27, 25, .96) 0%, rgba(31, 27, 25, .86) 42%, rgba(31, 27, 25, .45) 100%),
    linear-gradient(180deg, rgba(31, 27, 25, .5) 0%, transparent 30%, rgba(31, 27, 25, .55) 100%);
}
.hero::after { z-index: -1; opacity: .1; }
.hero__inner { position: relative; }
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(2.7rem, 7.4vw, 5.6rem);
  line-height: 1.02;
  margin-bottom: 26px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
.hero__title span { color: var(--accent); }
.hero__lead { max-width: 560px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #D8CBB6; margin-bottom: 34px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--f-label); letter-spacing: .08em; text-transform: uppercase; font-size: .88rem; color: var(--cream); }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; color: var(--accent); }

.divider { position: absolute; left: 0; width: 100%; pointer-events: none; }
.divider--diag { bottom: -1px; height: clamp(48px, 8vw, 120px); z-index: 1; }
.divider--grain { top: -59px; height: 60px; }

/* ---------- Savoir-faire (carrousel sur mobile et tablette) ---------- */
.skills { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.skill {
  position: relative; overflow: hidden;
  padding: 28px 26px 30px;
  background: var(--kraft-card);
  border: 1.5px solid var(--kraft-line);
  border-radius: 18px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.skill::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle, rgba(59, 36, 22, .07) 1px, transparent 1.4px) 0 0 / 14px 14px;
}
.skill__top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.skill__num {
  font-family: var(--f-display); font-size: 3.4rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent);
  transition: color .35s;
}
.skill__icon {
  width: 60px; height: 60px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--kraft-card);
  box-shadow: 0 10px 22px -10px rgba(181, 86, 31, .8);
}
.skill__icon svg { width: 34px; height: 34px; }
.skill h3, .skill p { position: relative; z-index: 1; }
.skill h3 { font-family: var(--f-label); font-weight: 600; font-size: 1.35rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; line-height: 1.2; }
.skill p { margin: 0; font-size: .98rem; color: var(--brown-2); }
.skill.is-active, .skill:hover { border-color: var(--accent); }
.skill.is-active .skill__num, .skill:hover .skill__num { color: var(--accent); }
@media (hover: hover) { .skill:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(59, 36, 22, .45); } }

.carousel-dots { display: none; }
.carousel-dots { justify-content: center; gap: 10px; margin-top: 24px; }
.carousel-dots button {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px;
  background: var(--kraft-line); cursor: pointer;
  transition: width .35s var(--ease), background-color .35s;
}
.carousel-dots button.is-active { width: 34px; background: var(--accent); }


@media (max-width: 1079px) {
  .skills {
    display: flex; gap: 16px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
    margin: 0 calc(-1 * var(--gutter)); padding: 6px var(--gutter) 10px;
    scrollbar-width: none;
  }
  .skills::-webkit-scrollbar { display: none; }
  .skill { flex: 0 0 min(80%, 380px); scroll-snap-align: start; }
  .skills + .carousel-dots { display: flex; }
  .js .skills [data-reveal] { transform: none; }
}
@media (min-width: 640px) and (max-width: 1079px) { .skill { flex-basis: calc(50% - 8px); } }

/* ---------- Peinture : le silo ---------- */
.paint { overflow: hidden; }
.paint__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .paint__grid { grid-template-columns: .85fr 1.15fr; gap: 56px; } }
.paint__text p { font-size: 1.05rem; }

.silo { position: relative; }
.silo__stage {
  position: relative;
  padding: clamp(28px, 5vw, 56px) clamp(8px, 3vw, 36px) clamp(40px, 6vw, 64px);
  border-radius: 14px;
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(239, 227, 204, .09), transparent 70%),
    linear-gradient(180deg, #2f2926, #252120);
  border: 1px solid var(--ink-line);
}
.silo__stage::after {
  /* ombre au sol */
  content: ""; position: absolute; left: 18%; right: 18%; bottom: clamp(22px, 4vw, 40px); height: 22px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .55), transparent 70%);
  filter: blur(4px); z-index: 0;
}
.silo__box { position: relative; z-index: 1; aspect-ratio: 960 / 412; touch-action: none; animation: silo-float 6s ease-in-out infinite; }
.silo__box img, .silo__paint { position: absolute; inset: 0; width: 100%; height: 100%; }
.silo__static { opacity: 0; }
.silo--ready .silo__base { opacity: 0; }
.silo--static .silo__static { opacity: 1; }
.silo--static .silo__paint, .silo--static .silo__gun, .silo--static .silo__fx, .silo--static .silo__meter, .silo--static .silo__reset, .silo--static .silo__hint { display: none; }
.silo__fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.silo__gun {
  position: absolute; left: 0; top: 0; z-index: 3;
  width: 64px; height: 64px;
  pointer-events: none; opacity: 0;
  transition: opacity .25s;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .45));
  will-change: transform;
}
.silo.is-spraying .silo__gun { opacity: 1; }
.silo.is-spraying .silo__box { cursor: none; }
@keyframes silo-float { 50% { transform: translateY(-6px); } }

.silo__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 16px; }
.silo--auto .silo__hint, .silo--auto .silo__reset { display: none; }
.silo--auto .silo__box { touch-action: auto; }
.silo--auto .silo__bar { justify-content: center; }
.silo__hint { display: flex; align-items: center; gap: 10px; margin: 0; flex: 1 1 220px; font-family: var(--f-label); letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; color: var(--cream); }
.silo__hint svg { width: 30px; height: 30px; flex: none; animation: gun-nudge 1.8s ease-in-out infinite; }
@keyframes gun-nudge { 50% { transform: translateX(5px) rotate(-6deg); } }
.silo__meter { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--f-label); font-size: .9rem; letter-spacing: .06em; color: var(--cream); }
.silo__meter-track { width: 110px; height: 6px; border-radius: 3px; background: var(--ink-3); overflow: hidden; }
.silo__meter-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7a3a1a, var(--accent)); transition: width .3s; }
.silo__meter-text { min-width: 3.4em; }
.silo__reset {
  padding: 8px 14px; border-radius: 6px; cursor: pointer;
  background: transparent; border: 1px solid var(--ink-line); color: var(--cream-muted);
  font-family: var(--f-label); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  transition: border-color .25s, color .25s;
}
.silo__reset:hover { border-color: var(--cream-muted); color: var(--cream); }

/* ---------- Sections « réalisations » ---------- */
.feature__grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) {
  .feature__grid { grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 88px); }
  .feature--reverse .feature__media { order: 2; }
}
.feature__text > p { font-size: 1.05rem; }
.section--dark .feature__text > p { color: var(--cream-muted); }
.feature__media { position: relative; margin: 0; }
.feature__media > img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 5; max-height: 640px; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
figure.feature__media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 2px solid var(--accent); border-radius: var(--radius); opacity: .7;
}
@media (max-width: 600px) { figure.feature__media::before { inset: 12px -10px -12px 10px; } }
.feature__media figcaption {
  position: absolute; z-index: 2; left: 18px; bottom: 18px;
  padding: 8px 14px; border-radius: 4px;
  background: rgba(31, 27, 25, .85); color: var(--cream);
  font-family: var(--f-label); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
}
.feature__note { margin: 14px 0 0; text-align: center; font-family: var(--f-label); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brown-2); }

/* Avant / après */
.compare {
  position: relative; overflow: hidden;
  aspect-ratio: 800 / 780;
  border-radius: 12px;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, #fffaf1, #efe3cc);
  border: 1px solid var(--kraft-line);
  box-shadow: 0 30px 60px -34px rgba(59, 36, 22, .5);
  user-select: none;
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 6%; box-sizing: border-box; object-fit: contain; pointer-events: none; }
.compare { --cut: clamp(30px, var(--pos), calc(100% - 30px)); }
.compare__before { clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
.compare__after { clip-path: inset(0 0 0 var(--cut)); }
.compare__tag {
  position: absolute; top: 16px; z-index: 3; pointer-events: none;
  padding: 6px 12px; border-radius: 4px;
  font-family: var(--f-label); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
}
.compare__tag--before { left: 16px; background: var(--brown); color: var(--cream); }
.compare__tag--after { right: 16px; background: var(--accent); color: var(--ink); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--cut); width: 3px; margin-left: -1.5px; background: var(--brown); z-index: 2; pointer-events: none; }
.compare__knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brown); color: var(--cream);
  box-shadow: 0 0 0 5px rgba(239, 227, 204, .7), 0 8px 18px rgba(0, 0, 0, .3);
}
.compare__knob svg { width: 24px; height: 24px; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; touch-action: pan-y; }
.compare__range:focus-visible + * , .compare:focus-within .compare__knob { box-shadow: 0 0 0 5px var(--accent), 0 8px 18px rgba(0, 0, 0, .3); }

/* ---------- Méthode (carrousel sur mobile et tablette) ---------- */
.steps { display: grid; gap: 28px; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps::before { content: ""; position: absolute; top: 30px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--kraft-line) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__num {
  position: relative; display: grid; place-items: center;
  width: 62px; height: 62px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--ink); color: var(--accent);
  font-family: var(--f-display); font-size: 1.6rem;
  box-shadow: 0 0 0 6px var(--kraft), 0 0 0 7px var(--kraft-line);
  transition: background-color .35s, color .35s;
}
.step h3 { font-family: var(--f-label); font-weight: 600; font-size: 1.15rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 8px; }
.step p { margin: 0 auto; max-width: 260px; color: var(--brown-2); font-size: .96rem; }

@media (max-width: 999px) {
  .steps {
    display: flex; gap: 16px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
    margin: 0 calc(-1 * var(--gutter)); padding: 6px var(--gutter) 10px;
    scrollbar-width: none;
  }
  .steps::-webkit-scrollbar { display: none; }
  .steps::before { display: none; }
  .step {
    flex: 0 0 min(80%, 380px); scroll-snap-align: start;
    padding: 32px 24px 30px;
    background: var(--kraft-card); border: 1.5px solid var(--kraft-line); border-radius: 18px;
    transition: border-color .35s;
  }
  .step__num { box-shadow: 0 0 0 6px var(--kraft-card), 0 0 0 7px var(--kraft-line); }
  .step.is-active { border-color: var(--accent); }
  .step.is-active .step__num { background: var(--accent); color: var(--ink); }
  .steps + .carousel-dots { display: flex; }
  .js .steps [data-reveal] { transform: none; }
}
@media (min-width: 640px) and (max-width: 999px) { .step { flex-basis: calc(50% - 8px); } }

/* Carrousels pilotés au scroll vertical (mobile et tablette) :
   la section reste fixée à l'écran et les cartes défilent une à une */
.section.is-pinned { height: calc(100svh + var(--pin-n, 3) * 55svh); padding: 0; }
.section.is-pinned > .container {
  position: sticky; top: var(--pin-top, var(--header-h));
  min-height: calc(100svh - var(--pin-top, var(--header-h)));
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 24px;
}

/* ---------- L'atelier ---------- */
.about__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .about__grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } }
.about__logo { position: relative; width: 100%; max-width: 400px; margin: 0 auto; text-align: center; }
.about__logo img { width: 100%; border-radius: 50%; transform: rotate(-4deg); filter: drop-shadow(0 30px 40px rgba(59, 36, 22, .35)); transition: transform .6s var(--ease); }
.about__logo:hover img { transform: rotate(0deg) scale(1.02); }
.about__stamp {
  display: inline-block; margin: -26px 0 0; position: relative;
  padding: 8px 22px; background: var(--brown); color: var(--cream);
  font-family: var(--f-display); font-size: 1.5rem; letter-spacing: .06em;
  border-radius: 4px; transform: rotate(-4deg);
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5);
}
.about__text > p { font-size: 1.05rem; color: var(--brown-2); }
.about__facts {
  display: grid; margin: 26px 0 30px; max-width: 520px;
  background: var(--kraft-card); border: 1px solid var(--kraft-line); border-radius: 16px; overflow: hidden;
}
.about__facts li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.about__facts li + li { border-top: 1px solid var(--kraft-line); }
.about__icon { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--kraft-card); }
.about__icon svg { width: 21px; height: 21px; }
.about__facts strong { display: block; font-family: var(--f-label); font-weight: 600; font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; line-height: 1.2; }
.about__facts small { display: block; font-size: .9rem; color: var(--brown-2); line-height: 1.4; margin-top: 2px; }

/* ---------- Zone d'intervention ---------- */
.zone { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(90px, 10vw, 120px); }
.zone__grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 980px) { .zone__grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; } }
.zone__lead { font-size: 1.05rem; color: var(--brown-2); max-width: 520px; margin-bottom: 22px; }
.zone__lead strong { color: var(--brown); }

.hours {
  position: relative; overflow: hidden;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 18px;
  background: var(--ink); color: var(--cream);
  box-shadow: 0 30px 60px -30px rgba(31, 27, 25, .7);
}
.hours::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .06; pointer-events: none; }
.hours__head { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.hours__head h3 { font-family: var(--f-display); font-size: clamp(1.5rem, 2.4vw, 1.85rem); color: var(--accent); line-height: 1; }
.hours__list { position: relative; display: grid; gap: 6px; }
.hours__list li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 11px 16px; border-radius: 10px;
  border-bottom: 1px solid var(--ink-line);
  font-size: 1rem;
}
.hours__list li.is-today { background: var(--ink-3); border-left: 4px solid var(--accent); border-bottom-color: transparent; }
.hours__day { display: flex; flex-direction: column; font-weight: 500; }
.hours__today { display: none; font-size: .88rem; font-weight: 400; color: var(--accent-light); }
.is-today .hours__today { display: block; }
.hours__time { font-family: var(--f-label); font-size: 1.1rem; letter-spacing: .04em; white-space: nowrap; }
.hours__time--closed { color: var(--cream-muted); }
li:not(.is-today) .hours__day { color: var(--cream-muted); font-weight: 400; }

.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(239, 227, 204, .08); border: 1px solid rgba(239, 227, 204, .12);
  font-size: .95rem; font-weight: 500; color: var(--cream);
  --c: var(--cream-muted);
}
@media (max-width: 420px) { .status { font-size: .84rem; padding: 7px 13px; } }
.status[data-state="open"] { --c: var(--open); }
.status[data-state="soon"] { --c: var(--soon); }
.status[data-state="closed"] { --c: var(--closed); }
.status__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.status__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--c); animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(2.6); opacity: 0; } }

.zone__note { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 0; font-size: .95rem; color: var(--brown-2); }
.zone__note svg { width: 22px; height: 22px; flex: none; color: var(--accent-dark); margin-top: 2px; }
.zone__note a { color: var(--accent-dark); font-weight: 600; }

.map {
  position: relative; overflow: hidden;
  min-height: 300px; height: 100%;
  border-radius: 18px;
  border: 6px solid var(--kraft-card);
  box-shadow: 0 30px 60px -30px rgba(59, 36, 22, .55), 0 0 0 1px var(--kraft-line);
  background: #d9d2c4;
}
@media (min-width: 980px) { .map { min-height: 0; } }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: sepia(.18) saturate(.9); }
.map__card {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  display: flex; flex-direction: column; gap: 2px;
  max-width: calc(100% - 28px);
  padding: 14px 18px; border-radius: 10px;
  background: var(--kraft-card); color: var(--brown);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .35);
  font-size: .9rem; line-height: 1.4;
}
.map__card strong { font-family: var(--f-label); font-weight: 600; font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; }
.map__card span { color: var(--brown-2); }
.map__btn {
  position: absolute; right: 14px; bottom: 26px; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--cream); text-decoration: none;
  font-family: var(--f-label); letter-spacing: .08em; text-transform: uppercase; font-size: .9rem;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
  transition: transform .25s var(--ease), background-color .25s;
}
.map__btn svg { width: 18px; height: 18px; color: var(--accent); }
.map__btn:hover { transform: translateY(-2px); background: var(--brown); }

/* ---------- Appel final ---------- */
.cta {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0 clamp(80px, 10vw, 120px);
  background:
    radial-gradient(ellipse 50% 70% at 50% 40%, rgba(217, 112, 58, .14), transparent 70%),
    var(--ink);
  color: var(--cream);
  text-align: center;
}
.cta { overflow-x: hidden; overflow-x: clip; }
@supports not (overflow: clip) { .cta { overflow: visible; } .cta__mark { right: 0; } }
.cta::before { opacity: .12; }
.cta .divider--grain { width: 100%; }
.cta__mark { position: absolute; right: clamp(-60px, -2vw, 0px); bottom: -30px; width: clamp(200px, 26vw, 340px); opacity: .07; filter: grayscale(1) brightness(1.6); transform: rotate(-10deg); pointer-events: none; }
.cta__inner { position: relative; }
.cta__title { font-family: var(--f-display); font-size: clamp(2.1rem, 5.4vw, 4rem); line-height: 1.05; margin-bottom: 18px; }
.cta__lead { font-size: clamp(1.05rem, 1.7vw, 1.2rem); color: #D8CBB6; margin-bottom: 34px; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta__small { margin: 26px 0 0; font-size: .92rem; color: var(--cream-muted); }

/* ---------- Footer ---------- */
.footer { background: var(--ink-2); color: var(--cream-muted); padding: 64px 0 0; font-size: .95rem; border-top: 1px solid #2c2623; }
.footer__grid { display: grid; gap: 36px 24px; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.footer__brand p { max-width: 420px; margin: 0 0 18px; }
.brand--footer .brand__logo { width: 52px; height: 52px; }
.footer__line { display: block; width: 36px; height: 3px; background: var(--accent); border-radius: 2px; margin: 12px 0 18px; }
.footer__line--brand { margin: 16px auto 16px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ink-line); color: var(--cream); transition: background-color .25s, border-color .25s, color .25s; }
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h3 { font-family: var(--f-label); font-weight: 600; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); margin: 0; }
.footer__col ul { display: grid; gap: 12px; }
.footer__col li, .footer__col a { display: flex; gap: 10px; align-items: flex-start; text-decoration: none; transition: color .25s; }
.footer__col a:hover { color: var(--cream); }
.footer__col svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 3px; }
.footer__contact span { overflow-wrap: normal; }
.footer__bottom { margin-top: 44px; padding: 22px 0 26px; border-top: 1px solid #332c28; text-align: center; font-size: .85rem; }
.footer__bottom p { margin: 0; }

@media (max-width: 420px) {
  .footer__col { font-size: .86rem; }
  .footer__col svg { width: 16px; height: 16px; }
}
@media (min-width: 860px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
  .footer__brand { grid-column: auto; text-align: left; align-items: flex-start; }
  .footer__line--brand { margin: 16px 0; }
}

/* ---------- Animations au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (max-width: 700px) {
  .js [data-reveal], .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(16px); transition-duration: .6s; }
}
.hero__bg { animation: hero-zoom 14s var(--ease) both; }
@keyframes hero-zoom { from { transform: scale(1.14); } to { transform: scale(1.04); } }

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