/* =========================================================
   MAC-G — Roland Goulmy · Rénovation d'escalier & menuiserie
   Direction : « Bois & établi — chaleureux structuré »
   Bone chaud + ancrages walnut + orange committed (du logo).
   Bricolage Grotesque (display) + Hanken Grotesk (corps).
   Motif signature : la ligne de marche.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bone:        #F7F4EE;   /* clair neutre chaud (variante C — plus de fond bone editorial) */
  --bone-deep:   #EFEAE0;   /* sections alternées, léger cran */
  --paper:       #FEFDFB;   /* cartes quasi-blanches, nettes sur le fond */
  --ink:         #221E18;
  --ink-soft:    #5C5347;
  --ink-faint:   #857A6C;
  --hairline:    #E0D7C6;

  --orange:      #CC6A1C;
  --orange-deep: #B4590F;
  --orange-soft: #E79A54;
  --orange-tint: #F4E4D2;

  --walnut:      #33251A;
  --walnut-deep: #241910;
  --wood:        #8A5433;
  --on-dark:     #F3EADA;
  --on-dark-soft:#C6B7A2;
  --hairline-d:  rgba(243,234,218,.14);

  --font-display: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  --fs-display: clamp(2.4rem, 6vw, 5.25rem);
  --fs-h1:      clamp(2.1rem, 5vw, 3.6rem);
  --fs-h2:      clamp(1.7rem, 3.4vw, 2.7rem);
  --fs-h3:      clamp(1.2rem, 1.8vw, 1.5rem);
  --fs-lead:    clamp(1.06rem, 1.5vw, 1.28rem);
  --fs-body:    1.0625rem;
  --fs-small:   0.875rem;

  --radius-lg: 1.75rem;
  --radius-md: 1.15rem;
  --radius-sm: .7rem;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(51,37,26,.06), 0 2px 6px rgba(51,37,26,.05);
  --shadow-md: 0 18px 40px -26px rgba(51,37,26,.40);
  --shadow-lg: 0 40px 80px -40px rgba(51,37,26,.45);

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --dur: 640ms;

  --container: 1200px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
}

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.04; }
:focus-visible { outline: 2.5px solid var(--orange-deep); outline-offset: 3px; border-radius: 4px; }

