@charset "UTF-8";
/* ==========================================================================
   L'Atelier de Carine — Bois & Design
   Système de design : "Clair & naturel"
   Palette échantillonnée sur les réalisations et le logo de l'atelier.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  /* Couleurs de marque */
  --ink:        #0E1B22;   /* logo — encre / texte principal */
  --ink-80:     #29383F;
  --ink-60:     #55646A;
  --ink-40:     #68727A;   /* 4,6:1 sur craie */

  --chalk:      #FAF7F2;   /* fond principal */
  --chalk-2:    #F2EDE5;   /* fond alterné */
  --lin:        #E6DED2;   /* surfaces, bordures douces */
  --line:       #DCD3C6;

  --oak:        #8A5C31;   /* accent chaud — chêne (texte, boutons) : 5,4:1 sur craie */
  --oak-line:   #B9834F;   /* même chêne en plus clair — filets et pictos uniquement */
  --oak-deep:   #6F4826;
  --oak-soft:   #E8D5BF;
  --walnut:     #4B3D2E;
  --sage:       #7B8657;

  --white:      #FFFFFF;
  --danger:     #A3352B;
  --ok:         #4C6B4A;

  /* Rôles sémantiques */
  --bg:            var(--chalk);
  --bg-alt:        var(--chalk-2);
  --surface:       var(--white);
  --fg:            var(--ink);
  --fg-muted:      var(--ink-60);
  --fg-subtle:     var(--ink-40);
  --border:        var(--line);
  --accent:        var(--oak);
  --accent-hover:  var(--oak-deep);
  --accent-line:   var(--oak-line);
  --focus:         var(--ink);

  /* Typographie */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-xs:  0.75rem;
  --fs-sm:  0.875rem;
  --fs-base: 1rem;
  --fs-md: clamp(1.0625rem, 0.4vw + 0.97rem, 1.1875rem);
  --fs-lg: clamp(1.25rem, 0.7vw + 1.1rem, 1.5rem);
  --fs-xl: clamp(1.5rem, 1.2vw + 1.25rem, 2rem);
  --fs-2xl: clamp(1.875rem, 2.2vw + 1.4rem, 2.875rem);
  --fs-3xl: clamp(2.25rem, 3.6vw + 1.4rem, 4rem);
  --fs-4xl: clamp(2.6rem, 4.4vw + 1.1rem, 5.25rem);

  /* Espacements — échelle 4/8 */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;     --sp-7: 2.5rem;   --sp-8: 3rem;
  --sp-9: 4rem;     --sp-10: 5rem;    --sp-11: 6.5rem;  --sp-12: 8rem;
  --section: clamp(4rem, 9vw, 8.5rem);

  --radius-sm: 3px;
  --radius: 6px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 2px rgba(14, 27, 34, .05);
  --shadow: 0 4px 16px -4px rgba(14, 27, 34, .09), 0 1px 3px rgba(14, 27, 34, .05);
  --shadow-lg: 0 24px 60px -18px rgba(14, 27, 34, .22), 0 4px 12px rgba(14, 27, 34, .06);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.55, 0, 1, .45);
  --dur: 260ms;

  --wrap: 78rem;
  --wrap-narrow: 46rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);

  --header-h: 76px;
}

@media (max-width: 767px) { :root { --header-h: 64px; } }

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
img { background: var(--lin); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "SOFT" 0, "WONK" 1;
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); letter-spacing: -0.01em; }
p  { margin: 0 0 var(--sp-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.15em; }
li { margin-bottom: .35em; }

strong { font-weight: 600; }
em { font-style: italic; }

button { font: inherit; color: inherit; cursor: pointer; }

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

::selection { background: var(--oak-soft); color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--sp-4); top: var(--sp-4); z-index: 200;
  transform: translateY(-160%);
  background: var(--ink); color: var(--chalk);
  padding: .7rem 1.1rem; border-radius: var(--radius);
  font-size: var(--fs-sm); font-weight: 500; text-decoration: none;
  transition: transform 180ms var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.wrap--wide { max-width: 92rem; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--ink); color: var(--chalk); }
.section--ink h2, .section--ink h3 { color: var(--chalk); }

.grid { display: grid; gap: var(--sp-6); }

/* Étiquette de section — petite capitale avec trait */
.eyebrow {
  display: flex; align-items: center; gap: .7rem;
  font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg-subtle); margin: 0 0 var(--sp-5);
}
.eyebrow::before {
  content: ""; width: 2rem; height: 1px; background: var(--accent-line); flex: none;
}
.section--ink .eyebrow { color: rgba(250, 247, 242, .55); }

