/* ============================================================
   Atelier Noyer — Menuiserie & agencement (Luxembourg)
   GridCore demo · Éditorial premium, contraste lin ↔ graphite
   Display: Fraunces · Corps: Karla · Accent: laiton/bronze
   ============================================================ */

/* ============ Fontes auto-hébergées (variables, latin + latin-ext) — RGPD ok, zéro requête tierce ============ */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/fraunces-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/fraunces-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/fraunces-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/fraunces-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/karla-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/karla-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Fallback métrique : annule le saut de reflow quand Fraunces remplace Georgia (h1 géant du hero) */
@font-face {
  font-family: 'Fraunces-fallback';
  src: local('Georgia');
  size-adjust: 105%;
  ascent-override: 92%;
  descent-override: 24%;
}

:root {
  color-scheme: light;
  /* ---- Contexte CLAIR (défaut) ---- */
  --lin: #F1EADE;          /* fond lin/ivoire chaud */
  --lin-2: #E8DFD0;        /* fond alterné sable */
  --surface: #FBF6EC;      /* cartes */
  --fg: #241C14;           /* texte principal (brun quasi-noir) */
  --fg-soft: #5B4E3E;      /* texte secondaire */
  --accent: #A9743C;       /* bronze déco : filets, grands titres (≥3:1) */
  --accent-ink: #7C5323;   /* bronze foncé : eyebrows, liens, petit texte (≥4.5:1) */
  --line: rgba(36, 28, 20, .16);

  /* ---- Tons sombres partagés (bandes graphite) ---- */
  --ink: #1E1712;          /* fond section sombre */
  --ink-2: #16110C;        /* fond le plus profond (trust, footer) */
  --ink-card: #271F17;     /* cartes sur sombre */
  --cream: #F1E7D8;        /* texte clair sur sombre */
  --cream-soft: #BCAC94;   /* texte clair secondaire sur sombre */
  --brass: #CFA363;        /* bronze/laiton : accents déco sur sombre */
  --brass-soft: #D8B583;   /* bronze clair : petit texte accent sur sombre */

  /* Typo & layout */
  --serif: 'Fraunces', 'Fraunces-fallback', Georgia, serif;
  --sans: 'Karla', system-ui, sans-serif;
  --maxw: 1220px;
  --radius: 16px;
  --radius-sm: 11px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 22px 50px -26px rgba(22, 17, 12, .55);
  --shadow-lg: 0 40px 80px -30px rgba(22, 17, 12, .7);
  --header-h: 74px;

  /* Grain d'atelier (SVG feTurbulence inline, tuile 120px) — texture des bandes sombres */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Sections sombres : remap COMPLET des rôles de couleur */
.section--dark {
  --lin: var(--ink);
  --lin-2: var(--ink);
  --surface: var(--ink-card);
  --fg: var(--cream);
  --fg-soft: var(--cream-soft);
  --accent: var(--brass);
  --accent-ink: var(--brass-soft);
  --line: rgba(241, 231, 216, .14);
  background: var(--ink);
  color: var(--cream);
  color-scheme: dark;
}

/* Grain statique quasi imperceptible : les bandes graphite prennent le toucher du bois ciré */
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grain);
  opacity: .06;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}
.cta.section--dark::before { z-index: 1; } /* au-dessus de la photo/scrim, sous le contenu (z2) */
.footer { position: relative; } /* le footer n'est pas une <section> */
.section--dark > .container { position: relative; z-index: 1; }

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--lin);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden; /* fallback Safari ≤15 */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

a, button, summary, input, select, textarea, label { touch-action: manipulation; }
a, button, summary { -webkit-tap-highlight-color: transparent; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 3.4vw + 1.1rem, 4.35rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 2.2vw + .85rem, 2.7rem); font-weight: 400; }
h3 { font-size: clamp(1.2rem, 1vw + .9rem, 1.5rem); }