/* Grain overlay (fixe, non-interactif — perf) */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; z-index: 2; padding-block: clamp(4rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--walnut { background: var(--walnut); color: var(--on-dark); }
.section--walnut h1, .section--walnut h2, .section--walnut h3 { color: var(--on-dark); }
.section--deep { background: var(--bone-deep); }

/* ---------- Eyebrow + ligne de marche ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em;
  font-size: .72rem; color: var(--orange-deep);
  margin-bottom: 1.15rem;
}
.section--walnut .eyebrow { color: var(--orange-soft); }
.eyebrow::before {
  content: ""; width: 26px; height: 12px; flex: none;
  background:
    linear-gradient(var(--orange),var(--orange)) 0 8px/9px 3px no-repeat,
    linear-gradient(var(--orange),var(--orange)) 8px 4px/9px 3px no-repeat,
    linear-gradient(var(--orange),var(--orange)) 16px 0/10px 3px no-repeat;
}

/* Souligné « ligne de marche » sous les gros titres */
.step-underline { position: relative; display: inline-block; }
.step-underline::after {
  content: ""; position: absolute; left: 0; right: -6%; bottom: -.5em; height: 15px;
  background:
    linear-gradient(var(--orange),var(--orange)) 0 10px/26px 4px no-repeat,
    linear-gradient(var(--orange),var(--orange)) 26px 5px/26px 4px no-repeat,
    linear-gradient(var(--orange),var(--orange)) 52px 0/40px 4px no-repeat;
  opacity: .9;
}

.title-accent { color: var(--orange-deep); }
.section--walnut .title-accent { color: var(--orange-soft); }

.section-head { max-width: 44rem; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.section-head p { color: var(--ink-soft); font-size: var(--fs-lead); margin-top: 1rem; }
.section--walnut .section-head p { color: var(--on-dark-soft); }

/* ---------- Buttons (island pill + button-in-button) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  font-weight: 600; font-size: .98rem;
  padding: .95rem 1.1rem .95rem 1.5rem;
  border-radius: var(--radius-pill);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  will-change: transform;
}
.btn:active { transform: scale(.975); }
.btn__ico {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.btn__ico svg { width: 16px; height: 16px; }

.btn--primary { background: var(--orange-deep); color: var(--paper); box-shadow: var(--shadow-md); }
.btn--primary .btn__ico { background: rgba(255,255,255,.18); }
.btn--primary:hover { background: #a04f0c; }
.btn--primary:hover .btn__ico { transform: translate(3px,-3px); background: rgba(255,255,255,.28); }

.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--hairline); padding-left: 1.35rem; }
.btn--ghost .btn__ico { background: var(--orange-tint); color: var(--orange-deep); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--orange); }
.btn--ghost:hover .btn__ico { transform: translate(3px,-3px); }

.section--walnut .btn--ghost { color: var(--on-dark); box-shadow: inset 0 0 0 1.5px var(--hairline-d); }
.section--walnut .btn--ghost .btn__ico { background: rgba(243,234,218,.12); color: var(--orange-soft); }
.section--walnut .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--orange-soft); }

.btn--lg { font-size: 1.05rem; padding: 1.1rem 1.25rem 1.1rem 1.7rem; }
.btn--lg .btn__ico { width: 38px; height: 38px; }

/* ---------- Nav (pill flottante) ---------- */
.nav-outer { position: sticky; top: 0; z-index: 40; padding-top: 1.1rem; }
.nav {
  width: min(var(--container), calc(100% - 2*var(--gutter)));
  margin-inline: auto;
  display: flex; align-items: center; gap: 1rem;
  padding: .55rem .65rem .55rem 1.1rem;
  background: rgba(251,248,242,.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(224,215,198,.7);
}
.nav__brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.03em; margin-right: auto; }
.nav__brand img { height: 50px; width: auto; object-fit: contain; }
.nav__brand span { color: var(--ink); }
.nav__links { display: flex; align-items: center; gap: .3rem; }
.nav__links a {
  padding: .55rem .85rem; border-radius: var(--radius-pill);
  font-weight: 500; font-size: .95rem; color: var(--ink-soft);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); background: var(--bone-deep); }
.nav__cta { display: inline-flex; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--bone-deep); place-items: center; }
.nav__burger span { display: block; width: 19px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav__burger span + span { margin-top: 5px; }

/* Mobile overlay */
.nav-mobile {
  position: fixed; inset: 0; z-index: 39;
  background: rgba(35,30,24,.55);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
  display: grid; align-content: center; justify-items: start;
  padding: 6rem var(--gutter) 2rem;
  gap: .3rem;
}
.nav-mobile a {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem,7vw,2.8rem);
  color: var(--on-dark); padding: .35rem 0;
  transform: translateY(24px); opacity: 0;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-mobile .nav-mobile__meta { margin-top: 1.6rem; font-family: var(--font-body); font-size: 1.05rem; color: var(--on-dark-soft); font-weight: 500; }
.nav-mobile .nav-mobile__meta a { font-family: var(--font-body); font-size: 1.15rem; color: var(--orange-soft); font-weight: 600; }
body.menu-open { overflow: hidden; }
body.menu-open .nav-mobile { opacity: 1; visibility: visible; }
body.menu-open .nav-mobile a { transform: translateY(0); opacity: 1; }
body.menu-open .nav-mobile a:nth-child(1){ transition-delay: 80ms; }
body.menu-open .nav-mobile a:nth-child(2){ transition-delay: 130ms; }
body.menu-open .nav-mobile a:nth-child(3){ transition-delay: 180ms; }
body.menu-open .nav-mobile a:nth-child(4){ transition-delay: 230ms; }
body.menu-open .nav-mobile a:nth-child(5){ transition-delay: 280ms; }
body.menu-open .nav__burger span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2){ opacity: 0; }
body.menu-open .nav__burger span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 2; padding-top: clamp(2.5rem,5vw,4rem); padding-bottom: clamp(3.5rem,7vw,6rem); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.hero__title { font-size: var(--fs-display); font-weight: 800; }
.hero__title .l2 { display: block; }
.hero__lead { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 34ch; margin-top: 1.6rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.4rem 1.8rem; margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid var(--hairline); }
.hero__trust .ht { display: flex; flex-direction: column; }
.hero__trust .ht b { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; font-feature-settings: 'tnum' 1; line-height: 1; }
.hero__trust .ht span { font-size: .82rem; color: var(--ink-faint); margin-top: .35rem; letter-spacing: .01em; }