.lede {
  font-size: var(--fs-md);
  color: var(--fg-muted);
  max-width: 38rem;
}
.section--ink .lede { color: rgba(250, 247, 242, .72); }

.section-head {
  display: grid; gap: var(--sp-5);
  grid-template-columns: 1fr;
  margin-bottom: var(--sp-8);
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: end; column-gap: var(--sp-9); }
  .section-head > :first-child { grid-column: 1; }
}
.section-head h2 { margin-bottom: 0; }

/* ---------------------------------------------------------------- boutons */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--chalk);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px;
  padding: .85rem 1.6rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 500; letter-spacing: .01em;
  text-decoration: none; text-align: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { --btn-bg: var(--ink-80); box-shadow: var(--shadow); }
.btn:active { --btn-bg: var(--ink); }

.btn--accent { --btn-bg: var(--oak); --btn-fg: #fff; }
.btn--accent:hover { --btn-bg: var(--oak-deep); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--border);
}
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--chalk); border-color: var(--ink); }

.btn--light { --btn-bg: var(--chalk); --btn-fg: var(--ink); }
.btn--light:hover { --btn-bg: var(--white); }

.btn--onink {
  --btn-bg: transparent; --btn-fg: var(--chalk);
  border-color: rgba(250, 247, 242, .3);
}
.btn--onink:hover { --btn-bg: var(--chalk); --btn-fg: var(--ink); border-color: var(--chalk); }

.btn svg { width: 16px; height: 16px; flex: none; }

/* Lien fléché : le trait grandit, rien ne se déplace */
.arrow-link {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: var(--fs-sm); font-weight: 500;
  text-decoration: none; color: var(--fg);
  padding-block: .35rem;
  position: relative;
}
.arrow-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor; opacity: .28;
  transform-origin: left; transform: scaleX(1);
  transition: opacity var(--dur) var(--ease);
}
.arrow-link:hover::after { opacity: 1; }
.arrow-link svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------- header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(250, 247, 242, 0);
  border-bottom: 1px solid transparent;
  transition: background 320ms var(--ease), border-color 320ms var(--ease),
              backdrop-filter 320ms var(--ease), box-shadow 320ms var(--ease);
}
.header.is-solid,
.header.is-open,
body:not(.has-hero) .header {
  background: rgba(250, 247, 242, .88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--border);
}
.header.is-hidden { transform: translateY(-100%); }
.header { transition: transform 380ms var(--ease), background 320ms var(--ease), border-color 320ms var(--ease); }

.header__inner {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: clamp(.75rem, 2vw, 2rem);
}
.nav, .header__actions, .brand { flex: none; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); flex: none;
  display: grid; place-items: center;
  overflow: hidden;
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; background: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 500;
  letter-spacing: -.01em; color: var(--hdr-fg, var(--ink)); white-space: nowrap;
}
.brand__sub {
  font-size: .625rem; letter-spacing: .17em; text-transform: uppercase;
  color: var(--fg-subtle); margin-top: 2px;
}
@media (max-width: 420px) { .brand__sub { display: none; } }

/* Navigation desktop */
.nav { display: none; }
@media (min-width: 1060px) {
  .nav { display: flex; align-items: center; gap: var(--sp-2); }
}
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .8rem;
  font-size: var(--fs-sm); font-weight: 450; white-space: nowrap;
  color: var(--hdr-fg-muted, var(--ink-80)); text-decoration: none;
  border-radius: var(--radius);
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after,
.nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav__link svg { width: 11px; height: 11px; opacity: .6; transition: transform var(--dur) var(--ease); }
.nav__item { position: relative; }
.nav__item:hover > .nav__link svg,
.nav__item:focus-within > .nav__link svg { transform: rotate(180deg); }

