/* ============================================================
   TOKENS — Crépi contrasté · Façades Gaspar
   ============================================================ */
:root {
  --paper:        #EFEDE8;
  --paper-soft:   #F5F3EF;
  --paper-deep:   #E5E1D8;
  --shadow:       #D7D3CA;
  --ink:          #161513;
  --ink-2:        #2E2B27;
  --mute:         #6F6A62;
  --mute-soft:    #A09B92;
  --line:         rgba(22, 21, 19, 0.10);
  --line-strong:  rgba(22, 21, 19, 0.22);
  --brick:        #B0432C;
  --brick-deep:   #862E1D;
  --brick-soft:   #C45A3F;

  --font:    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-disp:  -0.04em;
  --t-body:  -0.005em;
  --maxw:    1440px;
  --gutter:  clamp(20px, 4vw, 56px);
  --sec-y:   clamp(72px, 9vw, 140px);

  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-sharp:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:     cubic-bezier(0.65, 0, 0.35, 1);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: var(--t-body);
  font-feature-settings: "ss01", "cv01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--brick); color: var(--paper); }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { padding-block: var(--sec-y); position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mute);
}
.eyebrow .dash { width: 28px; height: 1px; background: currentColor; display: inline-block; }
.eyebrow .brick { color: var(--brick); }

.accent { color: var(--brick); }
em { font-style: italic; font-family: "Times New Roman", serif; font-weight: 400; }

h1, h2, h3, h4 { font-weight: 800; letter-spacing: var(--t-disp); }

/* ============================================================
   HEADER
   ============================================================ */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(239, 237, 232, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.hdr.scrolled {
  background: rgba(239, 237, 232, 0.94);
  border-bottom-color: var(--line);
}
.hdr .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand {
  font-size: 21px; font-weight: 800;
  letter-spacing: -0.028em;
  display: inline-flex; align-items: baseline; gap: 2px;
}
.brand .dot { color: var(--brick); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; list-style: none; gap: 28px; }
.nav-list a {
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.005em;
  padding: 6px 0;
  position: relative;
  transition: color 0.3s var(--ease-out);
}
.nav-list a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 2px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out-sharp);
}
.nav-list a:hover::after { transform: scaleX(1); }
.nav-list .ite { color: var(--brick); font-weight: 700; }

.hdr-end { display: flex; align-items: center; gap: 14px; }
.lang {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--ink-2);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all 0.3s var(--ease-out);
}
.lang:hover { color: var(--brick); border-color: var(--brick); }

.phone-icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%;
  transition: all 0.4s var(--ease-out);
}
.phone-icon svg { width: 16px; height: 16px; }
.phone-icon:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(-10deg); }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
}
.menu-btn span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink);
  transition: all 0.4s var(--ease-out);
}
.menu-btn.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-list, .lang, .phone-icon { display: none; }
  .menu-btn { display: flex; }
}

.mmenu {
  position: fixed; inset: 0; z-index: 49;
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px var(--gutter) 60px;
  transform: translateY(-100%);
  transition: transform 0.65s var(--ease-out-sharp);
}
.mmenu.is-open { transform: translateY(0); }
.mmenu a.lg {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid rgba(239,237,232,0.10);
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.mmenu a.lg.ite { color: var(--brick-soft); }
.mmenu .mm-meta {
  margin-top: 28px;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute-soft);
}
.mmenu .mm-tel {
  margin-top: 12px;
  font-size: 28px; font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brick-soft);
}
body.locked { overflow: hidden; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 26px;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0;
  position: relative; overflow: hidden;
  transition: color 0.4s var(--ease-out);
  cursor: pointer;
}
.btn .arrow {
  width: 16px; height: 12px;
  transition: transform 0.4s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(6px); }
