/* ============================================================
   RENOV'HABITAT — Feuille de style
   Direction artistique : naturel, premium, chaleureux
   Sauge dominant · terracotta secondaire · pierre · anthracite · bois
   ============================================================ */

:root {
  /* Surfaces */
  --paper:      #F6F2EB;   /* blanc cassé chaud */
  --paper-2:    #FBFAF5;   /* blanc le plus clair */
  --stone:      #E8E1D4;   /* beige pierre */
  --stone-deep: #DAD0BF;
  --cloud:      #FCFBF8;

  /* Encre / anthracite */
  --ink:        #232520;   /* anthracite chaud (texte) */
  --ink-soft:   #45463F;
  --muted:      #7E7A6E;
  --line:       rgba(35,37,32,0.12);
  --line-soft:  rgba(35,37,32,0.07);

  /* Bois */
  --wood:       #7C5C44;

  /* Accents */
  --sage:       #8A977C;   /* vert sauge — dominant */
  --sage-deep:  #5E6C50;
  --sage-dark:  #3C4633;   /* fond sombre naturel */
  --sage-tint:  #E9ECE2;
  --terra:      #C16A44;   /* terracotta — secondaire */
  --terra-deep: #A2542F;
  --terra-tint: #F2E3DA;

  /* Effets */
  --shadow-sm: 0 1px 2px rgba(35,37,32,0.04), 0 2px 6px rgba(35,37,32,0.05);
  --shadow-md: 0 10px 30px -12px rgba(35,37,32,0.18), 0 4px 10px -6px rgba(35,37,32,0.10);
  --shadow-lg: 0 30px 60px -22px rgba(35,37,32,0.30), 0 12px 24px -16px rgba(35,37,32,0.18);
  --radius:    6px;
  --radius-sm: 4px;
  --radius-lg: 10px;

  /* Type */
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", system-ui, -apple-system, sans-serif;

  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

/* Subtle paper grain over whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sage-deep);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px; background: var(--terra); display: inline-block;
}
.eyebrow.center::before { display: none; }
.lead { color: var(--ink-soft); font-size: 1.12rem; line-height: 1.65; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 0.97rem; letter-spacing: -0.01em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 8px 20px -8px rgba(161,84,47,0.55); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -10px rgba(161,84,47,0.6); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-dark { background: var(--ink); color: var(--paper-2); }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-dark:hover svg { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-3px); }
.btn-light { background: var(--paper-2); color: var(--ink); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), border-color .45s, padding .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.site-header.scrolled {
  background: rgba(246,242,235,0.82);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 24px -18px rgba(35,37,32,0.4);
}
.site-header.scrolled .wrap { height: 70px; }

.logo { display: inline-flex; align-items: baseline; gap: 2px; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.03em; }
.logo .ren { color: var(--ink); }
.logo .hab { color: var(--sage-deep); }
.logo .dot { color: var(--terra); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 9px 15px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; color: var(--ink-soft);
  transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 5px; height: 1.5px;
  background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 12px 22px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); align-items: center; justify-content: center; color: var(--ink); }
.menu-toggle svg { width: 24px; height: 24px; }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--paper);
  display: flex; flex-direction: column; padding: 110px 32px 40px;
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav a { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.mobile-nav .btn { margin-top: 28px; }

/* ============================================================
   PLACEHOLDERS (visuels à remplacer)
   ============================================================ */
.ph {
  position: relative; overflow: hidden; background: var(--stone);
  background-image:
    repeating-linear-gradient(135deg, rgba(124,92,68,0.08) 0 2px, transparent 2px 13px);
  display: flex; align-items: flex-end;
}
.ph::after {
  content: attr(data-label);
  position: absolute; left: 16px; bottom: 14px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.04em; color: var(--wood);
  background: rgba(251,250,245,0.78); padding: 5px 10px; border-radius: 3px;
  backdrop-filter: blur(2px);
}
.ph.sage  { background-color: var(--sage-tint); background-image: repeating-linear-gradient(135deg, rgba(94,108,80,0.10) 0 2px, transparent 2px 13px); }
.ph.terra { background-color: var(--terra-tint); background-image: repeating-linear-gradient(135deg, rgba(162,84,47,0.10) 0 2px, transparent 2px 13px); }
.ph .ph-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: rgba(124,92,68,0.32); }
.ph .ph-icon svg { width: 46px; height: 46px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
/* calm flat warm band behind hero instead of blurred orbs */
.hero-bg-orb { display: none; }

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 60px; align-items: center;
}
.hero-copy { max-width: 560px; }
.hero h1 { font-size: clamp(2.6rem, 4.6vw, 4.05rem); margin: 22px 0 0; }
.hero h1 .accent { color: var(--terra); }
.hero-sub { margin-top: 24px; max-width: 460px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-rating { display: flex; align-items: center; gap: 14px; margin-top: 38px; }
.hero-stars { display: flex; gap: 3px; color: var(--terra); }
.hero-stars svg { width: 17px; height: 17px; fill: var(--terra); }
.hero-rating-txt { font-size: 0.92rem; color: var(--ink-soft); }
.hero-rating-txt b { color: var(--ink); }

/* Hero visual — layered */
.hero-visual { position: relative; height: 560px; }
.hero-photo {
  position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); will-change: transform;
}
.hero-photo .ph { width: 100%; height: 100%; }
.hero-photo-2 {
  position: absolute; width: 220px; height: 270px; right: -28px; bottom: -34px;
  border-radius: var(--radius); overflow: hidden; border: 6px solid var(--paper);
  box-shadow: var(--shadow-md); will-change: transform; z-index: 2;
}
.hero-photo-2 .ph { width: 100%; height: 100%; }
.hero-badge {
  position: absolute; left: -26px; top: 40px; z-index: 3;
  background: var(--paper-2); border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 13px;
  border: 1px solid var(--line-soft);
}
.hero-badge .hb-ic { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--sage-tint); color: var(--sage-deep); display: grid; place-items: center; }
.hero-badge .hb-ic svg { width: 22px; height: 22px; }
.hero-badge .hb-num { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; line-height: 1; }
.hero-badge .hb-lbl { font-size: 0.8rem; color: var(--muted); }