.nav__panel {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 17rem; padding: var(--sp-2);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 200ms;
}
.nav__item:hover > .nav__panel,
.nav__item:focus-within > .nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__panel a {
  display: block; padding: .6rem .75rem; border-radius: var(--radius);
  font-size: var(--fs-sm); text-decoration: none; color: var(--ink-80);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__panel a:hover { background: var(--chalk-2); color: var(--ink); }
.nav__panel a span { display: block; font-size: var(--fs-xs); color: var(--fg-subtle); margin-top: 1px; }

.header__actions { display: flex; align-items: center; gap: var(--sp-3); }
.header__phone {
  display: none; align-items: center; gap: .45rem;
  font-size: var(--fs-sm); font-weight: 500; text-decoration: none; color: var(--hdr-fg, var(--ink));
  padding: .5rem .25rem; white-space: nowrap;
}
@media (min-width: 700px) { .header__phone { display: inline-flex; } }
.header__phone svg { width: 15px; height: 15px; color: var(--accent); }
.header__cta { display: none; }
@media (min-width: 1060px) { .header__cta { display: inline-flex; } }

/* Bouton menu mobile */
.burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0;
  background: none; border: 1px solid var(--border); border-radius: 999px;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.burger:hover { background: var(--chalk-2); }
@media (min-width: 1060px) { .burger { display: none; } }
.burger span {
  display: block; position: relative; width: 17px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform 280ms var(--ease), background 160ms linear;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform 280ms var(--ease), top 200ms var(--ease);
}
.burger span::before { top: -5.5px; }
.burger span::after  { top: 5.5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* Menu mobile */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--chalk);
  padding: var(--sp-6) var(--gutter) calc(var(--sp-8) + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden;
  transition: opacity 300ms var(--ease), visibility 300ms;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
@media (min-width: 1060px) { .mobile-nav { display: none; } }

.mobile-nav__list { list-style: none; margin: 0 0 var(--sp-6); padding: 0; }
.mobile-nav__list > li { border-bottom: 1px solid var(--border); }
.mobile-nav__list a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 60px; padding: .9rem 0;
  font-family: var(--font-display); font-size: 1.4rem;
  text-decoration: none; color: var(--ink);
  opacity: 0; transform: translateY(10px);
}
.mobile-nav.is-open .mobile-nav__list a { animation: navIn 460ms var(--ease) forwards; }
.mobile-nav__list li:nth-child(1) a { animation-delay: 40ms; }
.mobile-nav__list li:nth-child(2) a { animation-delay: 80ms; }
.mobile-nav__list li:nth-child(3) a { animation-delay: 120ms; }
.mobile-nav__list li:nth-child(4) a { animation-delay: 160ms; }
.mobile-nav__list li:nth-child(5) a { animation-delay: 200ms; }
.mobile-nav__list li:nth-child(6) a { animation-delay: 240ms; }
.mobile-nav__list li:nth-child(7) a { animation-delay: 280ms; }
.mobile-nav__list li:nth-child(8) a { animation-delay: 320ms; }
@keyframes navIn { to { opacity: 1; transform: none; } }
.mobile-nav__list a span { font-family: var(--font-sans); font-size: var(--fs-xs); color: var(--fg-subtle); }
.mobile-nav__foot { display: grid; gap: var(--sp-3); }
.mobile-nav__foot .btn { width: 100%; }
.mobile-nav__meta { margin-top: var(--sp-5); font-size: var(--fs-sm); color: var(--fg-muted); }
.mobile-nav__meta a { color: var(--ink); }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--ink); color: rgba(250, 247, 242, .74); padding-block: var(--sp-10) var(--sp-6); }
.footer a { color: var(--chalk); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__grid {
  display: grid; gap: var(--sp-8);
  grid-template-columns: 1fr;
}
@media (min-width: 700px)  { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--sp-7); } }
.footer h2, .footer h3 {
  font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(250, 247, 242, .58); margin-bottom: var(--sp-4);
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .55rem; font-size: var(--fs-sm); }
.footer__brand { font-family: var(--font-display); font-size: 1.5rem; color: var(--chalk); margin-bottom: var(--sp-3); display: block; }
.footer__desc { font-size: var(--fs-sm); max-width: 24rem; }
.footer__social { display: flex; gap: .6rem; margin-top: var(--sp-5); }
.footer__social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(250, 247, 242, .2);
  display: grid; place-items: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.footer__social a:hover { background: var(--chalk); border-color: var(--chalk); color: var(--ink); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom {
  margin-top: var(--sp-9); padding-top: var(--sp-5);
  border-top: 1px solid rgba(250, 247, 242, .14);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: rgba(250, 247, 242, .5);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + var(--sp-8));
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 2400ms var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(14,27,34,.88) 0%, rgba(14,27,34,.52) 42%, rgba(14,27,34,.2) 72%, rgba(14,27,34,.5) 100%),
    linear-gradient(105deg, rgba(14,27,34,.72) 0%, rgba(14,27,34,.42) 38%, rgba(14,27,34,0) 66%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__content { max-width: min(46rem, 100%); color: var(--chalk); }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase;
  color: rgba(250, 247, 242, .8); margin-bottom: var(--sp-5);
}
.hero__eyebrow::before { content: ""; width: 2rem; height: 1px; background: var(--oak-line); }
.hero h1 {
  font-size: var(--fs-4xl); color: var(--chalk);
  letter-spacing: -.028em; line-height: 1.02;
  margin-bottom: var(--sp-5);
}
.hero__lede {
  font-size: var(--fs-md); color: rgba(250, 247, 242, .85);
  max-width: 34rem; margin-bottom: var(--sp-7);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(2.5rem, 6vw, 5rem);
  z-index: 1; display: none;
  writing-mode: vertical-rl;
  font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase;
  color: rgba(250, 247, 242, .6); text-decoration: none;
  padding-bottom: 3.5rem;
}
@media (min-width: 1024px) { .hero__scroll { display: block; } }
.hero__scroll::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 1px; height: 3rem; background: rgba(250, 247, 242, .35);
  transform-origin: top;
  animation: scrollHint 2200ms var(--ease) infinite;
}
@keyframes scrollHint {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(3rem); opacity: 0; }
}

