/* =========================================================
   SIDNEY HIPPOLYTE — Maçonnerie · Clermont-Ferrand
   Direction : « Pierre de lave contemporaine » (Basalte & Braise)
   Fonts : Bricolage Grotesque (display) + Inter (body) — chargées en <head>
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink:        #14140F;
  --ink-2:      #1E1E18;
  --ink-3:      #2A2A22;
  --bone:       #F4F1EA;
  --bone-2:     #E9E4D8;
  --sand:       #C9BFA8;
  --ember:      #C0392B;  /* rouge brique du logo Sidney Hippolyte */
  --ember-deep: #9A2A20;
  --text:       #1A1A14;
  --text-muted: #5A564C;
  --on-dark:    #EFEBE1;
  --on-dark-muted: #A8A092;

  --ff-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --ff-body:    "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --fs-display: clamp(40px, 6.2vw, 92px);
  --fs-h2:      clamp(28px, 3.6vw, 50px);
  --fs-h3:      clamp(20px, 2vw, 27px);
  --fs-lead:    clamp(17px, 1.4vw, 21px);

  --r-sm: 6px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow:    0 18px 50px -24px rgba(20,20,15,.45);
  --shadow-sm: 0 6px 18px -10px rgba(20,20,15,.35);
  --shadow-lg: 0 40px 90px -40px rgba(20,20,15,.55);

  --ease: cubic-bezier(0.22, 0.61, 0.18, 1);
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(80px, 12vh, 160px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--bone);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 3px; }

/* ---------- Typo ---------- */
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; color: inherit; }
h1 { font-size: var(--fs-display); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--ember); display: inline-block;
}
.eyebrow.on-dark { color: var(--ember); }
.lead { font-size: var(--fs-lead); color: var(--text-muted); line-height: 1.6; max-width: 56ch; }
.on-dark .lead, .lead.on-dark { color: var(--on-dark-muted); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section.dark { background: var(--ink); color: var(--on-dark); }
.section.bone-2 { background: var(--bone-2); }
.section-head { max-width: 64ch; margin-bottom: clamp(40px, 6vh, 72px); }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 18px; }
.text-muted { color: var(--text-muted); }
.dark .text-muted { color: var(--on-dark-muted); }

/* ---------- Signature : calepinage (filet d'assise) ---------- */
.calepinage {
  height: 14px;
  background-image:
    linear-gradient(to bottom, transparent 3px, var(--ink-3) 3px, var(--ink-3) 4px, transparent 4px),
    linear-gradient(to bottom, transparent 7px, var(--ink-3) 7px, var(--ink-3) 8px, transparent 8px),
    linear-gradient(to bottom, transparent 11px, var(--ink-3) 11px, var(--ink-3) 12px, transparent 12px);
  position: relative;
}
.calepinage::after {
  content: ""; position: absolute; left: var(--gutter); top: 7px; width: 64px; height: 2px; background: var(--ember);
}
.calepinage.on-light {
  background-image:
    linear-gradient(to bottom, transparent 3px, #d8d1c0 3px, #d8d1c0 4px, transparent 4px),
    linear-gradient(to bottom, transparent 7px, #d8d1c0 7px, #d8d1c0 8px, transparent 8px),
    linear-gradient(to bottom, transparent 11px, #d8d1c0 11px, #d8d1c0 12px, transparent 12px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 16px 15px 26px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  transition: transform .2s var(--ease), background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform;
}
.btn .ico {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.btn .ico svg { width: 15px; height: 15px; }
.btn:active { transform: scale(.975); }

.btn-primary { background: var(--ember); color: #fff; box-shadow: 0 14px 30px -14px rgba(200,80,42,.7); }
.btn-primary .ico { background: rgba(255,255,255,.18); }
.btn-primary:hover { background: var(--ember-deep); }
.btn-primary:hover .ico { transform: translate(3px, -2px); }

.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid rgba(26,26,20,.22); padding-left: 24px; }
.btn-ghost .ico { background: rgba(26,26,20,.07); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--on-dark); }
.btn-ghost:hover .ico { background: rgba(255,255,255,.16); transform: translate(3px,-2px); }

.on-dark .btn-ghost, .btn-ghost.on-dark { color: var(--on-dark); border-color: rgba(239,235,225,.28); }
.on-dark .btn-ghost .ico, .btn-ghost.on-dark .ico { background: rgba(255,255,255,.1); }
.on-dark .btn-ghost:hover, .btn-ghost.on-dark:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.btn-lg { padding: 18px 18px 18px 30px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--ember);
  transition: gap .2s var(--ease);
}
.btn-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn-link:hover svg { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  transition: background-color .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: rgba(20,20,15,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 12px;
  border-bottom-color: rgba(255,255,255,.08);
}
.brand-lockup { display: flex; align-items: center; gap: 11px; }
.brand-lockup .logo, .brand-lockup .logo-icon { height: 46px; width: auto; transition: height .35s var(--ease); }
.topbar.scrolled .brand-lockup .logo, .topbar.scrolled .brand-lockup .logo-icon { height: 39px; }
.wordmark { display: flex; flex-direction: column; line-height: .88; font-family: var(--ff-display); font-weight: 800; letter-spacing: .02em; }
.wordmark .wm-1 { color: var(--ember); font-size: 19px; }
.wordmark .wm-2 { color: var(--bone); font-size: 19px; }
@media (max-width: 380px){ .wordmark .wm-1, .wordmark .wm-2 { font-size: 16px; } .brand-lockup .logo-icon { height: 40px; } }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--on-dark);
  position: relative; padding: 6px 0; transition: color .2s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--ember);
  transition: width .25s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-tel { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--on-dark); font-size: 14.5px; }