/* ============================================================
   BLOC CONFIANCE
   ============================================================ */
.trust { background: var(--paper-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.trust .wrap { padding-top: 44px; padding-bottom: 44px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.trust-item { display: flex; align-items: center; gap: 16px; }
.trust-item:not(:last-child) { border-right: 1px solid var(--line-soft); padding-right: 28px; }
.trust-ic { flex: none; width: 50px; height: 50px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--sage-tint); color: var(--sage-deep); }
.trust-ic svg { width: 24px; height: 24px; }
.trust-item:nth-child(even) .trust-ic { background: var(--terra-tint); color: var(--terra-deep); }
.trust-tx b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; }
.trust-tx span { font-size: 0.86rem; color: var(--muted); }

/* ============================================================
   SECTION HEAD
   ============================================================ */
.shead { max-width: 620px; margin-bottom: 56px; }
.shead.center { margin-left: auto; margin-right: auto; text-align: center; }
.shead h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin-top: 16px; }
.shead p { margin-top: 18px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--paper); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  display: block; position: relative; background: var(--paper-2); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 32px 30px; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
/* thin top accent that draws in on hover — restrained, single colour */
.svc-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--terra); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--stone-deep); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-ic {
  width: 58px; height: 58px; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: var(--sage-tint); color: var(--sage-deep); margin-bottom: 24px;
  transition: transform .45s var(--ease), background .45s;
}
.svc-ic svg { width: 27px; height: 27px; }
.svc-card:hover .svc-ic { background: var(--sage); color: #fff; }
.svc-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.svc-card p { font-size: 0.96rem; color: var(--ink-soft); }
.svc-more { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-weight: 700; font-size: 0.9rem; color: var(--terra); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.svc-more svg { width: 15px; height: 15px; }
.svc-card:hover .svc-more { opacity: 1; transform: translateY(0); }
.svc-card.feature { grid-column: span 1; }
/* highlight the 7th card spanning to balance */
.svc-card.wide { grid-column: span 1; }

/* ============================================================
   SAVOIR-FAIRE (différenciante + avant/après)
   ============================================================ */
.know { background: var(--sage-dark); color: var(--paper-2); overflow: hidden; }
.know::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: repeating-linear-gradient(135deg, rgba(246,242,235,0.025) 0 1px, transparent 1px 16px);
}
.know .wrap { position: relative; z-index: 1; }
.know-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center; }
.know h2 { color: var(--paper-2); font-size: clamp(2rem, 3.4vw, 2.9rem); margin-top: 16px; }
.know .eyebrow { color: #C7D2BA; }
.know .eyebrow::before { background: var(--terra); }
.know p { color: rgba(246,242,235,0.78); margin-top: 20px; font-size: 1.05rem; }
.know-list { list-style: none; margin-top: 30px; display: grid; gap: 16px; }
.know-list li { display: flex; gap: 14px; align-items: flex-start; }
.know-list .kl-ic { flex: none; width: 30px; height: 30px; border-radius: var(--radius-sm); background: rgba(246,242,235,0.1); color: #D7B59E; display: grid; place-items: center; }
.know-list .kl-ic svg { width: 16px; height: 16px; }
.know-list b { font-weight: 700; }
.know-list span { color: rgba(246,242,235,0.7); font-size: 0.95rem; }

/* Before / after slider */
.ba {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); user-select: none; touch-action: none;
}
.ba-layer { position: absolute; inset: 0; }
.ba-layer .ph { width: 100%; height: 100%; }
.ba-img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-after { z-index: 1; }
.ba-before { z-index: 2; clip-path: inset(0 50% 0 0); }
.ba-tag {
  position: absolute; top: 18px; z-index: 3;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 3px; backdrop-filter: blur(4px);
}
.ba-tag.before { left: 18px; background: rgba(35,37,32,0.72); color: #fff; z-index: 4; }
.ba-tag.after { right: 18px; background: rgba(193,106,68,0.92); color: #fff; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; z-index: 5; width: 3px; background: var(--paper-2);
  left: 50%; transform: translateX(-50%); cursor: ew-resize;
}
.ba-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--paper-2);
  display: grid; place-items: center; box-shadow: var(--shadow-md); color: var(--ink);
}
.ba-knob svg { width: 22px; height: 22px; }
.ba-hint { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 3; font-size: 0.78rem; color: rgba(255,255,255,0.85); background: rgba(35,37,32,0.5); padding: 5px 12px; border-radius: 3px; backdrop-filter: blur(3px); }