p { margin: 0 0 1em; }
a { color: var(--accent-ink); text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--dark :focus-visible { outline-color: var(--brass-soft); }
/* Header transparent au-dessus du hero sombre : contour de focus clair pour rester visible */
.header:not(.is-solid) :focus-visible { outline-color: #F3ECDF; }
/* Menu mobile ouvert : panneau clair → contour foncé, sinon focus invisible (crème sur lin) */
.header.nav-open :focus-visible { outline-color: var(--accent-ink); }

/* Skip link (accessibilité clavier) */
.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 1000;
  padding: .7rem 1.1rem;
  background: #16110C;
  color: #F1EADE;
  font-family: var(--sans);
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus-visible { top: 12px; outline: 2px solid #CFA363; outline-offset: 2px; }

.container {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
}

section { padding-block: clamp(3.6rem, 7vw, 7.5rem); position: relative; }
section[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
/* Les CTA primaires pointent directement le formulaire (en mobile, #contact atterrit sur les infos) */
#contactForm { scroll-margin-top: calc(var(--header-h) + 1rem); }

svg { flex-shrink: 0; }
.btn svg, .metier__link svg, .reviews__all svg, .atelier__points svg { width: 18px; height: 18px; }

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: currentColor;
  opacity: .8;
}
.eyebrow--light { color: var(--brass-soft); }

/* Section head shared — largeur pensée pour des titres sur 2 lignes (via <br>) */
.section-head { max-width: 34rem; }
.section-head h2 { margin: 0; }

/* ============ Boutons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

/* Accent (laiton) — texte foncé, jamais clair sur clair */
.btn--accent {
  background: linear-gradient(180deg, #C89C5D, #B07E45);
  color: #1A120B;
  box-shadow: 0 14px 30px -14px rgba(176, 126, 69, .7);
}
.btn--accent:hover { background: linear-gradient(180deg, #D6B074, #B98A4E); }

/* Foncé plein (sur fond clair) */
.btn--dark { background: var(--fg); color: var(--lin); }
.section--dark .btn--dark { background: var(--cream); color: var(--ink); }
.btn--dark:hover { box-shadow: 0 16px 32px -16px rgba(22, 17, 12, .6); }

/* Ghost clair (sur hero sombre) — sans backdrop-filter : il serait re-flouté à chaque frame du parallax */
.btn--ghost-light {
  background: rgba(20, 15, 10, .28);
  color: #F1E7D8;
  border-color: rgba(241, 231, 216, .38);
}
.btn--ghost-light:hover { background: rgba(20, 15, 10, .5); border-color: rgba(241, 231, 216, .7); }

.btn--full { width: 100%; }

/* ============ Barre demo GridCore ============ */
.gc-demobar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .45rem 1.2rem;
  padding: .5rem 1rem;
  background: #100C08;
  color: #CBBEA9;
  font-size: .8rem;
  position: relative;
  z-index: 60;
}
.gc-demobar__txt { margin: 0; }
.gc-demobar__txt strong { color: #F1E7D8; font-weight: 700; }
.gc-demobar__cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1rem;
  border-radius: 999px;
  background: rgba(216, 181, 131, .14);
  border: 1px solid rgba(216, 181, 131, .34);
  color: #E1C08A;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s;
}
.gc-demobar__cta:hover { background: rgba(216, 181, 131, .26); }
.gc-demobar__cta svg { width: 14px; height: 14px; }

/* ============ Header ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
}
/* Transparent au-dessus du hero */
.header:not(.is-solid) { background: transparent; }
.header:not(.is-solid) .brand__type strong,
.header:not(.is-solid) .brand__type em,
.header:not(.is-solid) .nav > a,
.header:not(.is-solid) .nav__cta,
.header:not(.is-solid) .brand__mark,
.header:not(.is-solid) .an-lang__btn,
.header:not(.is-solid) .burger { color: #F3ECDF; }
.header:not(.is-solid) .nav__cta { border-color: rgba(243, 236, 223, .5); }
.header:not(.is-solid) .nav__cta:hover { background: rgba(243, 236, 223, .12); }
.header:not(.is-solid) .an-lang__btn { border-color: rgba(243, 236, 223, .3); }
.header:not(.is-solid) .an-lang__btn:hover { background: rgba(243, 236, 223, .1); border-color: rgba(243, 236, 223, .5); }
.header:not(.is-solid) .burger { border-color: rgba(243, 236, 223, .35); }

/* État "scrolled" : fond clair solide */
.header.is-solid {
  background: rgba(241, 234, 222, .93);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(22, 17, 12, .5);
}

/* Sans JS, .is-solid n'est jamais ajouté : le header reste solide et lisible partout */
html:not(.js) .header {
  background: rgba(241, 234, 222, .93);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(22, 17, 12, .5);
}
html:not(.js) .header .brand__type strong,
html:not(.js) .header .brand__type em,
html:not(.js) .header .nav > a,
html:not(.js) .header .nav__cta,
html:not(.js) .header .an-lang__btn,
html:not(.js) .header .burger { color: var(--fg); }
html:not(.js) .header .brand__mark { color: var(--accent); }
html:not(.js) .header .nav__cta { border-color: var(--fg); }
html:not(.js) .header .an-lang__btn { border-color: var(--line); }
html:not(.js) .header :focus-visible { outline-color: var(--accent-ink); }

.header__inner {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

/* Marque */
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand__mark { color: var(--accent); display: inline-flex; }
.brand__mark svg { width: 38px; height: 38px; }
.brand__type { display: flex; flex-direction: column; line-height: 1.05; }
.brand__type strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.16rem;
  letter-spacing: .01em;
  color: var(--fg);
}
.brand__type em {
  font-style: normal;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

.nav { display: flex; align-items: center; gap: clamp(.9rem, 1.5vw, 1.7rem); }
.nav > a {
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
  font-size: .96rem;
  padding: .35rem 0;
  position: relative;
}
.nav > a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: currentColor;
  transition: width .3s var(--ease);
}
.nav > a:not(.nav__cta):hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 1.5px solid var(--fg);
  border-radius: 999px;
  padding: .5rem 1.05rem !important;
  font-weight: 700 !important;
  transition: background-color .25s, color .25s, border-color .25s;
}
.nav__cta svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav__cta:hover { background: var(--fg); color: var(--lin) !important; }
.header:not(.is-solid) .nav__cta:hover { color: var(--ink) !important; background: #F3ECDF; }
.nav__cta:hover svg { transform: translateX(3px); }

/* Téléphone : uniquement dans le panneau mobile (canal de conversion le plus chaud) */
.nav__tel { display: none; }

/* CTA compact du header — remplace le sélecteur de langue en mobile une fois le hero passé */
.header__cta-mini {
  display: none;
  align-items: center;
  min-height: 40px;
  padding: .3rem .95rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #C89C5D, #B07E45);
  color: #1A120B;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
}

/* Groupe menu + CTA : display:contents en desktop (participe au flex du header),
   panneau déroulant en mobile */
.header__collapse { display: contents; }

/* Sélecteur de langue compact (dropdown) */
.an-lang { position: relative; }
.an-lang__btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  padding: .3rem .6rem .3rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.an-lang__btn:hover { border-color: var(--accent); }
.an-lang__cur { line-height: 1; }
.an-lang__chev { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.an-lang__btn[aria-expanded="true"] .an-lang__chev { transform: rotate(180deg); }

.an-lang__menu {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  min-width: 150px;
  display: grid;
  gap: .1rem;
  padding: .4rem;
  border-radius: 12px;
  background: rgba(30, 23, 16, .92);
  border: 1px solid rgba(216, 181, 131, .22);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 40;
}
.an-lang.is-open .an-lang__menu { opacity: 1; transform: none; visibility: visible; }
.an-lang__menu a {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  padding: .7rem .8rem;
  border-radius: 8px;
  color: #F1E7D8;
  text-decoration: none;
  transition: background-color .18s, color .18s;
}
.an-lang__menu a:hover { background: rgba(216, 181, 131, .16); }
.an-lang__menu a span { font-weight: 700; font-size: .82rem; letter-spacing: .06em; color: var(--brass-soft); min-width: 1.6rem; }
.an-lang__menu a em { font-style: normal; font-size: .9rem; color: rgba(241, 231, 216, .82); }
/* Panneau toujours sombre : contour de focus clair indépendant de l'état du header */
.an-lang__menu :focus-visible { outline-color: var(--brass-soft); }

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}
.burger svg { width: 24px; height: 24px; }
.burger__close { display: none; }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  min-height: min(92svh, 860px); /* base visible même avec toolbars mobiles déployées */
  display: flex;
  align-items: flex-end;
  padding: 0;
  margin-top: calc(-1 * var(--header-h));
  color: #F3ECDF;
  overflow: clip;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%;
  height: 118%;              /* marge pour le parallax */
  object-fit: cover;
  object-position: 60% center;
}
/* Lumière d'atelier : voile ambre dont l'opacité suit le scroll (piloté par le rAF du parallax) */
.hero__warmth {
  position: absolute;
  inset: 0;
  background: linear-gradient(250deg, rgba(207, 140, 60, .38), transparent 55%);
  mix-blend-mode: soft-light;
  opacity: 0;
  pointer-events: none;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    /* voile haut plein largeur : garantit la lisibilité de la nav claire (coin haut-droit clair de l'image) */
    linear-gradient(180deg, rgba(14, 10, 7, .62) 0%, rgba(14, 10, 7, .3) 9%, rgba(14, 10, 7, 0) 18%),
    /* dégradé horizontal : sombre à gauche (texte), révèle le bois à droite */
    linear-gradient(90deg, rgba(14, 10, 7, .84) 0%, rgba(14, 10, 7, .5) 42%, rgba(14, 10, 7, .06) 66%, rgba(14, 10, 7, 0) 88%),
    linear-gradient(0deg, rgba(14, 10, 7, .58) 0%, rgba(14, 10, 7, 0) 40%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
  display: grid;
  gap: 2rem;
  align-items: end;
  padding-block: clamp(3rem, 7vw, 6rem);
  padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 4rem));
}
.hero__copy { max-width: 38rem; }
.hero h1 { color: #F8F1E6; margin-bottom: 1.1rem; line-height: 1.03; max-width: 18ch; }
.hero h1 em {
  position: relative;
  font-style: italic;
  font-weight: 400;
  color: var(--brass-soft);
}
/* Trait de crayon de charpentier sous "précision." — l'unique flourish de chargement du site */
.hero__underline {
  position: absolute;
  left: -1%;
  bottom: -.08em;
  width: 102%;
  height: .16em;
  color: var(--brass-soft);
  overflow: visible;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.gc-capture) .hero__underline path { stroke-dasharray: 100; stroke-dashoffset: 100; }
  html.js.fonts-ready:not(.gc-capture) .hero__underline path {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset .7s var(--ease) .9s;
  }
  html.js.fonts-ready:not(.gc-capture) .hero__underline-echo { transition-delay: 1.1s; }
}
.hero__lead {
  font-size: clamp(1.02rem, .5vw + .92rem, 1.2rem);
  color: rgba(243, 236, 223, .85);
  max-width: 46ch;
  line-height: 1.6;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
/* CTA principal plus présent dans le hero */
.hero__actions .btn { min-height: 56px; }
.hero__actions .btn--accent {
  font-size: 1.05rem;
  padding-inline: 1.9rem;
  box-shadow: 0 18px 40px -16px rgba(176, 126, 69, .85);
}
.hero__actions .btn--accent svg { width: 20px; height: 20px; }
/* Micro-réassurance sous les CTA : le meilleur risk-reversal du site, visible dès le hero */
.hero__note {
  margin: .85rem 0 0;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(243, 236, 223, .78);
}
.hero__proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin: 1.8rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(243, 236, 223, .18);
}
.hero__proof li {
  position: relative;
  padding-left: 1.3rem;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(243, 236, 223, .82);
}
.hero__proof li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brass);
}

/* Carte flottante hero */
.hero__card {
  align-self: end;
  justify-self: start;
  max-width: 340px;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(20, 15, 10, .55);
  border: 1px solid rgba(243, 236, 223, .16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}
.hero__card-label {
  margin: 0 0 .9rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brass-soft);
}
.hero__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.hero__card li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .97rem;
  font-weight: 500;
  color: #F3ECDF;
}
.hero__card svg { width: 20px; height: 20px; color: var(--brass-soft); }

/* ============ Bandeau de confiance ============ */
.trust { background: var(--ink-2); padding-block: clamp(1.8rem, 3.5vw, 2.8rem); }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.4rem 1rem;
}
.trust__item { display: flex; align-items: center; gap: .95rem; }
.trust__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(216, 181, 131, .3);
  color: var(--brass-soft);
  flex-shrink: 0;
}
.trust__icon svg { width: 24px; height: 24px; }
.trust__body { display: flex; flex-direction: column; line-height: 1.2; }
.trust__body strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--cream);
  font-variant-numeric: tabular-nums; /* pas de jitter pendant le count-up */
}
.trust__body em { font-style: normal; font-size: .88rem; color: var(--cream-soft); }