/* Masque de révélation ligne par ligne */
.reveal-mask { display: block; overflow: hidden; }
.reveal-mask > span {
  display: block;
  transform: translateY(105%);
  animation: maskUp 1000ms var(--ease) forwards;
}
.reveal-mask:nth-of-type(2) > span { animation-delay: 90ms; }
.reveal-mask:nth-of-type(3) > span { animation-delay: 180ms; }
@keyframes maskUp { to { transform: translateY(0); } }

.fade-up-load { opacity: 0; transform: translateY(14px); animation: fadeUp 900ms var(--ease) forwards; }
.d1 { animation-delay: 320ms; } .d2 { animation-delay: 440ms; } .d3 { animation-delay: 560ms; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* En-tête de page (pages intérieures) */
.pagehead {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.pagehead__inner { max-width: 46rem; }
.pagehead h1 { margin-bottom: var(--sp-4); }
.pagehead .lede { max-width: 42rem; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: var(--fs-xs); color: var(--fg-subtle); margin-bottom: var(--sp-5); padding: 0; list-style: none; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; color: var(--ink-40); }
.breadcrumb a { color: var(--fg-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); }

/* ---------------------------------------------------------------- cartes projet */
.projects { display: grid; gap: var(--sp-6) var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 640px)  { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .projects { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  isolation: isolate;
}
.card__media {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--lin);
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 800ms var(--ease), filter 500ms var(--ease);
}
.card:hover .card__media img, .card:focus-visible .card__media img { transform: scale(1.055); }
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,27,34,.42), transparent 55%);
  opacity: 0; transition: opacity 420ms var(--ease);
}
.card:hover .card__media::after { opacity: 1; }

.card__badge {
  position: absolute; top: .85rem; left: .85rem; z-index: 2;
  background: rgba(250, 247, 242, .94);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: .04em;
  padding: .3rem .65rem; border-radius: 999px;
}
.card__body { padding-top: var(--sp-4); }
.card__cat {
  font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .45rem; display: block;
}
.card__title {
  font-family: var(--font-display); font-size: 1.2rem; line-height: 1.22;
  letter-spacing: -.012em; margin: 0 0 .4rem;
}
.card__meta { font-size: var(--fs-sm); color: var(--fg-muted); }
.card__link { position: absolute; inset: 0; z-index: 3; }

/* Grille éditoriale : première carte large */
@media (min-width: 1100px) {
  .projects--editorial > :nth-child(1) { grid-column: span 2; }
  .projects--editorial > :nth-child(1) .card__media { aspect-ratio: 16 / 10; }
  .projects--editorial > :nth-child(1) .card__title { font-size: 1.6rem; }
}

/* Filtres */
.filters {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: var(--sp-7);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--border);
}
.filter {
  min-height: 44px;
  padding: .55rem 1.05rem;
  background: transparent; border: 1px solid var(--border);
  border-radius: 999px;
  font-size: var(--fs-sm); color: var(--ink-80);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.filter:hover { border-color: var(--ink-40); background: var(--white); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--chalk); }
.filter__count { opacity: .72; margin-left: .35rem; font-variant-numeric: tabular-nums; }

.card.is-hidden { display: none; }
.filter-empty { padding: var(--sp-8) 0; color: var(--fg-muted); }

/* ---------------------------------------------------------------- projet : détail */
.project-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem));
}
.project-hero__media {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
  background: var(--lin);
}
@media (max-width: 640px) { .project-hero__media { aspect-ratio: 4 / 3; border-radius: var(--radius); } }
.project-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.project-meta {
  display: grid; gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-block: var(--sp-8);
}
.project-meta dt {
  font-size: var(--fs-xs); letter-spacing: .13em; text-transform: uppercase;
  color: var(--fg-subtle); margin-bottom: .4rem;
}
.project-meta dd { margin: 0; font-size: var(--fs-sm); font-weight: 500; }

.prose { max-width: 40rem; }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--sp-8); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-80); font-size: var(--fs-md); line-height: 1.72; }
.prose > p:first-of-type { font-size: var(--fs-lg); line-height: 1.55; color: var(--ink); font-family: var(--font-display); }