/* ============================================================
   RÉALISATIONS
   ============================================================ */
.work { background: var(--paper-2); }
.work-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.work-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.work-card {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.work-card .ph { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.work-card:hover { box-shadow: var(--shadow-lg); }
.work-card:hover .ph { transform: scale(1.06); }
.work-card .wc-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 24px 22px;
  background: linear-gradient(to top, rgba(28,30,24,0.86) 0%, rgba(28,30,24,0.4) 55%, transparent 100%);
  color: #fff; transform: translateY(8px); opacity: 0; transition: transform .5s var(--ease), opacity .5s;
}
.work-card:hover .wc-info { transform: translateY(0); opacity: 1; }
.work-card .wc-cat { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #E3C3AE; }
.work-card .wc-title { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin-top: 5px; }
.work-card.big { grid-column: span 7; aspect-ratio: 16 / 11; }
.work-card.tall { grid-column: span 5; aspect-ratio: auto; }
.work-card.sm { grid-column: span 4; aspect-ratio: 4 / 3; }
.work-card .ph::after { z-index: 1; }

/* ============================================================
   ZONE D'INTERVENTION
   ============================================================ */
.zone { background: var(--paper); }
.zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.zone h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin-top: 16px; }
.zone p { margin-top: 18px; max-width: 460px; }
.city-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.city {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px;
  background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.94rem; transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.city svg { width: 15px; height: 15px; color: var(--terra); }
.city:hover { transform: translateY(-3px); border-color: var(--sage); background: var(--sage-tint); }

/* Stylised map */
.zone-map {
  position: relative; aspect-ratio: 819/723; border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(130% 130% at 25% 15%, var(--cloud), var(--paper-2) 75%);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-md);
}
.zone-map .zone-map-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain;
}
.zone-map .dept-no {
  position: absolute; bottom: 14px; left: 22px; z-index: 1; font-family: var(--font-display);
  font-weight: 700; font-size: 4.2rem; color: rgba(94,108,80,0.22); letter-spacing: -0.04em;
}
.pin { position: absolute; transform: translate(-50%,-100%); z-index: 2; }
.pin .pin-dot { width: 15px; height: 15px; background: var(--terra); border: 3px solid var(--paper-2); border-radius: 50%; box-shadow: 0 4px 10px rgba(162,84,47,0.4); }
.pin .pin-lbl { position: absolute; top: -8px; left: 20px; white-space: nowrap; font-size: 0.78rem; font-weight: 700; color: var(--ink); background: var(--paper-2); padding: 3px 9px; border-radius: 3px; box-shadow: var(--shadow-sm); }
.pin .pin-ring { position: absolute; top: 50%; left: 7px; width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--terra); transform: translate(-50%,-50%); animation: ping 2.6s var(--ease) infinite; }
.pin.main .pin-dot { width: 19px; height: 19px; }
@keyframes ping { 0% { transform: translate(-50%,-50%) scale(1); opacity: .8; } 80%,100% { transform: translate(-50%,-50%) scale(3.4); opacity: 0; } }