/* ============ Section head à deux colonnes (métiers, matières, etc.) ============ */
.metiers__head, .matieres__head, .gallery__head, .process__head, .reviews__head {
  display: grid;
  gap: 1rem 3rem;
  margin-bottom: clamp(2.4rem, 4.5vw, 3.8rem);
  align-items: end;
}
.metiers__intro, .matieres__intro, .gallery__intro, .process__intro {
  color: var(--fg-soft);
  font-size: 1.05rem;
  max-width: 44ch;
  margin: 0;
}

/* ============ Métiers ============ */
.metiers__grid {
  display: grid;
  gap: 1.3rem;
}
.metier {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.metier__media { position: absolute; inset: 0; z-index: 0; }
.metier__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
/* Scrim dégradé */
.metier::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(15, 11, 7, .9) 4%, rgba(15, 11, 7, .5) 42%, rgba(15, 11, 7, .12) 100%);
  transition: background .4s var(--ease);
}
/* Spotlight (suit le curseur, piloté par --mx/--my) */
.metier::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 30%), rgba(216, 181, 131, .22), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .metier:hover::after { opacity: 1; }
}
.metier__overlay {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 1.5rem 1.6rem;
  color: #F3ECDF;
  width: 100%;
}
.metier__num {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--brass-soft);
  margin-bottom: .55rem;
}
.metier__num::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.metier__overlay h3 { color: #F8F1E6; margin: 0 0 .5rem; line-height: 1.05; }
.metier__overlay p {
  margin: 0;
  font-size: .95rem;
  color: rgba(243, 236, 223, .82);
  max-width: 34ch;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease), opacity .35s var(--ease), margin-top .45s var(--ease);
}
.metier__link {
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(243, 236, 223, .4);
  color: #F3ECDF;
  background: rgba(20, 15, 10, .3);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.metier__link svg { transition: transform .3s var(--ease); }
.metier__link:hover { background: var(--brass); border-color: var(--brass); color: #221913; }
.metier__link:hover svg { transform: translateX(3px); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .metier:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    outline: 1.5px solid rgba(207, 163, 99, .55);
    outline-offset: -1.5px;
  }
  .metier:hover .metier__overlay p,
  .metier:focus-within .metier__overlay p { max-height: 9rem; opacity: 1; margin-top: .4rem; }
}
.metier:focus-within { outline: 1.5px solid rgba(207, 163, 99, .55); outline-offset: -1.5px; }
/* Sans hover (tactile) : le texte descriptif reste visible — sans cap (textes DE/PT plus longs) */
@media (hover: none) {
  .metier__overlay p { max-height: none; opacity: 1; margin-top: .4rem; }
}
/* Mouvement réduit : afficher la description sans animation (sinon invisible sur desktop-souris) */
@media (prefers-reduced-motion: reduce) {
  .metier__overlay p { max-height: none; opacity: 1; margin-top: .4rem; transition: none; }
}

/* ============ Matières & finitions ============ */
.matieres__grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
.matiere {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(241, 231, 216, .1);
  box-shadow: var(--shadow);
}
.matiere img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.matiere::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 11, 7, .82) 0%, rgba(15, 11, 7, .1) 55%, rgba(15, 11, 7, 0) 100%);
}
.matiere__label {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 2;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.matiere__label strong {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: #F8F1E6;
}
.matiere__label span { font-size: .82rem; color: rgba(243, 236, 223, .78); }
/* Tuile signature (Noyer) : mise en avant par un liseré laiton + label renforcé */
.matieres__grid .matiere:first-child {
  border-color: rgba(207, 163, 99, .55);
  box-shadow: 0 0 0 1px rgba(207, 163, 99, .35), var(--shadow);
}
.matieres__grid .matiere:first-child .matiere__label { padding: 1.3rem 1.4rem; }
.matieres__grid .matiere:first-child .matiere__label strong { color: var(--brass-soft); font-size: 1.55rem; }
.matieres__grid .matiere:first-child .matiere__label span { font-size: .9rem; }
/* Zoom léger au survol des images — actif même en reduced-motion (interaction volontaire de l'utilisateur) */
@media (hover: hover) {
  .metier:hover .metier__media img { transform: scale(1.06); }
  .matiere:hover img { transform: scale(1.07); }
  .gallery__item:hover img { transform: scale(1.05); }
}

/* ============ Atelier / savoir-faire ============ */
.atelier { background: var(--lin-2); }
.atelier__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.atelier__media { margin: 0; position: relative; }
.atelier__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.atelier__media::before {
  content: "";
  position: absolute;
  inset: auto -16px -16px auto;
  width: 62%;
  height: 62%;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  opacity: .5;
  z-index: -1;
}
.atelier__body h2 { margin: 0 0 1rem; font-size: clamp(1.7rem, 1.7vw + .8rem, 2.35rem); }
.atelier__body > p { color: var(--fg-soft); font-size: 1.06rem; max-width: 46ch; }
.atelier__points {
  list-style: none;
  margin: 1.4rem 0 2rem;
  padding: 0;
  display: grid;
  gap: .75rem;
}
.atelier__points li { display: flex; align-items: flex-start; gap: .7rem; font-weight: 500; }
.atelier__points svg { color: var(--accent-ink); margin-top: .2rem; }

/* ============ Réalisations / galerie ============ */
.gallery__grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
.gallery__item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery__item img {
  width: 100%; height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery__item figcaption {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 2;
  padding: 1.1rem 1.3rem;
  display: flex;
  flex-direction: column;
  color: #F3ECDF;
  pointer-events: none; /* les clics traversent vers le lien zoom */
}
.gallery__zoom { display: block; height: 100%; cursor: zoom-in; }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 11, 7, .8) 0%, rgba(15, 11, 7, .05) 48%, rgba(15, 11, 7, 0) 100%);
  pointer-events: none;
}
.gallery__item figcaption strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.gallery__item figcaption span { font-size: .84rem; color: rgba(243, 236, 223, .78); }
.gallery__cta { margin: clamp(1.8rem, 3vw, 2.6rem) 0 0; text-align: center; }