.gallery { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); } }
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3; background: var(--lin);
  border: 0; padding: 0; width: 100%;
  cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
@media (min-width: 700px) { .gallery__item:nth-child(3n+1) { grid-column: span 2; aspect-ratio: 16 / 9; } }

/* Visionneuse */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(14, 27, 34, .94);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; visibility: hidden;
  transition: opacity 280ms var(--ease), visibility 280ms;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%; max-height: 82svh; object-fit: contain;
  border-radius: var(--radius); background: none;
  transform: scale(.97); transition: transform 320ms var(--ease);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__close, .lightbox__nav {
  position: absolute; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(250, 247, 242, .1); border: 1px solid rgba(250, 247, 242, .22);
  color: var(--chalk); display: grid; place-items: center;
  transition: background var(--dur) var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(250, 247, 242, .22); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__nav--prev { left: clamp(.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: clamp(.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__count {
  position: absolute; bottom: clamp(1rem, 3vw, 2rem); left: 50%; transform: translateX(-50%);
  font-size: var(--fs-sm); color: rgba(250, 247, 242, .7); font-variant-numeric: tabular-nums;
}
.lightbox svg { width: 20px; height: 20px; }

/* Navigation projet suivant */
.project-nav {
  display: grid; gap: var(--sp-4);
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
  padding-top: var(--sp-7);
}
@media (min-width: 700px) { .project-nav { grid-template-columns: 1fr 1fr; gap: var(--sp-6); } }
.project-nav a {
  display: flex; gap: var(--sp-4); align-items: center;
  text-decoration: none; color: inherit;
  padding: var(--sp-3); border-radius: var(--radius);
  transition: background var(--dur) var(--ease);
}
.project-nav a:hover { background: var(--bg-alt); }
.project-nav a:last-child { text-align: right; flex-direction: row-reverse; }
.project-nav img { width: 84px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); flex: none; }
.project-nav span { display: block; font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-subtle); margin-bottom: .2rem; }
.project-nav strong { font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; letter-spacing: -.01em; }

/* ---------------------------------------------------------------- éditorial split */
.split {
  display: grid; gap: var(--sp-7);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, 1fr); gap: clamp(3rem, 6vw, 6rem); }
  .split--reverse > :first-child { order: 2; }
}
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--lin); }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__media--wide img { aspect-ratio: 4 / 3; }
.split__tag {
  position: absolute; bottom: var(--sp-4); left: var(--sp-4);
  background: rgba(250, 247, 242, .93);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: .55rem .9rem; border-radius: var(--radius);
  font-size: var(--fs-xs); color: var(--ink);
}

/* Image décalée façon éditorial */
.stack-media { position: relative; }
.stack-media__a { border-radius: var(--radius-lg); overflow: hidden; background: var(--lin); }
.stack-media__a img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.stack-media__b {
  position: absolute; right: -8%; bottom: -8%;
  width: 46%; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--lin);
  border: 5px solid var(--bg);
}
.stack-media__b img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 640px) { .stack-media__b { right: 0; bottom: -6%; width: 40%; } }

/* ---------------------------------------------------------------- listes de valeurs */
.features { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 700px)  { .features { grid-template-columns: repeat(2, 1fr); gap: var(--sp-7) var(--sp-6); } }
@media (min-width: 1100px) { .features--4 { grid-template-columns: repeat(4, 1fr); } }
.feature__icon {
  width: 40px; height: 40px; margin-bottom: var(--sp-4);
  display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--border);
  color: var(--accent);
}
.feature__icon svg { width: 19px; height: 19px; }
.feature h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.feature p { font-size: var(--fs-sm); color: var(--fg-muted); }
.section--ink .feature p { color: rgba(250,247,242,.68); }
.section--ink .feature__icon { border-color: rgba(250,247,242,.24); color: var(--oak-soft); }

/* Chiffres clés */
.stats {
  display: grid; gap: var(--sp-5);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border-left: 1px solid var(--border); padding-left: var(--sp-4); }
.section--ink .stat { border-color: rgba(250,247,242,.2); }
.stat dt {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.1; letter-spacing: -.02em; margin-bottom: .3rem;
  font-variant-numeric: tabular-nums;
}
.stat dd { margin: 0; font-size: var(--fs-sm); color: var(--fg-muted); }
.section--ink .stat dd { color: rgba(250,247,242,.62); }