/* ============================================================
   AVIS CLIENTS
   ============================================================ */
.reviews { background: var(--paper-2); }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rev-card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 34px 30px; display: flex; flex-direction: column; gap: 18px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.rev-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.rev-stars { display: flex; gap: 3px; color: var(--terra); }
.rev-stars svg { width: 17px; height: 17px; fill: var(--terra); }
.rev-quote { font-family: var(--font-display); font-weight: 500; font-size: 1.16rem; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); }
.rev-foot { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.rev-av { width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--sage-tint); color: var(--sage-deep); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.rev-card:nth-child(even) .rev-av { background: var(--terra-tint); color: var(--terra-deep); }
.rev-who b { display: block; font-weight: 700; font-size: 0.98rem; }
.rev-who span { font-size: 0.84rem; color: var(--muted); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--paper-2); border-top: 1px solid var(--line-soft); }
.contact-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 64px; align-items: start; }
.contact-intro h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin-top: 16px; }
.contact-intro p { margin-top: 18px; max-width: 420px; }
.contact-list { list-style: none; margin-top: 36px; display: grid; gap: 20px; }
.contact-list li { display: flex; align-items: flex-start; gap: 16px; }
.ci-ic { flex: none; width: 46px; height: 46px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--sage-tint); color: var(--sage-deep); }
.ci-ic svg { width: 21px; height: 21px; }
.contact-list b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.contact-list span, .contact-list a { font-size: 0.96rem; color: var(--ink-soft); }
.contact-list a:hover { color: var(--terra); }
.contact-list.center { max-width: 760px; margin-left: auto; margin-right: auto; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.contact-list.center li { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
@media (max-width: 720px) { .contact-list.center { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 36px; box-shadow: var(--shadow-sm);
}
.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-soft); text-transform: uppercase; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 0.98rem; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 15px; width: 100%; transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #A39C8D; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sage-deep); background: var(--paper);
  box-shadow: 0 0 0 3px rgba(94,108,80,0.14);
}
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237E7A6E' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; cursor: pointer; }
.form-submit { width: 100%; margin-top: 4px; }
.form-note { font-size: 0.84rem; color: var(--muted); text-align: center; }

.form-success { text-align: center; padding: 30px 10px; display: grid; place-items: center; gap: 14px; }
.form-success .fs-ic { width: 60px; height: 60px; border-radius: var(--radius-sm); background: var(--sage-deep); color: #fff; display: grid; place-items: center; }
.form-success .fs-ic svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 1.35rem; }
.form-success p { color: var(--ink-soft); max-width: 320px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--paper); border-top: 1px solid var(--line-soft); padding: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 50px; }
.footer .logo { font-size: 1.5rem; }
.footer-about { margin-top: 18px; color: var(--ink-soft); font-size: 0.95rem; max-width: 280px; }
.footer-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px 15px; background: var(--sage-tint); color: var(--sage-deep); border-radius: var(--radius-sm); font-weight: 700; font-size: 0.85rem; }
.footer-badge svg { width: 16px; height: 16px; }
.footer-col h4 { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a, .footer-col li { font-size: 0.95rem; color: var(--ink-soft); transition: color .25s; }
.footer-col a:hover { color: var(--terra); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--sage-deep); flex: none; margin-top: 3px; }
.footer-bar { margin-top: 0; padding: 22px 0; border-top: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 0.85rem; color: var(--muted); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
  .pin .pin-ring { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .rev-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 1000px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-visual { height: 460px; max-width: 540px; }
  .know-grid, .zone-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .trust-item:nth-child(2) { border-right: none; }
  .work-card.big, .work-card.tall, .work-card.sm { grid-column: span 12; aspect-ratio: 16/10; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 22px; }
  .section { padding: 80px 0; }
  .hero { padding: 124px 0 60px; }
  .svc-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none !important; padding-right: 0; }
  .trust-item:not(:last-child) { padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-card { padding: 26px 22px; }
  .hero-photo-2 { width: 150px; height: 180px; }
  .hero-actions .btn { width: 100%; }
  .work-top { flex-direction: column; align-items: flex-start; }
  .work-actions { width: 100%; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   PAGES INTERNES (prestations, mentions légales)
   ============================================================ */
.footer-bar a { transition: color .25s; }
.footer-bar a:hover { color: var(--terra); }

.page-hero { position: relative; padding: 150px 0 70px; background: var(--sage-dark); color: var(--paper-2); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 80% at 85% 0%, rgba(193,106,68,0.28), transparent 60%),
  repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 16px); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 2; max-width: 880px; }
.page-hero .eyebrow { color: #E3C3AE; }
.page-hero h1 { color: var(--paper-2); font-size: clamp(2.1rem, 5vw, 3.3rem); margin: 14px 0 18px; }
.page-hero p { color: rgba(246,242,235,0.82); font-size: 1.12rem; max-width: 640px; }
.page-hero .btn { margin-top: 30px; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.85rem; color: rgba(246,242,235,0.7); font-family: "IBM Plex Mono", ui-monospace, monospace; }
.crumbs a { color: rgba(246,242,235,0.7); }
.crumbs a:hover { color: var(--paper-2); }
.crumbs span { opacity: 0.5; }

.prose-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.prose h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: 18px; }
.prose p { color: var(--ink-soft); margin-bottom: 16px; }
.prose-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.prose-img img { width: 100%; height: 100%; object-fit: cover; }

.feature-list { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink-soft); }
.feature-list .fl-ic { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sage-tint); color: var(--sage-deep); margin-top: 1px; }
.feature-list .fl-ic svg { width: 16px; height: 16px; }
.feature-list b { color: var(--ink); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }

.faq { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 24px; transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--terra); font-family: var(--font-body); line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding: 0 0 20px; margin: 0; }

.cta-band { background: var(--sage-deep); color: var(--paper-2); border-radius: var(--radius-lg); padding: 54px 48px; text-align: center; }
.cta-band h2 { color: var(--paper-2); margin-bottom: 12px; }
.cta-band p { color: rgba(246,242,235,0.82); max-width: 520px; margin: 0 auto 26px; }

.trust-band { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--cloud); }
.trust-band .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 38px; padding: 26px 22px; }
.trust-band .tb-item { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--ink-soft); }
.trust-band svg { width: 18px; height: 18px; color: var(--sage-deep); flex: none; }
.trust-band b { color: var(--ink); }

@media (max-width: 920px) {
  .prose-grid { grid-template-columns: 1fr; gap: 36px; }
  .prose-grid .prose-img { order: -1; }
}
@media (max-width: 620px) {
  .page-hero { padding: 120px 0 54px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 40px 24px; }
}
@media (max-width: 620px) {
  /* carte : points seuls (les villes sont listées en puces au-dessus) */
  .zone-map .pin-lbl { display: none; }
}

/* ============================================================
   BARRE CTA FIXE MOBILE (appel + devis)
   ============================================================ */
.mobile-cta { display: none; }
@media (max-width: 1000px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(246,242,235,0.9);
    backdrop-filter: saturate(1.3) blur(14px);
    -webkit-backdrop-filter: saturate(1.3) blur(14px);
    border-top: 1px solid var(--line-soft);
    box-shadow: 0 -8px 26px -18px rgba(35,37,32,0.5);
  }
  .mcta {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 12px; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 0.97rem; white-space: nowrap;
    transition: transform .25s var(--ease);
  }
  .mcta:active { transform: scale(0.97); }
  .mcta svg { width: 18px; height: 18px; }
  .mcta-call { background: var(--sage-tint); color: var(--sage-deep); border: 1px solid var(--line-soft); }
  .mcta-quote { background: var(--terra); color: #fff; box-shadow: 0 8px 20px -8px rgba(161,84,47,0.55); }
  /* éviter que la barre masque le bas du contenu */
  body { padding-bottom: 74px; }
}