/* Cadre bois double-bezel */
/* Variante C — cadre plat + filet orange « nez de marche » (plus de double-bezel) */
.frame {
  border-radius: var(--radius-md);
  border-top: 3px solid var(--orange);
  box-shadow: var(--shadow-lg);
  overflow: hidden; background: var(--paper);
}
.frame__inner {
  overflow: hidden; position: relative;
}
/* Mosaïque secondaire (split) : garder plat mais sans filet orange partout (évite la surcharge) */
.split__media .frame:not(:first-child) { border-top: 0; }
.frame__inner img { width: 100%; height: 100%; object-fit: cover; }

.hero__figure { position: relative; }
.hero__figure .frame__inner { aspect-ratio: 4/5; }
.hero__badge {
  position: absolute; left: -18px; bottom: 24px; z-index: 3;
  display: flex; align-items: center; gap: .7rem;
  background: var(--paper); padding: .7rem 1rem .7rem .75rem;
  border-radius: var(--radius-pill); box-shadow: var(--shadow-md);
}
.hero__badge img { width: 46px; height: 46px; object-fit: contain; }
.hero__badge b { font-family: var(--font-display); font-size: .95rem; display: block; line-height: 1.1; }
.hero__badge span { font-size: .72rem; color: var(--ink-faint); }

/* ---------- Trust strip ---------- */
.strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--hairline); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.strip .cell { background: var(--paper); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .3rem; }
.strip .cell b { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; font-feature-settings: 'tnum' 1; color: var(--ink); line-height: 1; }
.strip .cell .lb { font-size: .86rem; color: var(--ink-soft); }
.strip .cell .ico { color: var(--orange-deep); margin-bottom: .5rem; }
.strip .cell .ico svg { width: 24px; height: 24px; }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(12,1fr); gap: clamp(1rem,2vw,1.5rem); }
.svc { position: relative; background: var(--paper); border-radius: var(--radius-md); border-top: 3px solid var(--orange); box-shadow: var(--shadow-md); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); overflow: hidden; }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc__inner { overflow: hidden; background: var(--paper); display: flex; flex-direction: column; height: 100%; }
.svc__media { position: relative; overflow: hidden; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.045); }
.svc__tag { position: absolute; top: 1rem; left: 1rem; background: rgba(251,248,242,.92); color: var(--orange-deep); font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; padding: .4rem .8rem; border-radius: var(--radius-pill); }
.svc__body { padding: clamp(1.5rem,2.5vw,2.2rem); display: flex; flex-direction: column; flex: 1; }
.svc__body h3 { font-size: clamp(1.4rem,2.2vw,1.9rem); }
.svc__body p { color: var(--ink-soft); margin-top: .75rem; }
.svc__list { margin-top: 1.2rem; display: flex; flex-direction: column; gap: .55rem; }
.svc__list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .96rem; color: var(--ink-soft); }
.svc__list svg { width: 18px; height: 18px; color: var(--orange-deep); flex: none; margin-top: .18rem; }
.svc__foot { margin-top: auto; padding-top: 1.5rem; }
.svc--lg { grid-column: span 7; }
.svc--sm { grid-column: span 5; }
.svc--lg .svc__media { aspect-ratio: 16/10; }
.svc--sm .svc__media { aspect-ratio: 16/11; }