.btn-pri {
  background: var(--brick); color: var(--paper);
  box-shadow: 0 2px 0 var(--brick-deep);
  transition: transform 0.5s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.btn-pri::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out-sharp);
  z-index: 0;
}
.btn-pri > * { position: relative; z-index: 1; }
.btn-pri:hover { box-shadow: 0 5px 0 var(--brick-deep); }
.btn-pri:hover::before { transform: translateY(0); }
.btn-ghost {
  color: var(--ink); padding-block: 18px;
}
.btn-ghost::after {
  content: "";
  position: absolute;
  left: 0; right: 28px; bottom: 14px;
  height: 1px; background: currentColor;
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-sharp);
}
.btn-ghost:hover::after { transform: scaleX(0.3); }
.btn-inv-ghost { color: var(--paper); padding-block: 18px; }
.btn-inv-ghost::after {
  content: "";
  position: absolute;
  left: 0; right: 28px; bottom: 14px;
  height: 1px; background: currentColor;
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-sharp);
}
.btn-inv-ghost:hover::after { transform: scaleX(0.3); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.sec-head h2 {
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 16ch;
}
.sec-head .lead {
  font-size: 15.5px;
  color: var(--mute);
  max-width: 44ch;
}
.sec-head .lead strong { color: var(--ink); font-weight: 700; }
@media (max-width: 800px) {
  .sec-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
}

/* ============================================================
   HERO (page-banner — alternative pour sub-pages)
   ============================================================ */
.page-banner {
  padding-block: clamp(60px, 8vw, 120px) clamp(40px, 5vw, 80px);
  position: relative;
  border-bottom: 1px solid var(--line);
}
.page-banner .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
}
.page-banner .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mute);
}
.page-banner .num-tag {
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--brick);
}
.page-banner h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin-bottom: 22px;
  max-width: 16ch;
}
.page-banner .lead {
  font-size: 16px; color: var(--mute); max-width: 50ch;
}
.page-banner .crumbs {
  display: inline-flex; gap: 8px; align-items: center;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--mute);
  margin-bottom: 32px;
}
.page-banner .crumbs a:hover { color: var(--brick); }
.page-banner .crumbs .sep { color: var(--mute-soft); }
@media (max-width: 880px) {
  .page-banner .wrap { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease-out-sharp), transform 1s var(--ease-out-sharp);
}
.reveal.in { opacity: 1; transform: none; }
.stagger > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.9s var(--ease-out-sharp), transform 0.9s var(--ease-out-sharp);
}
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.in > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.in > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.in > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.in > *:nth-child(6) { transition-delay: 0.40s; }
.stagger.in > *:nth-child(7) { transition-delay: 0.42s; }
.stagger.in > *:nth-child(8) { transition-delay: 0.48s; }
.stagger.in > *:nth-child(9) { transition-delay: 0.54s; }

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

/* ============================================================
   CTA BLOCK
   ============================================================ */
.cta-block {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(72px, 9vw, 140px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 50% 100%, rgba(176,67,44,0.18), transparent 70%);
  pointer-events: none;
}
.cta-block .inner { max-width: 880px; margin: 0 auto; position: relative; }
.cta-block h2 {
  font-size: clamp(2rem, 5vw, 4.4rem);
  letter-spacing: -0.04em;
  line-height: 0.96;
  font-weight: 800;
  margin-bottom: 22px;
}
.cta-block .accent { color: var(--brick-soft); }
.cta-block p {
  max-width: 56ch; margin: 0 auto 36px;
  color: rgba(239,237,232,0.65);
  font-size: 16px;
}
.cta-block .cta-row { justify-content: center; }
.cta-block .btn-pri { background: var(--brick); }
.cta-block .btn-ghost { color: var(--paper); }

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-ftr {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(60px, 7vw, 96px);
  padding-bottom: 32px;
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
}
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-top { grid-template-columns: 1fr; } }

.foot-brand h3 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.0;
}
.foot-brand .h3 .dot { color: var(--brick-soft); }
.foot-brand .bl {
  margin-top: 10px;
  font-style: italic;
  font-family: "Times New Roman", serif;
  color: var(--brick-soft);
  font-size: 14px;
}
.foot-brand .nap {
  margin-top: 22px;
  font-style: normal;
  font-size: 13px;
  color: rgba(239,237,232,0.65);
  line-height: 1.7;
}
.foot-brand .nap a {
  color: var(--paper);
  border-bottom: 1px solid rgba(239,237,232,0.2);
  transition: all 0.3s var(--ease-out);
}
.foot-brand .nap a:hover {
  color: var(--brick-soft);
  border-color: var(--brick-soft);
}