/* ============================================================
   GALERIE PHOTO (page galerie-photos.html)
   ============================================================ */
.gal-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 34px; }
.gal-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.gal-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.93rem; font-weight: 700; color: var(--ink-soft);
  background: var(--paper-2); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 18px; cursor: pointer;
  transition: color .25s, background .25s, border-color .25s, transform .25s var(--ease);
}
.gal-chip span { font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.gal-chip:hover { border-color: var(--ink); transform: translateY(-2px); }
.gal-chip.is-active { background: var(--sage-deep); border-color: var(--sage-deep); color: var(--paper-2); }
.gal-chip.is-active span { color: rgba(246,242,235,0.7); }
.gal-hint { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--muted); }
.gal-hint svg { width: 15px; height: 15px; }

.gal-grid { columns: 3; column-gap: 20px; }
.gal-item { break-inside: avoid; margin: 0 0 20px; }
.gal-item[hidden] { display: none; }
.gal-btn {
  display: block; position: relative; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  background: var(--stone); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.gal-btn img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease); }
.gal-btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(35,37,32,0.72) 0%, rgba(35,37,32,0.18) 38%, transparent 62%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.gal-btn:hover, .gal-btn:focus-visible { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.gal-btn:hover img, .gal-btn:focus-visible img { transform: scale(1.05); }
.gal-btn:hover::after, .gal-btn:focus-visible::after { opacity: 1; }

.gal-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 7px;
  padding: 18px 20px; text-align: left; color: var(--paper-2);
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.3;
  opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.gal-cat {
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--terra); color: #fff; border-radius: 999px; padding: 4px 11px;
}
.gal-btn:hover .gal-cap, .gal-btn:focus-visible .gal-cap { opacity: 1; transform: none; }
.gal-zoom {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(246,242,235,0.92); color: var(--ink);
  opacity: 0; transform: scale(0.85); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.gal-zoom svg { width: 16px; height: 16px; }
.gal-btn:hover .gal-zoom, .gal-btn:focus-visible .gal-zoom { opacity: 1; transform: none; }

@media (hover: none) {
  .gal-btn::after { opacity: 1; }
  .gal-cap { opacity: 1; transform: none; }
}
@media (max-width: 1000px) { .gal-grid { columns: 2; } }
@media (max-width: 620px) {
  .gal-grid { columns: 1; }
  .gal-top { flex-direction: column; align-items: flex-start; }
  .gal-filters { width: 100%; }
  .gal-chip { padding: 8px 14px; font-size: 0.88rem; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 64px 24px;
  background: rgba(24,26,22,0.94);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-stage { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 100%; max-height: 100%; }
.lb-stage img {
  display: block; max-width: min(1100px, 100%); max-height: calc(100vh - 190px);
  width: auto; height: auto; object-fit: contain;
  border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--ink);
}
.lb-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; text-align: center; color: var(--paper-2); font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; }
.lb-cat { font-family: var(--font-body); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; background: var(--terra); color: #fff; border-radius: 999px; padding: 4px 11px; }
.lb-count { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 0.82rem; font-weight: 400; color: rgba(246,242,235,0.6); }
.lb-close, .lb-nav {
  position: absolute; z-index: 3; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(246,242,235,0.22); border-radius: 50%;
  background: rgba(246,242,235,0.1); color: var(--paper-2);
  transition: background .25s, transform .25s var(--ease), border-color .25s;
}
.lb-close:hover, .lb-nav:hover { background: rgba(246,242,235,0.22); border-color: rgba(246,242,235,0.5); }
.lb-close { top: 18px; right: 18px; width: 44px; height: 44px; }
.lb-close svg { width: 21px; height: 21px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lb-nav:hover { transform: translateY(-50%) scale(1.06); }
.lb-nav svg { width: 26px; height: 26px; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
@media (max-width: 620px) {
  .lightbox { padding: 60px 12px 92px; }
  .lb-stage img { max-height: calc(100vh - 210px); }
  .lb-nav { top: auto; bottom: 20px; transform: none; width: 46px; height: 46px; }
  .lb-nav:hover { transform: scale(1.06); }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lb-cap { font-size: 0.98rem; }
}