.nav-tel svg { width: 16px; height: 16px; color: var(--ember); }

/* burger */
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; flex: none; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(20,20,15,.97);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 100px var(--gutter) 48px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { color: var(--on-dark); font-family: var(--ff-display); font-size: clamp(28px,7vw,40px); font-weight: 700; letter-spacing: -.02em; padding: 8px 0; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s; }
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu.open a:nth-child(1){ transition-delay:.06s } .mobile-menu.open a:nth-child(2){ transition-delay:.10s }
.mobile-menu.open a:nth-child(3){ transition-delay:.14s } .mobile-menu.open a:nth-child(4){ transition-delay:.18s }
.mobile-menu.open a:nth-child(5){ transition-delay:.22s } .mobile-menu.open a:nth-child(6){ transition-delay:.26s }
.mobile-menu.open a:nth-child(7){ transition-delay:.30s }
.mobile-menu a:hover { color: var(--ember); }
.mobile-menu .mm-foot { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.mobile-menu .mm-foot .btn { width: max-content; }
.mobile-menu .mm-tel { color: var(--ember); font-family: var(--ff-body); font-size: 17px; font-weight: 600; letter-spacing: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--on-dark); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,20,15,.74) 0%, rgba(20,20,15,.34) 30%, rgba(20,20,15,.40) 50%, rgba(20,20,15,.74) 78%, rgba(20,20,15,.95) 100%);
}
.hero-inner { padding-block: 130px clamp(40px, 7vh, 78px); width: 100%; }
.hero h1 { max-width: 18ch; margin-top: 22px; text-shadow: 0 2px 30px rgba(10,10,8,.55), 0 1px 4px rgba(10,10,8,.35); }
.hero h1 .accent { color: var(--ember); }
.hero .lead { margin-top: 26px; color: rgba(245,241,234,.96); max-width: 52ch; text-shadow: 0 1px 14px rgba(10,10,8,.6); }
.hero-cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 52px; display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; padding-top: 28px; border-top: 1px solid rgba(239,235,225,.16); }
.hero-meta .cert { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--on-dark); }
.hero-meta .cert svg { width: 18px; height: 18px; color: var(--ember); }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 34px; z-index: 1; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-muted); writing-mode: vertical-rl; display: flex; align-items: center; gap: 14px; }
.hero-scroll::after { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--ember), transparent); }

/* ---------- Trust strip ---------- */
.trust { background: var(--ink-2); color: var(--on-dark); }
.trust .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; padding-block: 26px; }
.trust .ts { display: inline-flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--on-dark-muted); }
.trust .ts strong { color: var(--on-dark); font-weight: 600; }
.trust .ts svg { width: 22px; height: 22px; color: var(--ember); flex: none; }