/* ============ Processus ============ */
/* Cote de mesure : baseline + ticks de mètre ruban, "posé au millimètre" rendu littéral.
   Remplace l'ancien filet .step::before (règle Chanel : un seul trait technique par section). */
.process__rule {
  position: relative;
  height: 16px;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--accent);
  opacity: .38;
}
.process__rule::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transform-origin: left;
}
.process__rule::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 160px) 0 0 / 100% 16px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 40px) 0 0 / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 8px) 0 0 / 100% 5px no-repeat;
}

.process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.3rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: clamp(1.6rem, 2.5vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--lin);
  color: var(--accent-ink);
}
.step__icon svg { width: 27px; height: 27px; }
.step__num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  opacity: .45;
}
.step h3 { margin: 0 0 .5rem; }
.step p { color: var(--fg-soft); margin: 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
}
/* CTA discret de fin de section — même langage que .reviews__all */
.process__cta { margin: clamp(1.8rem, 3vw, 2.4rem) 0 0; text-align: center; }
.process__cta a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  color: var(--accent-ink);
  text-decoration: none;
}
.process__cta a:hover { text-decoration: underline; }
.process__cta a svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.process__cta a:hover svg { transform: translateX(3px); }

/* ============ Avis (section sombre) ============ */
/* .reviews__head : 1 colonne sous 768px (hérite de la règle partagée), 2 colonnes au-delà */
.reviews__all {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  color: var(--brass-soft);
  text-decoration: none;
  white-space: nowrap;
}
.reviews__all:hover { text-decoration: underline; }
.reviews__all svg { transition: transform .25s var(--ease); }
.reviews__all:hover svg { transform: translateX(3px); }