/* ---------- Spécialité (texte + photos) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,4rem); align-items: center; }
.split__media { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 1rem; align-items: start; }
.split__media .frame { align-self: start; }
.split__media .frame:first-child { grid-column: span 2; }
.split__media .frame__inner { aspect-ratio: 16/10; }
.split__media .frame:not(:first-child) .frame__inner { aspect-ratio: 1/1; }
.prose h2 { font-size: var(--fs-h2); }
.prose > p { color: var(--ink-soft); font-size: var(--fs-lead); margin-top: 1.2rem; }
.prose .btn { margin-top: 1.8rem; }
.feature-row { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 1.1rem; }
.feature-row .fr { display: flex; gap: .9rem; }
.feature-row .fr__ic { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--orange-tint); color: var(--orange-deep); display: grid; place-items: center; }
.feature-row .fr__ic svg { width: 21px; height: 21px; }
.feature-row .fr h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; }
.feature-row .fr p { color: var(--ink-soft); font-size: .95rem; margin-top: .2rem; }

/* ---------- Transformation avant/après ---------- */
.transform-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1rem,2.5vw,1.8rem); }
.tcard { background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.tcard__media { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.tcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tcard:hover img { transform: scale(1.05); }
.tcard__label { position: absolute; top: .9rem; left: .9rem; background: var(--walnut); color: var(--on-dark); font-size: .74rem; font-weight: 600; letter-spacing: .06em; padding: .35rem .75rem; border-radius: var(--radius-pill); }
.tcard__cap { padding: 1.1rem 1.25rem 1.3rem; }
.tcard__cap b { font-family: var(--font-display); font-size: 1.05rem; }
.tcard__cap p { color: var(--ink-soft); font-size: .9rem; margin-top: .25rem; }

/* ---------- Process en marches ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1rem,2vw,1.4rem); align-items: end; }
.step { background: var(--paper); border-radius: var(--radius-md); padding: 1.6rem 1.4rem 1.7rem; box-shadow: var(--shadow-sm); position: relative; border-top: 3px solid var(--orange); }
.steps .step:nth-child(1){ margin-bottom: 0; }
.steps .step:nth-child(2){ margin-bottom: 1.4rem; }
.steps .step:nth-child(3){ margin-bottom: 2.8rem; }
.steps .step:nth-child(4){ margin-bottom: 4.2rem; }
.step__n { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--orange-deep); font-feature-settings: 'tnum' 1; }
.step h4 { font-family: var(--font-display); font-size: 1.18rem; margin-top: .5rem; }
.step p { color: var(--ink-soft); font-size: .92rem; margin-top: .5rem; }
.steps-note { margin-top: 2.4rem; display: inline-flex; align-items: center; gap: .7rem; font-size: 1rem; color: var(--ink-soft); background: var(--paper); padding: .8rem 1.2rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); }
.steps-note svg { width: 20px; height: 20px; color: var(--orange-deep); }
.steps-note b { color: var(--ink); }

/* ---------- Maître Artisan band ---------- */
.ma { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.ma__badge { display: grid; place-items: center; }
.ma__badge img { width: clamp(120px,16vw,190px); height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.ma__proofs { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2rem; }
.ma__proofs .p b { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--on-dark); font-feature-settings: 'tnum' 1; }
.ma__proofs .p span { color: var(--on-dark-soft); font-size: .92rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 210px; gap: clamp(.8rem,1.6vw,1.2rem); }
.gitem { border-radius: var(--radius-md); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gitem:hover img { transform: scale(1.06); }
.gitem--tall { grid-row: span 2; }
.gitem--wide { grid-column: span 2; }
.gitem__cap { position: absolute; inset: auto 0 0 0; padding: 1.5rem .9rem .7rem; font-size: .78rem; color: #fff; background: linear-gradient(transparent, rgba(20,14,8,.72)); opacity: 0; transition: opacity var(--dur) var(--ease); }
.gitem:hover .gitem__cap { opacity: 1; }

/* Duo réalisations (galerie réduite — 2 cartes Variante C) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem,2.5vw,1.8rem); max-width: 860px; margin-inline: auto; }
.duo__card { background: var(--paper); border-radius: var(--radius-md); border-top: 3px solid var(--orange); box-shadow: var(--shadow-md); overflow: hidden; transition: transform var(--dur) var(--ease); }
.duo__card:hover { transform: translateY(-4px); }
.duo__media { aspect-ratio: 4/5; overflow: hidden; }
.duo__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.duo__card:hover .duo__media img { transform: scale(1.045); }
.duo__cap { padding: 1.1rem 1.35rem 1.4rem; }
.duo__cap b { font-family: var(--font-display); font-size: 1.18rem; display: block; margin-bottom: .25rem; }
.duo__cap span { color: var(--ink-soft); font-size: .93rem; }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- Zone d'intervention ---------- */
.zone { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.zone__cities { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.zone__cities span { background: var(--paper); border: 1px solid var(--hairline); padding: .5rem 1rem; border-radius: var(--radius-pill); font-size: .92rem; color: var(--ink-soft); }
.zone__cities span.is-main { background: var(--orange-tint); border-color: transparent; color: var(--orange-deep); font-weight: 600; }
.zone__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; background: var(--bone-deep); }
.zone__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) sepia(.12) saturate(1.1); }

/* ---------- CTA band ---------- */
.ctaband { position: relative; z-index: 2; }
.ctaband__inner { background: var(--walnut); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(2.5rem,5vw,4rem); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.ctaband__inner h2 { color: var(--on-dark); font-size: var(--fs-h2); max-width: 20ch; }
.ctaband__inner p { color: var(--on-dark-soft); margin-top: .8rem; }
.ctaband__actions { display: flex; flex-direction: column; gap: .8rem; }
.ctaband .btn--primary { background: var(--orange); }
.ctaband .btn--primary:hover { background: var(--orange-soft); }
.ctaband__phone { font-family: var(--font-display); font-size: clamp(1.4rem,2.2vw,1.9rem); color: var(--on-dark); font-feature-settings: 'tnum' 1; letter-spacing: -.01em; }
.ctaband__phone span { display:block; font-family: var(--font-body); font-size: .8rem; font-weight: 500; color: var(--on-dark-soft); letter-spacing: .04em; text-transform: uppercase; margin-bottom:.2rem;}

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border-radius: var(--radius-md); border-top: 3px solid var(--orange); box-shadow: var(--shadow-lg); overflow: hidden; }
.form-card__inner { background: var(--paper); padding: clamp(1.5rem,3vw,2.5rem); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .45rem; }
.field label .req { color: var(--orange-deep); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--bone); border: 1.5px solid var(--hairline); border-radius: var(--radius-sm);
  padding: .8rem .95rem; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-tint); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: .82rem; color: var(--ink-faint); margin-top: .3rem; }
.form-card .btn--primary { width: 100%; justify-content: center; margin-top: .5rem; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.3rem; }
.contact-info .ci { display: flex; gap: .95rem; align-items: flex-start; }
.contact-info .ci__ic { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--orange-tint); color: var(--orange-deep); display: grid; place-items: center; }
.contact-info .ci__ic svg { width: 22px; height: 22px; }
.contact-info .ci b { font-family: var(--font-display); font-size: 1.02rem; }
.contact-info .ci a, .contact-info .ci p { color: var(--ink-soft); }
.contact-info .ci a:hover { color: var(--orange-deep); }

/* ---------- Page hero (services / à-propos / contact) ---------- */
.phero { position: relative; z-index: 2; padding-top: clamp(2.5rem,5vw,3.5rem); }
.phero__inner { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: clamp(320px,45vw,440px); display: flex; align-items: flex-end; box-shadow: var(--shadow-lg); }
.phero__inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.phero__inner::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,14,8,.78) 0%, rgba(20,14,8,.5) 45%, rgba(20,14,8,.15) 100%); }
.phero__content { position: relative; z-index: 2; padding: clamp(1.8rem,4vw,3rem); max-width: 40rem; }
.phero__content h1 { color: var(--on-dark); font-size: var(--fs-h1); text-shadow: 0 2px 30px rgba(10,8,4,.55); }
.phero__content p { color: rgba(245,241,234,.95); font-size: var(--fs-lead); margin-top: 1rem; text-shadow: 0 1px 16px rgba(10,8,4,.5); max-width: 36ch; }
.phero__content .eyebrow { color: var(--orange-soft); }
.breadcrumb { position: relative; z-index: 2; font-size: .85rem; color: var(--ink-faint); padding-top: 1.4rem; }
.breadcrumb a:hover { color: var(--orange-deep); }

