/* =========================================================
   NICOLAS VINCENT — MENUISIER · styles.css
   Direction : « Le tracé bleu » — épure d'agenceur (light-first)
   Display : Bricolage Grotesque · Corps : Manrope
   Signature : le réglet gradué + la queue d'aronde
   Charte : bleu / blanc / noir (le bois vit dans les photos)
   ========================================================= */

/* ----------------- Tokens ----------------- */
:root {
  --blue:        #2A3CAA;  /* bleu cobalt du logo Nicolas Vincent (échantillonné) */
  --blue-deep:   #1D2B80;  /* cobalt profond — fonds de bouton (texte blanc, AA) */
  --blue-bright: #5566D8;  /* cobalt clair — hover, focus ring */
  --blue-2:      #9DAAEC;  /* cobalt clair sur fond sombre (eyebrows/accents dark) */
  --ink:         #0E1A24;
  --ink-2:       #16242F;
  --steel:       #5A6B77;
  --text-soft:   #36444E;
  --line:        #DEE5EA;
  --mist:        #EAEFF3;
  --paper:       #F3F6F8;
  --white:       #FFFFFF;

  --bg:          var(--paper);
  --text:        var(--ink);
  --text-mute:   var(--steel);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body:    "Manrope", system-ui, sans-serif;

  --fs-display: clamp(2.4rem, 5.2vw, 4.6rem);
  --fs-h1:      clamp(1.95rem, 4.2vw, 3.15rem);
  --fs-h2:      clamp(1.6rem, 3vw, 2.4rem);
  --fs-h3:      clamp(1.15rem, 1.6vw, 1.4rem);
  --fs-lead:    clamp(1.06rem, 1.45vw, 1.26rem);
  --fs-body:    1.0625rem;
  --fs-sm:      .875rem;
  --fs-xs:      .75rem;

  --space-section: clamp(4rem, 8.5vw, 7.5rem);
  --container: 1200px;
  --pad-x: clamp(1.25rem, 4vw, 3rem);

  --radius-1: 5px;
  --radius-2: 10px;
  --shadow-1: 0 1px 2px rgba(14,26,36,.05), 0 1px 1px rgba(14,26,36,.04);
  --shadow-2: 0 24px 50px -30px rgba(14,26,36,.40);
  --shadow-card: 0 30px 60px -34px rgba(16,51,82,.38);

  --ease: cubic-bezier(.32,.72,0,1);
  --t: .45s var(--ease);
}