/* Note agrégée — la preuve sociale devient vérifiable */
.reviews__badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 1.1rem 0 0;
  font-weight: 700;
  font-size: .92rem;
  color: var(--brass-soft);
}
.reviews__badge svg { width: 16px; height: 16px; }

.reviews__grid {
  display: grid;
  gap: clamp(1.1rem, 2vw, 1.6rem);
  grid-template-columns: 1fr;
}
.review {
  margin: 0;
  padding: clamp(1.7rem, 2.5vw, 2.1rem);
  background: var(--ink-card);
  border: 1px solid rgba(241, 231, 216, .1);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.review__stars { display: flex; gap: .2rem; color: var(--brass-soft); margin-bottom: 1rem; }
.review__stars svg { width: 17px; height: 17px; }
.review p {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.5;
  font-weight: 400;
  flex: 1;
}
.review footer { display: flex; flex-direction: column; gap: .1rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid rgba(241, 231, 216, .12); }
.review footer strong { color: var(--cream); font-family: var(--sans); font-weight: 700; }
.review footer span { color: var(--cream-soft); font-size: .86rem; }
.review footer .review__src { font-size: .76rem; opacity: .75; margin-top: .15rem; }

/* ============ FAQ ============ */
.faq { background: var(--lin-2); }
.faq__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.faq__intro h2 { margin: 0 0 1rem; }
.faq__intro > p { color: var(--fg-soft); max-width: 34ch; margin-bottom: 1.6rem; }
.faq__list { display: grid; gap: 1rem; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq__item:hover { border-color: rgba(169, 116, 60, .38); }
.faq__item[open] { border-color: rgba(169, 116, 60, .5); box-shadow: var(--shadow); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.3rem 1.5rem;
  min-height: 62px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  color: var(--fg);
}
.faq__item summary::-webkit-details-marker { display: none; }
/* Icône +/− élégante, dessinée en CSS */
.faq__pm {
  position: relative;
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--accent-ink);
}
.faq__pm::before, .faq__pm::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq__pm::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq__pm::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__pm::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__item p { padding: 0 1.5rem 1.35rem; margin: 0; color: var(--fg-soft); }
@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] p { animation: faqReveal .34s var(--ease); }
}
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ============ CTA final + contact ============ */
.cta { overflow: clip; }
.cta__media { position: absolute; inset: 0; z-index: 0; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
/* Ken Burns lentissime : le veinage "respire" — l'unique boucle ambiante du site.
   Desktop + motion OK seulement ; play-state piloté par l'IO de #contact (pas de couche GPU vive hors écran). */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  @keyframes ctaDrift {
    from { transform: scale(1.01); }
    to { transform: scale(1.05) translate3d(0, -1.2%, 0); }
  }
  .cta__media img {
    animation: ctaDrift 36s ease-in-out alternate infinite;
    animation-play-state: paused;
  }
  .cta.in-view .cta__media img { animation-play-state: running; }
}
.cta__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 10, 7, .92) 0%, rgba(14, 10, 7, .82) 40%, rgba(14, 10, 7, .6) 100%),
    linear-gradient(0deg, rgba(14, 10, 7, .5), rgba(14, 10, 7, .5));
}
.cta__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2.2rem, 5vw, 4rem);
  align-items: center;
}
.cta__intro h2 { margin: 0 0 1rem; }
.cta__lead { color: var(--cream-soft); max-width: 40ch; }
.contact-list {
  list-style: none;
  margin: 1.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.05rem;
}
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--brass-soft); margin-top: .15rem; flex-shrink: 0; }
.contact-list span { display: flex; flex-direction: column; color: var(--cream); }
.contact-list strong {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream-soft);
  margin-bottom: .15rem;
}
.contact-list a { color: var(--cream); text-decoration-color: rgba(216, 181, 131, .5); }
.contact-list a:hover { color: var(--brass-soft); }

.cta__form {
  background: rgba(28, 21, 15, .78);
  border: 1px solid rgba(241, 231, 216, .16);
  border-top: 2px solid rgba(207, 163, 99, .6);
  border-radius: var(--radius);
  padding: clamp(1.7rem, 3vw, 2.5rem);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}