.foot-col h4 {
  font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(239,237,232,0.45);
  font-weight: 700;
  margin-bottom: 22px;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 10px; }
.foot-col a {
  font-size: 14.5px;
  position: relative;
  display: inline-block;
  padding: 2px 0;
}
.foot-col a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--brick);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out-sharp);
}
.foot-col a:hover::after { transform: scaleX(1); }

.foot-cta {
  background: var(--brick);
  padding: 28px;
}
.foot-cta h4 {
  font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(239,237,232,0.85);
  font-weight: 700;
  margin-bottom: 14px;
}
.foot-cta .bigtel {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--paper);
  display: block;
  margin-bottom: 14px;
}
.foot-cta .bigtel:hover { color: rgba(239,237,232,0.85); }
.foot-cta p {
  font-size: 13px;
  color: rgba(239,237,232,0.78);
  margin-bottom: 14px;
}
.foot-cta .btn-inv-ghost { color: var(--paper); padding: 6px 0; }
.foot-cta .btn-inv-ghost::after { display: none; }

.foot-bot {
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid rgba(239,237,232,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px;
  color: rgba(239,237,232,0.45);
  letter-spacing: 0.02em;
}
.foot-bot strong { color: rgba(239,237,232,0.7); font-weight: 700; }

/* ============================================================
   MOBILE STICKY
   ============================================================ */
.msticky {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 48;
  background: var(--ink);
  padding: 12px;
  gap: 10px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}
.msticky a {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 0;
}
.msticky .call { background: var(--paper); color: var(--ink); }
.msticky .quote { background: var(--brick); color: var(--paper); }
@media (max-width: 720px) {
  .msticky { display: flex; }
  body.has-sticky { padding-bottom: 80px; }
}

/* ============================================================
   CONTENT BLOCKS (pour pages services/zones/guides)
   ============================================================ */
.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
}
.prose p { margin-bottom: 1.2em; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.02em;
  margin-top: 1.6em;
  margin-bottom: 0.4em;
}
.prose ul {
  list-style: none;
  margin: 1em 0;
}
.prose ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 12px; height: 2px;
  background: var(--brick);
}
.prose blockquote {
  border-left: 3px solid var(--brick);
  padding: 8px 0 8px 22px;
  margin: 1.4em 0;
  font-style: italic;
  font-family: "Times New Roman", serif;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.4;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.split > .ph {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-deep);
}
.split > .ph img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.04);
}
.split > .ph figcaption {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 600;
}
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 36px;
}
.facts-grid .f { display: flex; flex-direction: column; gap: 6px; }
.facts-grid .f .v {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.facts-grid .f .v .a { color: var(--brick); }
.facts-grid .f .l {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 600;
}
@media (max-width: 720px) { .facts-grid { grid-template-columns: 1fr; } }

.tag-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.tag-pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brick);
}

.related {
  background: var(--paper-soft);
  padding-block: clamp(72px, 9vw, 140px);
}
.related-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 36px;
}
.related-item {
  background: var(--paper);
  padding: 28px;
  transition: background 0.4s var(--ease-out);
}
.related-item:hover { background: var(--paper-soft); }
.related-item h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 12px 0 6px;
  line-height: 1.2;
}
.related-item p { color: var(--mute); font-size: 14px; }
.related-item .arrow-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick);
}
.related-item .arrow-link svg { transition: transform 0.4s var(--ease-out); }
.related-item:hover .arrow-link svg { transform: translateX(4px); }
.related-item .num {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; color: var(--mute);
}
@media (max-width: 800px) { .related-list { grid-template-columns: 1fr; } }

.image-banner {
  position: relative;
  height: clamp(260px, 38vw, 460px);
  overflow: hidden;
  background: var(--paper-deep);
}
.image-banner img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.05) saturate(0.85);
}
.image-banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,21,19,0.15) 0%, rgba(22,21,19,0.55) 100%);
}
.image-banner .wrap {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(28px, 5vw, 56px);
  color: var(--paper);
}
.image-banner .lbl {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brick-soft);
  margin-bottom: 8px;
}
.image-banner h2 {
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  letter-spacing: -0.04em;
  font-weight: 800;
  line-height: 0.98;
  max-width: 22ch;
}