/* ---------------------------------------------------------------- étapes */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step;
  display: grid; gap: var(--sp-3) var(--sp-6);
  grid-template-columns: auto 1fr;
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--border);
}
.step:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 900px) {
  .step { grid-template-columns: 4rem minmax(0, 15rem) minmax(0, 1fr); align-items: start; gap: var(--sp-7); }
}
.step__num {
  font-family: var(--font-display); font-size: 1.35rem; color: var(--accent);
  font-variant-numeric: tabular-nums; line-height: 1.2;
}
.step__num::before { content: "0" counter(step); }
.step h3 { margin: 0; font-size: 1.28rem; }
.step p { color: var(--fg-muted); font-size: var(--fs-sm); margin: 0; }
@media (max-width: 899px) { .step h3, .step p { grid-column: 2; } }

/* ---------------------------------------------------------------- tarifs */
.pricing { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.price-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--sp-5);
}
.price-card dt { font-size: var(--fs-sm); color: var(--fg-muted); margin-bottom: .5rem; }
.price-card dd {
  margin: 0; font-family: var(--font-display); font-size: 1.7rem;
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}

.payment { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.payment div { border-top: 2px solid var(--accent-line); padding-top: var(--sp-3); }
.payment b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; letter-spacing: -.02em; }
.payment span { font-size: var(--fs-sm); color: var(--fg-muted); }

/* ---------------------------------------------------------------- avis */
.reviews { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 760px)  { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--sp-6);
  display: flex; flex-direction: column; gap: var(--sp-4);
}
.review__stars { display: flex; gap: 2px; color: var(--accent-line); }
.review__stars svg { width: 15px; height: 15px; }
.review blockquote { margin: 0; font-size: var(--fs-sm); line-height: 1.68; color: var(--ink-80); }
.review figcaption { margin-top: auto; font-size: var(--fs-sm); }
.review figcaption b { display: block; font-weight: 600; }
.review figcaption span { color: var(--fg-subtle); font-size: var(--fs-xs); }

/* ---------------------------------------------------------------- presse */
.press { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 760px) { .press { grid-template-columns: repeat(2, 1fr); } }
.press__item {
  display: grid; grid-template-columns: 7rem 1fr; gap: var(--sp-5);
  align-items: center;
  padding: var(--sp-5); border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface);
}
.press__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.press__item h3 { font-family: var(--font-sans); font-size: var(--fs-base); font-weight: 600; margin-bottom: .2rem; letter-spacing: 0; }
.press__item span { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: .45rem; }
.press__item p { font-size: var(--fs-sm); color: var(--fg-muted); margin: 0; }

/* ---------------------------------------------------------------- boutique */
.shop { display: grid; gap: var(--sp-6) var(--sp-5); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px)  { .shop { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .shop { grid-template-columns: repeat(4, 1fr); } }
.product { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.product__media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 1 / 1; background: var(--lin);
}
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.product:hover .product__media img { transform: scale(1.05); }
.product__body { padding-top: var(--sp-3); display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.product__name { font-size: var(--fs-sm); font-weight: 500; line-height: 1.4; }
.product__price {
  margin-top: auto; font-family: var(--font-display); font-size: 1.05rem;
  font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.product__link { position: absolute; inset: 0; }

.shipping { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.shipping div { border-top: 1px solid var(--border); padding-top: var(--sp-3); }
.shipping b { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; }
.shipping span { font-size: var(--fs-sm); color: var(--fg-muted); }

/* Fiche produit */
.product-detail { display: grid; gap: var(--sp-7); grid-template-columns: 1fr; }
@media (min-width: 900px) { .product-detail { grid-template-columns: 1.15fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; } }
.product-detail__media { border-radius: var(--radius-lg); overflow: hidden; background: var(--lin); }
.product-detail__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-detail__price {
  font-family: var(--font-display); font-size: 2rem; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; margin-bottom: var(--sp-5);
}
.product-detail ul { list-style: none; padding: 0; margin: var(--sp-5) 0; }
.product-detail ul li {
  display: flex; gap: .65rem; align-items: flex-start;
  font-size: var(--fs-sm); color: var(--fg-muted); margin-bottom: .6rem;
}
.product-detail ul svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }

/* ---------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--border); }
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
  padding: var(--sp-5) 0;
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.18rem; letter-spacing: -.01em;
  min-height: 56px;
  transition: color var(--dur) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-hover); }
.faq summary::after {
  content: ""; flex: none;
  width: 13px; height: 13px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 300ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__body { padding-bottom: var(--sp-5); max-width: 44rem; }
.faq__body p { font-size: var(--fs-sm); color: var(--fg-muted); }
.faq details[open] .faq__body { animation: faqIn 400ms var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------------------------------------------------------------- formulaire */
.form { display: grid; gap: var(--sp-5); }
.form__row { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: .45rem; }
.field label { font-size: var(--fs-sm); font-weight: 500; }
.field label .req { color: var(--danger); }
.field .hint { font-size: var(--fs-xs); color: var(--fg-subtle); }

.field input, .field select, .field textarea {
  width: 100%; min-height: 50px;
  padding: .8rem 1rem;
  font: inherit; font-size: var(--fs-base);
  color: var(--fg); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2355646A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-40); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(14, 27, 34, .09);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-40); }

.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea { border-color: var(--danger); }
.field .error {
  display: none; align-items: center; gap: .35rem;
  font-size: var(--fs-xs); color: var(--danger);
}
.field[data-invalid="true"] .error { display: flex; }
.field .error svg { width: 13px; height: 13px; flex: none; }

/* Choix visuels (type de projet / budget) */
.choices { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: .7rem .85rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: var(--fs-sm); line-height: 1.3;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.choice input:hover + span { border-color: var(--ink-40); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--chalk); }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

.checkbox { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--fg-muted); }
.checkbox input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--ink); cursor: pointer; }
.checkbox a { color: var(--ink); }