.form-row { margin-bottom: 1.15rem; }
.form-row--split { display: grid; gap: 1.15rem; }
.cta__form label {
  display: block;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .02em;
  margin-bottom: .45rem;
  color: var(--cream);
}
.cta__form input, .cta__form select, .cta__form textarea {
  width: 100%;
  min-height: 54px;
  padding: .85rem 1rem;
  border-radius: 11px;
  border: 1px solid rgba(241, 231, 216, .45); /* ≥3:1 WCAG 1.4.11 */
  background: rgba(241, 231, 216, .06);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1.02rem;
}
.cta__form textarea { resize: vertical; min-height: 104px; }
.cta__form .btn--full { min-height: 56px; margin-top: .3rem; font-size: 1.02rem; }
.cta__form input::placeholder, .cta__form textarea::placeholder { color: rgba(200, 186, 164, .85); } /* ≥4.5:1 */
.cta__form input:focus, .cta__form select:focus, .cta__form textarea:focus {
  outline: 2px solid var(--brass-soft);
  outline-offset: 1px;
  border-color: transparent;
}
.cta__form select { color: var(--cream); }
.cta__form select option { color: #241C14; background: #F1EADE; }
.cta__form-note { margin: .9rem 0 0; font-size: .82rem; color: var(--cream-soft); text-align: center; }
.form-confirm {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 1rem 0 0;
  padding: .9rem 1.1rem;
  border-radius: 11px;
  background: rgba(216, 181, 131, .14);
  border: 1px solid rgba(216, 181, 131, .4);
  color: var(--brass-soft);
  font-weight: 500;
}
.form-confirm[hidden] { display: none; }
.form-confirm svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Erreurs inline (remplacent les bulles natives du navigateur) */
.cta__form .is-invalid { border-color: rgba(201, 111, 74, .9); }
.field-error {
  margin: .45rem 0 0;
  font-size: .84rem;
  font-weight: 500;
  color: #E08A66;
}
.field-error[hidden] { display: none; }

/* ============ Footer ============ */
.footer { background: var(--ink-2); padding-top: clamp(3rem, 5vw, 4.5rem); }
.footer__grid {
  display: grid;
  gap: 2.4rem;
  padding-bottom: clamp(2.2rem, 4vw, 3rem);
  grid-template-columns: 1fr;
}
.brand--footer { margin-bottom: 1.1rem; }
.brand--footer .brand__mark { color: var(--brass-soft); }
.brand--footer .brand__type strong { color: var(--cream); }
.brand--footer .brand__type em { color: var(--cream-soft); }
.footer__brand p { color: var(--cream-soft); font-size: .95rem; max-width: 32ch; }
.footer h3 {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin: 0 0 1rem;
}
.footer__col { display: flex; flex-direction: column; gap: .5rem; }
.footer__col a { color: var(--cream); text-decoration: none; font-size: .95rem; }
.footer__col a:hover { color: var(--brass-soft); text-decoration: underline; }
.footer__contact p { color: var(--cream-soft); font-size: .95rem; margin: 0 0 .6rem; }
.footer__contact a { color: var(--cream); }

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(241, 231, 216, .12);
}
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; }
.footer__links a { color: var(--cream-soft); text-decoration: none; font-size: .88rem; }
.footer__links a:hover { color: var(--brass-soft); text-decoration: underline; }
/* Assinatura numa só linha, na barra legal (fonte técnica, tom apagado) */
.footer__copy {
  margin: 0;
  font-family: 'Courier New', monospace;
  font-size: .78rem;
  color: var(--cream-soft);
  text-align: center;
}
.footer__copy a { color: var(--cream-soft); }
.footer__copy a:hover { color: var(--brass-soft); }
.footer__social { display: flex; gap: .4rem; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(241, 231, 216, .18);
  color: var(--cream-soft);
  transition: color .2s, border-color .2s, background-color .2s;
}
.footer__social a:hover { color: var(--brass-soft); border-color: rgba(207, 163, 99, .5); background: rgba(207, 163, 99, .1); }
.footer__social svg { width: 20px; height: 20px; }

/* ============ Lightbox réalisations (dialog natif) ============ */
.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 1080px);
  overflow: visible;
}
.lightbox::backdrop { background: rgba(14, 10, 7, .9); }
.lightbox__fig { margin: 0; }
.lightbox__fig img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox__fig figcaption {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  padding: .9rem .2rem 0;
  color: #F3ECDF;
}
.lightbox__fig figcaption strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.lightbox__fig figcaption span { font-size: .84rem; color: rgba(243, 236, 223, .78); }
.lightbox__close {
  position: absolute;
  top: .6rem; right: .6rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(243, 236, 223, .35);
  background: rgba(20, 15, 10, .6);
  color: #F3ECDF;
  cursor: pointer;
  transition: background-color .2s;
}
.lightbox__close:hover { background: rgba(20, 15, 10, .85); }
.lightbox__close svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: lbIn .3s var(--ease); }
  .lightbox[open]::backdrop { animation: lbFade .25s ease-out; }
}
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }

/* ============ Reveal on scroll ============ */
/* Fondu d'entrée actif dans LES DEUX modes (l'opacité est motion-safe) — visible même quand
   l'OS a "réduire les animations" activé. La translation + le flou ne s'ajoutent que si le
   mouvement est autorisé. Masqué uniquement si le JS a démarré (html.js) — sans JS, tout reste visible. */
html.js.reveal-ready .gc-reveal {
  opacity: 0;
  transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease);
}
html.js.reveal-ready .gc-reveal.is-visible,
.gc-reveal.is-visible { opacity: 1; }
/* Stagger : dans les grilles ET dans les en-têtes (titre → intro) — chaque section entre en séquence */
html.js.reveal-ready .gc-reveal.is-visible { transition-delay: var(--d, 0ms); }