/* ----------------- 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.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.015em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.005em; }

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

/* ----------------- Helpers ----------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--space-section); position: relative; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--mist  { background: var(--mist); }
.section--dark  { background: var(--ink); color: #D7E0E7; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }

/* Signature 1 — le réglet gradué (devant les eyebrows) */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-weight: 600;
  font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: ""; width: 34px; height: 9px; flex: none;
  background:
    linear-gradient(var(--blue), var(--blue)) left bottom / 100% 1.5px no-repeat,
    repeating-linear-gradient(90deg, var(--blue) 0 1.5px, transparent 1.5px 6px) left top / 100% 6px no-repeat;
}
.section--dark .eyebrow { color: #9DAAEC; }
.section--dark .eyebrow::before {
  background:
    linear-gradient(#9DAAEC, #9DAAEC) left bottom / 100% 1.5px no-repeat,
    repeating-linear-gradient(90deg, #9DAAEC 0 1.5px, transparent 1.5px 6px) left top / 100% 6px no-repeat;
}

/* Réglet séparateur autonome (sections / hero baseline) */
.rule-measure {
  height: 10px; width: 100%;
  background:
    linear-gradient(var(--line), var(--line)) left bottom / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--blue) 0 1.5px, transparent 1.5px 13px) left bottom / 100% 8px no-repeat;
  opacity: .9;
}

.section-head { max-width: 64ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head__title { margin-top: .85rem; }
.section-head__intro { margin-top: 1rem; font-size: var(--fs-lead); color: var(--text-soft); }
.section--dark .section-head__intro { color: #AFBDC6; }

/* Signature 3 — cadre d'épure (hairline bleu + repères d'angle) */
.framed { position: relative; }
.framed::after {
  content: ""; position: absolute; inset: -9px; pointer-events: none; z-index: 3;
  --len: 20px; --w: 2px; --c: var(--blue);
  background:
    linear-gradient(var(--c),var(--c)) 0 0 / var(--len) var(--w) no-repeat,
    linear-gradient(var(--c),var(--c)) 0 0 / var(--w) var(--len) no-repeat,
    linear-gradient(var(--c),var(--c)) 100% 0 / var(--len) var(--w) no-repeat,
    linear-gradient(var(--c),var(--c)) 100% 0 / var(--w) var(--len) no-repeat,
    linear-gradient(var(--c),var(--c)) 0 100% / var(--len) var(--w) no-repeat,
    linear-gradient(var(--c),var(--c)) 0 100% / var(--w) var(--len) no-repeat,
    linear-gradient(var(--c),var(--c)) 100% 100% / var(--len) var(--w) no-repeat,
    linear-gradient(var(--c),var(--c)) 100% 100% / var(--w) var(--len) no-repeat;
}
.framed--light::after { --c: rgba(255,255,255,.7); }

/* Texture d'épure (sections sombres) */
.blueprint::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .55;
  background-image:
    linear-gradient(rgba(157,170,236,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157,170,236,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 92% at 50% 0%, #000 55%, transparent 100%);
          mask-image: radial-gradient(120% 92% at 50% 0%, #000 55%, transparent 100%);
}
.section--dark > .container { position: relative; z-index: 1; }

/* ----------------- Buttons ----------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: .92rem 1.5rem; border-radius: var(--radius-1);
  transition: background var(--t), color var(--t), transform .2s var(--ease), box-shadow var(--t);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn__icon { display: inline-flex; transition: transform .3s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }

.btn--primary { background: var(--blue-deep); color: var(--white); box-shadow: 0 12px 26px -14px rgba(16,51,82,.85); }
.btn--primary:hover { background: #0B2A45; box-shadow: 0 16px 32px -14px rgba(16,51,82,.95); }

.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }

.btn--light { background: var(--white); color: var(--ink); box-shadow: var(--shadow-1); }
.btn--light:hover { background: var(--mist); }

.btn--ondark { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); color: #fff; }
.btn--ondark:hover { background: #fff; color: var(--ink); box-shadow: none; }

/* ----------------- Topbar (dark, sur site clair) ----------------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(14,26,36,.90);
  backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background var(--t), padding var(--t), box-shadow var(--t);
}
.topbar::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--blue-bright) 0 34%, transparent 34%); opacity: .9; }
.topbar.scrolled { background: rgba(11,21,30,.97); box-shadow: 0 10px 30px -18px rgba(0,0,0,.7); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1rem; transition: padding var(--t); }
.topbar.scrolled .topbar__inner { padding-block: .62rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark { flex: none; height: 38px; width: auto; transition: height var(--t); }
.topbar.scrolled .brand__mark { height: 32px; }
.footer__logo { height: 44px; width: auto; display: block; margin-bottom: .9rem; }
.brand__name { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.18rem; letter-spacing: -.01em; line-height: 1; }
.brand__name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: #9DAAEC; margin-top: .28rem; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__link { color: #C4D0D9; font-weight: 500; font-size: .98rem; position: relative; padding-block: .3rem; transition: color var(--t); }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--blue-bright); transition: width .3s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { color: #fff; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }

.topbar__cta { display: inline-flex; align-items: center; gap: .9rem; }
.topbar__phone { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; white-space: nowrap; }
.topbar__phone svg { color: #9DAAEC; }

/* Burger */
.nav-toggle { display: none; width: 46px; height: 46px; position: relative; z-index: 60; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 11px; width: 24px; height: 2.5px; background: #fff; transition: transform .35s var(--ease), opacity .2s; }
.nav-toggle__bars { top: 22px; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle.is-open .nav-toggle__bars { background: transparent; }
.nav-toggle.is-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); background: var(--blue-bright); }
.nav-toggle.is-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); background: var(--blue-bright); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(11,21,30,.98); backdrop-filter: blur(6px);
  display: flex; flex-direction: column; justify-content: center; gap: .25rem;
  padding: 6rem var(--pad-x) 3rem;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__link { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 6vw, 2.1rem); color: #fff; padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__link span { color: #9DAAEC; font-size: 1rem; }
.mobile-menu__cta { margin-top: 1.8rem; display: flex; flex-direction: column; gap: .8rem; }
.mobile-menu__phone { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: #fff; }

/* ----------------- Hero (split clair, photo-dominant) ----------------- */
.hero { position: relative; background: var(--paper); overflow: hidden; padding-top: clamp(5.5rem, 9vw, 7rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: stretch; min-height: min(86svh, 760px); }
.hero__text { display: flex; flex-direction: column; justify-content: center; padding-block: clamp(2rem, 4vw, 3.5rem); }
.hero__eyebrow { margin-bottom: 1.2rem; }
.hero__title { font-size: var(--fs-display); font-weight: 800; max-width: 15ch; color: var(--ink); letter-spacing: -.025em; }
.hero__title b { color: var(--blue); font-weight: 800; }
.hero__lead { max-width: 46ch; margin-top: 1.3rem; font-size: var(--fs-lead); color: var(--text-soft); }
.hero__actions { margin-top: 1.9rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__base { margin-top: 2.2rem; }
.hero__trust { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .9rem 1.7rem; }
.trust-item { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .92rem; color: var(--ink); }
.trust-item svg { color: var(--blue); flex: none; }

.hero__media { position: relative; border-radius: var(--radius-2); overflow: hidden; min-height: 46svh; background: var(--ink); box-shadow: var(--shadow-2); margin-bottom: clamp(2rem,4vw,3.5rem); }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media-veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8,16,22,.55) 100%); }
.hero__tag { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-body); font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(16,51,82,.72); backdrop-filter: blur(3px); padding: .5rem .8rem; border-radius: var(--radius-1); }
.hero__tag svg { color: #B6C0F2; }

/* ----------------- Trust / savoir-faire intro ----------------- */
.intro-strip { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.intro-strip__lead { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem,2.3vw,1.85rem); line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.intro-strip__lead b { color: var(--blue); }
.intro-strip__text { color: var(--text-soft); }
.intro-strip__text p + p { margin-top: 1rem; }
.signoff { margin-top: 1.4rem; display: flex; align-items: center; gap: .8rem; }
.signoff__name { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.signoff__role { font-size: .85rem; color: var(--text-mute); }

/* ----------------- Services (bento) ----------------- */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.svc-card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-2); padding: 1.7rem 1.5rem 1.5rem; overflow: hidden;
  grid-column: span 2; display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.svc-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card__media { margin: -1.7rem -1.5rem 1.3rem; aspect-ratio: 16/10; overflow: hidden; background: var(--ink); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.06); }
.svc-card__icon { width: 50px; height: 50px; display: grid; place-items: center; background: var(--mist); border-radius: var(--radius-1); color: var(--blue); margin-bottom: 1.1rem; }
.svc-card__icon svg { width: 26px; height: 26px; }
.svc-card__title { margin-bottom: .5rem; }
.svc-card__text { color: var(--text-soft); font-size: .97rem; }
.svc-card__more { margin-top: auto; padding-top: 1.2rem; display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--blue-deep); font-size: .92rem; }
.svc-card__more svg { color: var(--blue); transition: transform .3s var(--ease); }
.svc-card:hover .svc-card__more svg { transform: translateX(4px); }
/* Bento : 2 grandes (3 cols) en haut, 3 moyennes (2 cols) en bas */
.svc-card--wide { grid-column: span 3; }
.svc-card--cta { grid-column: span 3; background: var(--ink); border-color: var(--ink); color: #fff; justify-content: center; }
.svc-card--cta .svc-card__title { color: #fff; }
.svc-card--cta .svc-card__text { color: #AFBDC6; }
.svc-card--cta .svc-card__more { color: #fff; }
.svc-card--cta::before { background: var(--blue-bright); }

/* ----------------- Section signature « du tracé à la pose » ----------------- */
.craft { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.craft__media { position: relative; border-radius: var(--radius-2); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-2); background: var(--ink); }
.craft__media img { width: 100%; height: 100%; object-fit: cover; }
.craft__dovetail { position: absolute; right: -1px; top: -1px; z-index: 2; color: var(--blue-bright); }
.craft__list { margin-top: 1.6rem; display: grid; gap: 1.1rem; }
.craft__item { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.craft__num { font-family: var(--font-display); font-weight: 800; color: var(--blue); font-variant-numeric: tabular-nums; font-size: 1.05rem; line-height: 1.4; }
.craft__item h3 { margin-bottom: .25rem; }
.craft__item p { color: var(--text-soft); font-size: .97rem; }

/* ----------------- Gallery ----------------- */
.gallery-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.2rem; margin-bottom: clamp(1.6rem,3vw,2.4rem); }
.gallery-filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.gallery-filter { padding: .55rem 1.05rem; border: 1px solid var(--line); border-radius: var(--radius-1); font-weight: 600; font-size: .9rem; background: var(--white); color: var(--ink); transition: all var(--t); }
.gallery-filter:hover { border-color: var(--blue); color: var(--blue); }
.gallery-filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.gallery-item { position: relative; border-radius: var(--radius-2); overflow: hidden; background: var(--ink); margin: 0; }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .55s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { position: absolute; left: 0; bottom: 0; right: 0; padding: 1.4rem 1rem .9rem; background: linear-gradient(transparent, rgba(8,16,22,.85)); color: #fff; font-weight: 600; font-size: .94rem; }
.gallery-item figcaption span { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #B6C0F2; margin-bottom: .2rem; }

/* ----------------- Stats (bande réglet, 1 featured + 3 mini) ----------------- */
.stats { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 0; }
.stats::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px;
  background: repeating-linear-gradient(90deg, rgba(157,170,236,.55) 0 1.5px, transparent 1.5px 15px) left top / 100% 8px no-repeat; }
.stat { padding: clamp(2rem,3.5vw,3rem) 1.5rem clamp(1.4rem,3vw,2rem); border-left: 1px solid rgba(255,255,255,.10); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; flex-wrap: wrap; }
.stat--featured .stat__value { font-size: clamp(2.6rem, 5.2vw, 4rem); color: #fff; }
.stat__value .prefix { color: #9DAAEC; font-size: .42em; font-weight: 700; margin-right: .35em; text-transform: uppercase; letter-spacing: .06em; align-self: center; }
.stat__value .suffix { color: #9DAAEC; font-size: .5em; margin-left: .1em; }
.stat__label { margin-top: .85rem; color: #AFBDC6; font-size: .93rem; max-width: 22ch; }
.stat--featured .stat__label { color: #C7D3DB; }

/* ----------------- Process / méthode ----------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.step { position: relative; padding-top: 2.2rem; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--line); }
.step::after { content: ""; position: absolute; top: 0; left: 0; width: 30px; height: 2px; background: var(--blue); }
.step__idx { font-family: var(--font-display); font-weight: 800; color: var(--blue); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.step__title { margin: .5rem 0; }
.step__text { color: var(--text-soft); font-size: .95rem; }

/* ----------------- Zone d'intervention ----------------- */
.zone { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.zone__grid { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem; }
.city { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-1); font-size: .9rem; font-weight: 500; }
.city::before { content: ""; width: 6px; height: 6px; background: var(--blue); flex: none; }
.city--main { background: var(--ink); color: #fff; border-color: var(--ink); }
.city--main::before { background: var(--blue-bright); }
.zone__map { position: relative; aspect-ratio: 1/1; border-radius: var(--radius-2); overflow: hidden; background: var(--ink); display: grid; place-items: center; }
.zone__map svg { width: 80%; height: 80%; }

/* ----------------- Engagements (remplace avis) ----------------- */
.pledges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.pledge { background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-2); padding: 1.6rem 1.4rem; }
.pledge__icon { width: 46px; height: 46px; display: grid; place-items: center; color: #9DAAEC; border: 1px solid rgba(157,170,236,.35); border-radius: var(--radius-1); margin-bottom: 1.1rem; }
.pledge__title { color: #fff; margin-bottom: .5rem; font-size: 1.08rem; }
.pledge__text { color: #AFBDC6; font-size: .94rem; }

/* ----------------- Avis clients (1 vedette + 3 courts) ----------------- */
.reviews { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.1rem; align-items: stretch; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-2); padding: 1.6rem 1.5rem; box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.review--featured { grid-column: 1; grid-row: 1 / span 3; justify-content: center; padding: clamp(1.8rem,3vw,2.8rem); border-top: 3px solid var(--blue); }
.review__stars { display: inline-flex; gap: .12rem; color: var(--blue); margin-bottom: 1rem; }
.review__stars svg { width: 16px; height: 16px; }
.review--featured .review__stars svg { width: 19px; height: 19px; }
.review blockquote { color: var(--text-soft); font-size: .97rem; }
.review--featured blockquote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem,2vw,1.65rem); line-height: 1.4; letter-spacing: -.01em; color: var(--ink); }
.review figcaption { margin-top: 1.1rem; }
.review__name { font-family: var(--font-display); font-weight: 700; color: var(--ink); display: block; }
.review__meta { font-size: .84rem; color: var(--text-mute); }

/* ----------------- CTA band ----------------- */
.cta-band { background: var(--paper); }
.cta-band__inner { position: relative; background: var(--ink); color: #fff; border-radius: var(--radius-2); padding: clamp(2.5rem,5vw,4rem) clamp(1.5rem,5vw,4rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; overflow: hidden; }
.cta-band__text { position: relative; z-index: 1; max-width: 42ch; }
.cta-band__text h2 { color: #fff; margin-top: .7rem; }
.cta-band__text p { color: #AFBDC6; margin-top: .7rem; }
.cta-band__actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .85rem; align-items: flex-start; }
.cta-band__phone { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem,3vw,2rem); color: #fff; display: inline-flex; align-items: center; gap: .6rem; }
.cta-band__phone svg { color: #9DAAEC; }

/* ----------------- Footer ----------------- */
.footer { background: #0A141C; color: #93A2AD; padding-top: clamp(3rem,6vw,5rem); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.2rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand .brand__name { color: #fff; }
.footer__tagline { margin-top: 1rem; max-width: 32ch; color: #7E8D98; }
.footer__certs { margin-top: 1.4rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.footer__cert { font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: .4rem .65rem; border: 1px solid rgba(255,255,255,.16); color: #C4D0D9; border-radius: 3px; }
.footer__title { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer__links { display: grid; gap: .65rem; }
.footer__links a, .footer__contact a, .footer__contact span { color: #93A2AD; font-size: .95rem; transition: color var(--t); }
.footer__links a:hover, .footer__contact a:hover { color: #9DAAEC; }
.footer__contact { display: grid; gap: .7rem; }
.footer__contact .row { display: flex; gap: .6rem; align-items: flex-start; }
.footer__contact svg { color: #9DAAEC; flex: none; margin-top: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; font-size: .82rem; color: #6B7A85; }
.footer__bottom a { color: #6B7A85; }
.footer__bottom a:hover { color: #fff; }

/* ----------------- Page hero (pages internes) ----------------- */
.page-hero { position: relative; padding-top: 9rem; padding-bottom: clamp(2.5rem,5vw,4rem); color: #fff; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,16,22,.82) 0%, rgba(8,16,22,.5) 52%, rgba(8,16,22,.86) 100%); }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero .eyebrow { color: #B6C0F2; }
.page-hero .eyebrow::before {
  background:
    linear-gradient(#B6C0F2,#B6C0F2) left bottom / 100% 1.5px no-repeat,
    repeating-linear-gradient(90deg, #B6C0F2 0 1.5px, transparent 1.5px 6px) left top / 100% 6px no-repeat;
}
.page-hero__title { font-size: var(--fs-h1); font-weight: 800; max-width: 20ch; margin-top: 1rem; color: rgba(247,250,252,.98); text-shadow: 0 2px 26px rgba(8,16,22,.6); }
.page-hero__lead { max-width: 56ch; margin-top: 1.1rem; font-size: var(--fs-lead); color: rgba(244,249,252,.94); text-shadow: 0 1px 16px rgba(8,16,22,.6); }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.72); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: #B6C0F2; }

/* ----------------- Service detail / prose ----------------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: .4rem; }
.prose p { color: var(--text-soft); }
.feature-list { display: grid; gap: .9rem; margin-top: 1.5rem; }
.feature { display: flex; gap: .8rem; align-items: flex-start; }
.feature svg { color: var(--blue); flex: none; margin-top: 3px; }
.feature b { font-weight: 700; color: var(--ink); }
.media-frame { border-radius: var(--radius-2); overflow: hidden; box-shadow: var(--shadow-2); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

.related { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.related a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 1.1rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-1); font-family: var(--font-display); font-weight: 700; font-size: .98rem; transition: border-color var(--t), transform var(--t); }
.related a:hover { transform: translateY(-3px); border-color: var(--blue); }
.related a svg { color: var(--blue); flex: none; }

/* ----------------- Contact ----------------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem,4vw,3.5rem); }
.info-row { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row__icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-1); color: var(--blue); }
.info-row__label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); font-weight: 600; }
.info-row__value { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; margin-top: .15rem; }
.info-row__value a:hover { color: var(--blue); }

.contact__form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-2); padding: clamp(1.6rem,3vw,2.4rem); box-shadow: var(--shadow-1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.form-field label { font-weight: 600; font-size: .9rem; }
.form-field label .req { color: var(--blue); }
.form-field input, .form-field textarea, .form-field select {
  padding: .85rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-1);
  background: var(--paper); transition: border-color var(--t), box-shadow var(--t);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,124,176,.16); }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .82rem; color: var(--text-mute); margin-top: .4rem; }

/* ----------------- Sticky mobile call ----------------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; padding: .7rem; gap: .6rem; background: rgba(11,21,30,.96); backdrop-filter: blur(6px); border-top: 2px solid var(--blue-bright); }
.mobile-cta .btn { flex: 1; justify-content: center; }

/* ----------------- Reveal ----------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .07s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .21s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ----------------- Responsive ----------------- */
@media (max-width: 1180px) {
  .topbar__phone { display: none; }
  .hero__title { max-width: 18ch; }
}
@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 4.6rem; }
  .svc-card, .svc-card--wide, .svc-card--cta { grid-column: span 3; }
  .svc-grid { grid-template-columns: repeat(6, 1fr); }
  .steps, .pledges, .related { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .hero__grid, .intro-strip, .craft, .zone, .split, .contact__grid, .reviews { grid-template-columns: 1fr; }
  .review--featured { grid-column: auto; grid-row: auto; }
  .hero__grid { min-height: 0; }
  .hero__media { order: -1; min-height: 42svh; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.10); }
  .stat:first-child, .stat:nth-child(2) { border-top: 0; }
  .zone__map { max-width: 420px; }
}
@media (max-width: 760px) {
  .svc-card, .svc-card--wide, .svc-card--cta { grid-column: 1 / -1; }
  .svc-grid { grid-template-columns: 1fr; }
  .steps, .pledges, .related, .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-top: 1px solid rgba(255,255,255,.10); padding-block: 1.5rem; }
  .stat:first-child { border-top: 0; }
}
@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; }
  .hero__trust { gap: .8rem 1.3rem; }
}