/* ---------- Content blocks (service pages) ---------- */
.rich { max-width: 46rem; }
.rich h2 { font-size: var(--fs-h2); margin-top: 2.5rem; }
.rich h2:first-child { margin-top: 0; }
.rich p { color: var(--ink-soft); margin-top: 1rem; }
.rich ul.checks { margin-top: 1.2rem; display: grid; gap: .7rem; }
.rich ul.checks li { display: flex; gap: .7rem; align-items: flex-start; }
.rich ul.checks svg { width: 20px; height: 20px; color: var(--orange-deep); flex: none; margin-top: .15rem; }
.info-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-top: 2rem; }
.info-cards .ic { background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 1.5rem; }
.info-cards .ic .n { font-family: var(--font-display); color: var(--orange-deep); font-weight: 800; font-feature-settings:'tnum' 1; }
.info-cards .ic h4 { font-family: var(--font-display); font-size: 1.1rem; margin-top: .5rem; }
.info-cards .ic p { color: var(--ink-soft); font-size: .93rem; margin-top: .4rem; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 2; background: var(--walnut-deep); color: var(--on-dark-soft); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--hairline-d); }
.footer__brand { display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--on-dark); }
.footer__brand img { height: 54px; width: auto; object-fit: contain; }
.footer p.desc { margin-top: 1rem; max-width: 30ch; font-size: .95rem; }
.footer h5 { color: var(--on-dark); font-family: var(--font-body); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.footer ul li { margin-bottom: .6rem; }
.footer ul li a, .footer .fcontact a, .footer .fcontact p { color: var(--on-dark-soft); font-size: .95rem; transition: color var(--dur) var(--ease); }
.footer ul li a:hover, .footer .fcontact a:hover { color: var(--orange-soft); }
.footer .fcontact { display: flex; flex-direction: column; gap: .55rem; }
.footer .fcontact b { color: var(--on-dark); font-family: var(--font-display); font-feature-settings:'tnum' 1; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; align-items: center; padding-top: 1.8rem; font-size: .82rem; }
.footer__bottom a:hover { color: var(--orange-soft); }
.footer__badges { display: flex; gap: .8rem; align-items: center; }
.footer__badges img { height: 46px; width: auto; opacity: .9; }

/* ---------- Reveal ---------- */
/* Visible par défaut (robuste : no-JS et si le JS échoue, le contenu reste lisible).
   L'état masqué n'est appliqué QUE si le JS est actif (html.js, posé en <head>). */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
html.js .reveal.visible { opacity: 1; transform: none; }
html.js .reveal.d1 { transition-delay: 70ms; }
html.js .reveal.d2 { transition-delay: 140ms; }
html.js .reveal.d3 { transition-delay: 210ms; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .btn, .svc, .gitem img, .svc__media img, .tcard img { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { order: -1; max-width: 460px; }
  .split { grid-template-columns: 1fr; }
  .zone { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
}
@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: grid; }
  .strip { grid-template-columns: repeat(2,1fr); }
  .bento { grid-template-columns: 1fr; }
  .svc--lg, .svc--sm { grid-column: auto; }
  .transform-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps .step { margin-bottom: 0 !important; }
  .ma { grid-template-columns: 1fr; text-align: center; }
  .ma__badge img { margin-inline: auto; }
  .ma__proofs { text-align: left; }
  .gallery { grid-template-columns: repeat(2,1fr); grid-auto-rows: 160px; }
  .gitem--wide { grid-column: auto; }
  .ctaband__inner { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
  .ma__proofs { grid-template-columns: 1fr; gap: 1rem; }
  .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__trust { gap: 1rem 1.4rem; }
}