@media (prefers-reduced-motion: no-preference) {
  html.js.reveal-ready .gc-reveal { transform: translateY(46px); filter: blur(6px); }
  html.js.reveal-ready .gc-reveal.is-visible { transform: none; filter: none; }

  /* Les conteneurs d'images ne transitionnent plus filter (blur GPU coûteux) — le texte le garde */
  html.js.reveal-ready .metiers__grid .gc-reveal,
  html.js.reveal-ready .matieres__grid .gc-reveal,
  html.js.reveal-ready .gallery__grid .gc-reveal,
  html.js.reveal-ready .atelier__media,
  html.js.reveal-ready .cta__form {
    filter: none;
    transition: opacity .8s var(--ease), transform .8s var(--ease);
  }

  /* Trait d'équerre : les filets bronze des eyebrows se tracent juste après le reveal du bloc */
  html.js.reveal-ready .gc-reveal .eyebrow::before {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .6s var(--ease);
    transition-delay: calc(var(--d, 0ms) + .45s);
  }
  html.js.reveal-ready .gc-reveal.is-visible .eyebrow::before { transform: scaleX(1); }

  /* Cote de mesure du processus : la baseline se trace, puis les ticks apparaissent */
  html.js.reveal-ready .process__rule { opacity: .38; transform: none; filter: none; }
  html.js.reveal-ready .process__rule::before { transform: scaleX(0); transition: transform 1.2s var(--ease); }
  html.js.reveal-ready .process__rule.is-visible::before { transform: scaleX(1); }
  html.js.reveal-ready .process__rule::after { opacity: 0; transition: opacity .9s var(--ease) .55s; }
  html.js.reveal-ready .process__rule.is-visible::after { opacity: 1; }

  /* "Tirer le drap" : rideau qui glisse pour révéler les photos (matières & réalisations) */
  html.js.reveal-ready .gc-wipe { opacity: 1; transform: none; filter: none; }
  html.js.reveal-ready .gc-wipe::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    background: var(--lin); /* remappé vers --ink dans .section--dark : rideau couleur de la bande */
    transform: scaleX(1);
    transform-origin: right;
    transition: transform .9s var(--ease);
    transition-delay: var(--d, 0ms);
    pointer-events: none;
  }
  html.js.reveal-ready .gc-wipe.is-visible::before { transform: scaleX(0); }
  html.js.reveal-ready .gc-wipe:not(.is-visible) img { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  /* Le fondu d'opacité reste (motion-safe) ; on neutralise seulement les mouvements accessoires */
  .an-lang__menu { transform: none; transition-property: opacity, visibility; }
  .btn:hover, .btn:active { transform: none; }
}

/* ============ Mode capture (gridcore-capture) ============ */
html.gc-capture .gc-reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
html.gc-capture *, html.gc-capture *::before, html.gc-capture *::after { animation: none !important; transition: none !important; }
html.gc-capture .header { position: absolute; }
html.gc-capture .metier__overlay p { max-height: 6rem !important; opacity: 1 !important; margin-top: .4rem !important; }
html.gc-clean .gc-demobar { display: none; }
html.gc-clean [data-capture-first-only] .matiere:nth-child(n+2),
html.gc-clean [data-capture-first-only] .gallery__item:nth-child(n+2) { display: none; }

/* ============================================================
   Breakpoints — mobile-first
   ============================================================ */