.form__status {
  padding: var(--sp-4) var(--sp-5); border-radius: var(--radius);
  font-size: var(--fs-sm); display: none; gap: .6rem; align-items: flex-start;
}
.form__status[data-state="ok"]    { display: flex; background: #EEF3EC; color: #33512F; border: 1px solid #C9DCC4; }
.form__status[data-state="error"] { display: flex; background: #FBEFEE; color: #7E241C; border: 1px solid #EBC9C5; }
.form__status svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }

.form-aside {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--sp-6);
}
.form-aside h2, .form-aside h3 { font-size: 1.15rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-4); }
.contact-list li { display: flex; gap: var(--sp-4); align-items: flex-start; }
.contact-list svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.contact-list b { display: block; font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-subtle); font-weight: 500; margin-bottom: .15rem; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- CTA bande */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: var(--chalk); }
.cta-band__bg { position: absolute; inset: 0; opacity: .26; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__inner { position: relative; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.cta-band h2 { color: var(--chalk); max-width: 20em; font-size: var(--fs-2xl); }
.cta-band p { color: rgba(250, 247, 242, .78); max-width: 34rem; font-size: var(--fs-md); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }

/* ---------------------------------------------------------------- bandeau essences */
.marquee {
  overflow: hidden; border-block: 1px solid var(--border);
  padding-block: var(--sp-4);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: var(--sp-7); padding-right: var(--sp-7); }
.marquee span {
  font-family: var(--font-display); font-size: clamp(1rem, 1.7vw, 1.35rem);
  color: var(--ink-40); white-space: nowrap; letter-spacing: -.01em;
}
.marquee span::after { content: "·"; margin-left: var(--sp-7); color: var(--oak-line); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- animations au scroll
   L'état masqué n'est appliqué que si le script a ajouté .js-anim sur <html> :
   sans JavaScript, ou si le script échoue, tout le contenu reste visible. */
.js-anim [data-anim] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 760ms var(--ease), transform 760ms var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.js-anim [data-anim="fade"]  { transform: none; }
.js-anim [data-anim="left"]  { transform: translateX(-24px); }
.js-anim [data-anim="right"] { transform: translateX(24px); }
.js-anim [data-anim="scale"] { transform: scale(.965); }
.js-anim [data-anim].is-in { opacity: 1; transform: none; }

/* Volet qui se lève sur une image */
.js-anim [data-anim="curtain"] { opacity: 1; transform: none; position: relative; }
.js-anim [data-anim="curtain"]::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: var(--bg);
  transform-origin: bottom;
  transition: transform 1000ms var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js-anim [data-anim="curtain"].is-in::after { transform: scaleY(0); }

/* Parallaxe douce */
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js-anim [data-anim] { opacity: 1 !important; transform: none !important; }
  .js-anim [data-anim="curtain"]::after { display: none; }
  .hero__media img { transform: none; animation: none; }
  .reveal-mask > span { transform: none; animation: none; }
  .fade-up-load { opacity: 1; transform: none; animation: none; }
  .marquee__track { animation: none; }
  [data-parallax] { transform: none !important; }
}

/* ---------------------------------------------------------------- barre mobile fixe */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%);
  transition: transform 380ms var(--ease);
  box-shadow: 0 -6px 24px rgba(14, 27, 34, .1);
}
.callbar.is-visible { transform: translateY(0); }
@media (min-width: 1060px) { .callbar { display: none; } }
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 56px; background: var(--chalk);
  font-size: var(--fs-sm); font-weight: 500; text-decoration: none; color: var(--ink);
}
.callbar a:last-child { background: var(--ink); color: var(--chalk); }
.callbar svg { width: 16px; height: 16px; }
body.has-callbar { padding-bottom: 0; }