/* ---------- Services (cartes reveal-on-hover) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2vw, 26px); }
.svc-card {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; isolation: isolate; box-shadow: var(--shadow);
}
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.svc-card::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(20,20,15,.05) 30%, rgba(20,20,15,.55) 65%, rgba(20,20,15,.9) 100%); }
.svc-card:hover img { transform: scale(1.06); }
.svc-body { padding: 30px; }
.svc-body .num { font-family: var(--ff-body); font-weight: 600; font-size: 13px; letter-spacing: .16em; color: var(--ember); }
.svc-body h3 { margin-top: 10px; font-size: clamp(22px, 2.2vw, 30px); }
.svc-desc {
  margin-top: 0; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin-top .5s var(--ease);
  color: rgba(255,255,255,.86); font-size: 15px; line-height: 1.55;
}
.svc-card:hover .svc-desc, .svc-card:focus-within .svc-desc { max-height: 140px; opacity: 1; margin-top: 14px; }
.svc-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags span { font-size: 12px; font-weight: 500; padding: 5px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.14); backdrop-filter: blur(4px); }
.svc-link { position: absolute; inset: 0; z-index: 2; }
.svc-arrow { position: absolute; top: 26px; right: 26px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); display: grid; place-items: center; transition: background .25s var(--ease), transform .25s var(--ease); }
.svc-arrow svg { width: 18px; height: 18px; }
.svc-card:hover .svc-arrow { background: var(--ember); transform: rotate(-45deg); }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px,3vw,44px); }
.stat { padding-top: 26px; border-top: 1px solid rgba(239,235,225,.18); }
.stat .num { font-family: var(--ff-display); font-weight: 700; font-size: clamp(44px, 5vw, 68px); line-height: 1; letter-spacing: -.03em; font-feature-settings: 'tnum'; display: flex; align-items: baseline; gap: 2px; }
.stat .num .suf { color: var(--ember); font-size: .5em; font-weight: 600; }
.stat .lbl { margin-top: 12px; color: var(--on-dark-muted); font-size: 14.5px; max-width: 22ch; }

/* ---------- Split (texte + image) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 84px); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-body h2 { margin-top: 16px; }
.split-body .lead { margin-top: 20px; }
.feature-list { margin-top: 30px; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .fi { width: 26px; height: 26px; border-radius: 50%; background: rgba(200,80,42,.12); display: grid; place-items: center; flex: none; margin-top: 2px; }
.feature-list .fi svg { width: 14px; height: 14px; color: var(--ember); }
.dark .feature-list .fi { background: rgba(200,80,42,.22); }
.feature-list b { font-weight: 600; display: block; }
.feature-list p { color: var(--text-muted); font-size: 15px; margin-top: 2px; }
.dark .feature-list p { color: var(--on-dark-muted); }

/* ---------- Signature volcanique ---------- */
.signature { position: relative; overflow: hidden; }
.signature .sig-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px,5vw,70px); align-items: center; }
.signature .tagline { font-family: var(--ff-display); font-weight: 700; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -.02em; }
.signature .tagline .accent { color: var(--ember); }
.signature .sig-media { aspect-ratio: 5/4; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.signature .sig-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Gallery / réalisations ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.gallery-filter { padding: 9px 18px; border-radius: var(--r-pill); border: 1.5px solid rgba(26,26,20,.16); font-size: 14px; font-weight: 500; color: var(--text-muted); transition: all .2s var(--ease); }
.gallery-filter[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.gallery-filter:hover { border-color: var(--ink); color: var(--text); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px,1.6vw,22px); }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4/3; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; color: #fff; background: linear-gradient(transparent, rgba(20,20,15,.82)); opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.gallery-item:hover figcaption { opacity: 1; transform: none; }
.gallery-item figcaption .cap-t { font-weight: 600; }
.gallery-item figcaption .cap-s { font-size: 13px; color: var(--sand); }
.gallery-item.tall { aspect-ratio: 4/5.4; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,2vw,26px); }
.review {
  background: #fff; border: 1px solid var(--bone-2); border-radius: var(--r-lg); padding: 30px;
  display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-sm);
}
.review .stars { display: flex; gap: 3px; color: var(--ember); }
.review .stars svg { width: 18px; height: 18px; }
.review p { color: var(--text); font-size: 15.5px; line-height: 1.6; flex: 1; }
.review .who { display: flex; align-items: center; gap: 12px; padding-top: 4px; }
.review .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--bone); display: grid; place-items: center; font-family: var(--ff-display); font-weight: 700; font-size: 16px; flex: none; }
.review .who b { font-weight: 600; font-size: 15px; }
.review .who span { display: block; font-size: 13px; color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); border-radius: clamp(20px,3vw,32px); padding: clamp(40px,6vw,80px); }
.cta-band::before { content:""; position:absolute; right:-60px; top:-60px; width: 320px; height: 320px; border-radius:50%; background: radial-gradient(circle, rgba(200,80,42,.34), transparent 65%); pointer-events:none; }
.cta-band .inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { max-width: 18ch; }
.cta-band .lead { color: var(--on-dark-muted); margin-top: 14px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px,4vw,64px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 26px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-row .ii { width: 46px; height: 46px; border-radius: 50%; background: rgba(200,80,42,.12); display: grid; place-items: center; flex: none; }
.dark .info-row .ii { background: rgba(200,80,42,.2); }
.info-row .ii svg { width: 20px; height: 20px; color: var(--ember); }
.info-row .k { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.dark .info-row .k { color: var(--on-dark-muted); }
.info-row .v { font-size: 17px; font-weight: 500; margin-top: 2px; }
.info-row a.v:hover { color: var(--ember); }

.form-card { background: #fff; border-radius: var(--r-lg); padding: clamp(26px,3vw,40px); box-shadow: var(--shadow); border: 1px solid var(--bone-2); }
.dark .form-card { color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-top: 16px; }
.field:first-child { margin-top: 0; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 7px; letter-spacing: .02em; }
.field label .req { color: var(--ember); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: var(--r-sm);
  border: 1.5px solid var(--bone-2); background: var(--bone); color: var(--text);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ember); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--text-muted); }
.form-card .btn { margin-top: 22px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-muted); padding-block: clamp(54px,7vh,84px) 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .logo { height: 44px; margin-bottom: 18px; }
.footer .brand-lockup--footer { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.footer .brand-lockup--footer .logo-icon { height: 48px; width: auto; }
.footer p { font-size: 14.5px; line-height: 1.6; max-width: 34ch; }
.footer h4 { font-family: var(--ff-body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 18px; font-weight: 600; }
.footer-col a { display: block; font-size: 14.5px; padding: 5px 0; color: var(--on-dark-muted); transition: color .2s; }
.footer-col a:hover { color: var(--ember); }
.footer-contact a { color: var(--on-dark); font-weight: 500; }
.footer-certs { display: flex; gap: 10px; margin-top: 18px; }
.footer-certs span { font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 6px 12px; border: 1px solid var(--ink-3); border-radius: var(--r-pill); color: var(--on-dark); }
.footer-bottom { margin-top: clamp(40px,6vh,64px); padding-top: 24px; border-top: 1px solid var(--ink-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; }
.footer-bottom a:hover { color: var(--ember); }

/* ---------- Page header (sous-pages) ---------- */
.page-hero { position: relative; padding-block: clamp(140px,18vh,200px) clamp(50px,8vh,90px); color: var(--on-dark); isolation: isolate; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(20,20,15,.78), rgba(20,20,15,.62) 60%, rgba(20,20,15,.92)); }
.page-hero h1 { max-width: 18ch; margin-top: 18px; text-shadow: 0 2px 30px rgba(10,10,8,.5); }
.page-hero .lead { color: rgba(245,241,234,.95); margin-top: 22px; text-shadow: 0 1px 14px rgba(10,10,8,.55); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--on-dark-muted); }
.breadcrumb a:hover { color: var(--ember); }
.breadcrumb .sep { opacity: .5; }

/* prose for service / legal */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 48px; }
.prose h3 { margin-top: 32px; }
.prose p { margin-top: 16px; color: var(--text-muted); }
.prose ul.bullets { margin-top: 16px; display: grid; gap: 10px; }
.prose ul.bullets li { display: flex; gap: 12px; }
.prose ul.bullets li::before { content: ""; width: 7px; height: 7px; margin-top: 9px; background: var(--ember); border-radius: 2px; flex: none; }

/* cross-links services */
.xlinks { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.xlink { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 24px; border: 1.5px solid var(--bone-2); border-radius: var(--r); background:#fff; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.xlink:hover { border-color: var(--ember); transform: translateY(-3px); }
.xlink b { font-family: var(--ff-display); font-size: 18px; }
.xlink svg { width: 20px; height: 20px; color: var(--ember); flex: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(1){ transition-delay:.04s } .reveal-stagger.visible > *:nth-child(2){ transition-delay:.10s }
.reveal-stagger.visible > *:nth-child(3){ transition-delay:.16s } .reveal-stagger.visible > *:nth-child(4){ transition-delay:.22s }
.reveal-stagger.visible > *:nth-child(5){ transition-delay:.28s } .reveal-stagger.visible > *:nth-child(6){ transition-delay:.34s }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links, .nav-tel { display: none; }
  .nav-toggle { display: block; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { aspect-ratio: 16/10; }
  .signature .sig-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .gallery { grid-template-columns: repeat(2,1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .xlinks { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .services-grid { grid-template-columns: 1fr; }
  .svc-card { min-height: 360px; }
  .svc-desc { max-height: 140px; opacity: 1; margin-top: 14px; } /* mobile: pas de hover → toujours visible */
  .stats { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band .inner { flex-direction: column; align-items: flex-start; }
  .hero-scroll { display: none; }
  .nav-actions .btn span.lbl { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}