/* ≥ 600px */
@media (min-width: 600px) {
  .form-row--split { grid-template-columns: 1fr 1fr; }
  .matieres__grid { grid-template-columns: 1fr 1fr; }
  /* Noyer en bandeau pleine largeur (feature) sur tablette */
  .matieres__grid .matiere:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
  .trust__grid { gap: 1.6rem 2rem; }
  .footer__legal { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* Mobile : pas de flou vif sous la carte hero (fond en parallax) — coût GPU */
@media (max-width: 767px) {
  .hero__card { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(20, 15, 10, .82); }
}

/* Mobile court : evite l'impression de page bloquee sur le hero */
@media (max-width: 599px) {
  .container,
  .hero__inner,
  .header__inner {
    width: min(100% - 2rem, var(--maxw));
  }

  .hero {
    min-height: auto;
    overflow: hidden;
  }

  .hero__inner {
    gap: 1rem;
    padding-top: calc(var(--header-h) + 1.2rem);
    padding-bottom: 1.7rem;
  }

  .hero h1 {
    max-width: 13.5ch;
    font-size: clamp(1.95rem, 8vw, 2.18rem);
    line-height: 1.05;
    letter-spacing: 0;
    text-wrap: pretty;
  }

  .hero__lead {
    max-width: 31ch;
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero__actions {
    gap: .65rem;
    margin-top: 1.05rem;
  }

  .hero__proof {
    gap: .35rem 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
  }

  .hero__proof li {
    padding-left: 1rem;
    font-size: .84rem;
  }

  /* Barre demo : une seule ligne en mobile (police qui s'adapte pour ne jamais déborder) */
  .gc-demobar { padding: .5rem .7rem; }
  .gc-demobar__txt {
    min-width: 0;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(.58rem, 2.7vw, .8rem);
  }

  .hero__card {
    display: none;
  }
}

/* ≥ 768px — tablette */
@media (min-width: 768px) {
  .metiers__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__item--lead { grid-column: 1 / -1; }
  .gallery__item--lead img { aspect-ratio: 2 / 1; }
  .process__steps { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; }
  .metiers__head, .matieres__head, .gallery__head, .process__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .reviews__head { grid-template-columns: 1fr auto; }
  .reviews__grid { grid-template-columns: repeat(3, 1fr); }
  .atelier__grid { grid-template-columns: 1.12fr .88fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
  .faq__grid { grid-template-columns: .82fr 1.18fr; }
}

/* ≥ 1000px — desktop */
@media (min-width: 1000px) {
  /* Header : Logo à gauche · Menu centré · (Langue + CTA) à droite */
  .header__inner { position: relative; }
  .nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }
  .an-lang { order: 1; margin-left: auto; }
  .nav__cta { order: 2; }

  .hero__inner { grid-template-columns: 1.5fr 1fr; align-items: end; }
  .hero__copy { padding-bottom: .5rem; }
  .metiers__grid { grid-template-columns: repeat(4, 1fr); }
  .metier { min-height: 440px; }
  /* Mosaïque matières : Noyer 2×2 (feature), 4 petites tuiles */
  .matieres__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(0, 1fr); }
  .matiere { aspect-ratio: 1; }
  .matieres__grid .matiere:first-child { grid-column: 1 / span 2; grid-row: 1 / span 2; aspect-ratio: auto; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; }
  .gallery__item--lead { grid-column: 1 / 3; grid-row: span 2; }
  .gallery__item--lead img { aspect-ratio: auto; height: 100%; }
  .gallery__item:not(.gallery__item--lead) img { aspect-ratio: 3 / 2; }
  .cta__grid { grid-template-columns: 1fr 1fr; }
  .cta__form { max-width: 480px; justify-self: end; width: 100%; }
}

/* ≥ 1280px */
@media (min-width: 1280px) {
  .metier { min-height: 480px; }
}

/* < 1000px — menu mobile : header = Logo | FR ▾ | Menu */
@media (max-width: 999.98px) {
  .burger { display: inline-flex; }
  /* Le panneau déroulant est le wrapper menu+CTA */
  .header__collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--lin);
    border-bottom: 1px solid var(--line);
    padding: .6rem 1.25rem 1.3rem;
    box-shadow: 0 26px 42px -26px rgba(22, 17, 12, .5);
  }
  .header.nav-open .header__collapse { display: flex; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav > a {
    padding: .9rem .2rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav > a::after { display: none; }
  .nav__cta { margin-top: 1rem; justify-content: center; }
  .nav__tel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: .7rem;
    min-height: 48px;
    font-weight: 600;
    color: var(--fg);
    text-decoration: none;
  }
  .nav__tel svg { width: 18px; height: 18px; color: var(--accent-ink); }

  /* CTA compact visible dès que le header devient solide (hors menu ouvert / section contact) */
  .header.is-solid:not(.nav-open):not(.at-contact) .header__cta-mini { display: inline-flex; }
  .header.is-solid:not(.nav-open):not(.at-contact) .an-lang { display: none; }

  /* En menu ouvert, forcer le contexte clair même si header transparent */
  .header.nav-open { background: rgba(241, 234, 222, .98); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .header.nav-open .brand__type strong,
  .header.nav-open .brand__type em,
  .header.nav-open .brand__mark,
  .header.nav-open .burger { color: var(--fg); }
  .header.nav-open .burger { border-color: var(--line); }
  .header.nav-open .nav > a { color: var(--fg); }
  .header.nav-open .nav__cta { border-color: var(--fg); color: var(--fg); }
  .header.nav-open .brand__mark { color: var(--accent); }
  .header.nav-open .an-lang__btn { color: var(--fg); border-color: var(--line); }

  .header.nav-open .burger__open { display: none; }
  .header.nav-open .burger__close { display: block; }

  /* Menu ouvert : le fond ne défile plus derrière le panneau */
  html.menu-locked { overflow: hidden; }

  /* Dropdown langue toujours dans la barre, avant le burger */
  .an-lang { margin-left: auto; margin-right: .1rem; }
}

/* Très petits écrans */
@media (max-width: 380px) {
  .brand__type em { display: none; }
  .hero__actions .btn { width: 100%; }
  .hero__card { max-width: 100%; }
}

/* Mobile paysage : le hero ne coupe pas le CTA */
@media (max-height: 560px) and (orientation: landscape) {
  .hero { min-height: auto; }
}

/* Écrans très larges */
@media (min-width: 1600px) {
  .hero { min-height: 820px; }
}

/* ============================================================
   Polish mobile (≤ 767px) — lisibilité, respiration, rythme.
   Le desktop (≥ 1000px) validé n'est PAS touché.
   ============================================================ */

/* Mobile : pas de reveal au scroll → contenu affiché d'emblée (aucun "trou" vide même
   si l'observateur n'a pas encore révélé, ex. capture pleine page). */
@media (max-width: 767px) {
  html.js.reveal-ready .gc-reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  html.js.reveal-ready .gc-wipe::before { display: none !important; }
  html.js.reveal-ready .gc-wipe img { transform: none !important; }
}

@media (max-width: 599px) {
  :root { --header-h: 66px; }

  /* Hero : plus d'air en haut, CTA pleine largeur, preuves en grille 2 colonnes */
  .hero__inner {
    gap: 1.1rem;
    padding-top: calc(var(--header-h) + 1.9rem);
    padding-bottom: 2rem;
  }
  .hero h1 { margin-bottom: .9rem; }
  .hero__lead { margin-bottom: 0; }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: .7rem;
    margin-top: 1.3rem;
  }
  .hero__actions .btn { width: 100%; min-height: 54px; }
  .hero__note { margin-top: 1rem; }
  .hero__proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .55rem 1rem;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
  }

  /* Matières : mosaïque compacte (Noyer en vedette + 4 tuiles sur 2 colonnes) — plus de grand vide */
  .matieres__grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .matiere { aspect-ratio: 1; }
  .matieres__grid .matiere:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .matiere__label { padding: .75rem .85rem; }
  .matiere__label strong { font-size: 1.02rem; }
  .matiere__label span { font-size: .74rem; }
  .matieres__grid .matiere:first-child .matiere__label { padding: 1rem 1.1rem; }
  .matieres__grid .matiere:first-child .matiere__label strong { font-size: 1.35rem; }

  /* Métiers : plus d'espace entre les cartes */
  .metiers__grid { gap: 1.4rem; }
  .metier__overlay { padding: 1.4rem 1.5rem; }

  /* Galerie : rythme aéré */
  .gallery__grid { gap: 1.3rem; }

  /* Processus : la cote de mesure n'a pas de sens sur une seule colonne → retirée (moins de bruit) */
  .process__rule { display: none; }
  .process__steps { gap: 1.1rem; }

  /* Avis : plus de respiration interne */
  .review { padding: 1.7rem 1.6rem; }

  /* FAQ : items un peu plus espacés */
  .faq__list { gap: 1.1rem; }

  /* Formulaire : note un poil plus lisible */
  .cta__form-note { font-size: .84rem; }
}

/* Très petits écrans (≤ 360px) : matières en une colonne pour garder les libellés lisibles */
@media (max-width: 360px) {
  .matieres__grid { grid-template-columns: 1fr; }
  .matieres__grid .matiere:first-child { aspect-ratio: 16 / 10; }
  .matiere { aspect-ratio: 16 / 10; }
}