/* ---------------------------------------------------------------- divers */
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  font-size: var(--fs-xs); letter-spacing: .04em;
  padding: .3rem .7rem; border-radius: 999px;
  border: 1px solid var(--border); color: var(--fg-muted);
}
.hr { border: 0; border-top: 1px solid var(--border); margin-block: var(--sp-8); }
.center { text-align: center; }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mt-8 { margin-top: var(--sp-8); }

.legal-prose { max-width: 42rem; }
.legal-prose h2 { font-size: var(--fs-xl); margin-top: var(--sp-8); }
.legal-prose p, .legal-prose li { font-size: var(--fs-sm); color: var(--ink-80); }

.error-page { min-height: 72svh; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }
.error-page .code { font-family: var(--font-display); font-size: clamp(4rem, 16vw, 10rem); line-height: 1; color: var(--oak-soft); }

@media print {
  .header, .footer, .callbar, .mobile-nav, .hero__scroll { display: none !important; }
  body { background: #fff; }
  .js-anim [data-anim] { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------- en-tête posée sur un hero sombre
   Tant que la page n'a pas défilé, l'en-tête est transparente au-dessus de
   l'image : le texte passe en clair pour rester lisible. Dès que le fond
   opaque apparaît (.is-solid), on revient à l'encre. */
body.has-hero .header:not(.is-solid):not(.is-open) {
  --hdr-fg: var(--chalk);
  --hdr-fg-muted: rgba(250, 247, 242, .82);
}
body.has-hero .header:not(.is-solid):not(.is-open) .brand__sub { color: rgba(250, 247, 242, .6); }
body.has-hero .header:not(.is-solid):not(.is-open) .brand__mark {
  background: rgba(250, 247, 242, .14);
  box-shadow: inset 0 0 0 1px rgba(250, 247, 242, .28);
}
body.has-hero .header:not(.is-solid):not(.is-open) .header__phone svg { color: var(--oak-soft); }
body.has-hero .header:not(.is-solid):not(.is-open) .nav__link:hover { color: var(--chalk); }
body.has-hero .header:not(.is-solid):not(.is-open) .header__cta {
  --btn-bg: transparent; --btn-fg: var(--chalk);
  border-color: rgba(250, 247, 242, .38);
}
body.has-hero .header:not(.is-solid):not(.is-open) .header__cta:hover {
  --btn-bg: var(--chalk); --btn-fg: var(--ink); border-color: var(--chalk);
}
body.has-hero .header:not(.is-solid):not(.is-open) .burger {
  border-color: rgba(250, 247, 242, .34);
}
body.has-hero .header:not(.is-solid):not(.is-open) .burger span,
body.has-hero .header:not(.is-solid):not(.is-open) .burger span::before,
body.has-hero .header:not(.is-solid):not(.is-open) .burger span::after { background: var(--chalk); }
body.has-hero .header:not(.is-solid):not(.is-open) .burger:hover { background: rgba(250, 247, 242, .12); }

/* Le menu déroulant garde son fond clair : on force le texte en encre. */
.nav__panel a { color: var(--ink-80); }

/* Le titre du hero ne doit jamais couper un mot court sur deux lignes. */
.hero h1 .reveal-mask > span { display: block; }

/* Titre de fiche projet : colonne plus large et corps un cran plus bas,
   pour tenir en deux ou trois lignes plutôt qu'en quatre. */
.split--project { align-items: start; }
@media (min-width: 900px) {
  .split--project { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); }
}
.split--project h1 {
  font-size: clamp(2.1rem, 2.9vw + 1.05rem, 3.4rem);
  margin-bottom: 0;
}
.split--project .lede { padding-top: .35rem; }

/* Caractéristiques et notes d'une fiche produit */
.spec-title {
  font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fg-subtle);
  margin: var(--sp-6) 0 var(--sp-3);
}
.spec-list { display: grid; gap: 0; margin: 0 0 var(--sp-5); }
.spec-list > div {
  display: grid; gap: .25rem 1.25rem;
  grid-template-columns: 1fr;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
}
@media (min-width: 520px) { .spec-list > div { grid-template-columns: 11rem 1fr; } }
.spec-list dt { color: var(--fg-muted); }
.spec-list dd { margin: 0; }
.note {
  background: var(--bg-alt); border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-5); margin-bottom: var(--sp-4);
}
.note b {
  display: block; font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  margin-bottom: .4rem;
}
.note p { font-size: var(--fs-sm); color: var(--fg-muted); margin: 0; }
.spec-list__note dd { grid-column: 1 / -1; color: var(--fg-muted); }
