/* ==========================================================================
   Pierre du Midi — feuille de styles commune
   --------------------------------------------------------------------------
   Organisation
   1. Polices & tokens        6. Header & méga-menu       11. Cookies
   2. Base                    7. Héros de page            12. Chat & newsletter
   3. Mise en page            8. Sections partagées       13. Menu mobile & barre
   4. Typographie             9. Pied de page             14. Animations
   5. Boutons & éléments     10. Modale devis & formulaires

   Les styles propres à une page vivent dans assets/css/pages/<page>.css.
   ========================================================================== */

/* 1. Polices & tokens ------------------------------------------------------ */
@font-face {
  font-family: 'GT Ultra';
  src: url('../fonts/GT-Ultra-Fine-Black-Trial.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --brand: #806E56;
  --brand-dark: #6A5A45;
  --ink: #3D3E3C;
  --muted: #5F605C;
  --sand: #A59681;
  --stone: #D2C6B4;
  --line: #E0D7CA;
  --mist: #EEE8DF;
  --cream: #FAF8F4;
  --deep: #352D24;
  --night: #2B251E;
  --line-dark: #463B2E;
  --warm: #5A4C3B;
  --error: #9E3B2C;
  --online: #3CCB7F;

  --font-display: 'GT Ultra', 'Playfair Display', serif;
  --font-body: Quicksand, sans-serif;

  --container: 1240px;
  --gutter: 40px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.2, .7, .2, 1);
  --shadow-card: 0 28px 48px -24px rgba(43, 37, 30, .28);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.22 0 0 0 0 0.27 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
/* height: auto laisse le CSS (aspect-ratio, object-fit) décider de la hauteur : les attributs
   width/height ne servent qu’à réserver la place au chargement. */
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  padding: 12px 18px; border-radius: 8px; background: var(--brand); color: #fff;
  font: 600 15px/1 var(--font-body); transition: top .2s;
}
.skip-link:focus { top: 16px; color: #fff; }

/* 3. Mise en page ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 120px 0; }
.section--cream { background: var(--cream); }
.section--white { background: #fff; }
.section--ruled { border-top: 1px solid var(--line); }
.section--noise { background-color: var(--cream); background-image: var(--noise); }
.section--dark { position: relative; overflow: hidden; background: var(--deep); color: #fff; }

/* Grilles : les colonnes se règlent via --cols, la réduction est automatique. */
/* --cols et --gap ne s'héritent pas : une grille imbriquée garde ses valeurs par défaut. */
@property --cols { syntax: '*'; inherits: false; }
@property --gap { syntax: '*'; inherits: false; }
.split { display: grid; grid-template-columns: var(--cols, minmax(0, 1fr) minmax(0, 1fr)); gap: var(--gap, clamp(40px, 6vw, 88px)); }
.g-2 { display: grid; grid-template-columns: var(--cols, repeat(2, minmax(0, 1fr))); gap: var(--gap, 16px); }
.g-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap, 24px); }
.g-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap, 16px); }
.g-gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap, 20px); }
.sticky { position: sticky; top: 120px; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 20px); }
.row { display: flex; flex-wrap: wrap; gap: var(--gap, 12px); }
.mbar, .header-actions .burger { display: none; }

/* 4. Typographie ----------------------------------------------------------- */
.h1, .h2, .h3, .display { font-family: var(--font-display); font-weight: 700; margin: 0; }
.h1 { font-size: 56px; line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
.h1--xl { font-size: 64px; line-height: 1.02; }
.h2 { font-size: 48px; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.h2--md { font-size: 40px; line-height: 1.06; }
.h2--xl { font-size: 56px; line-height: 1.02; letter-spacing: -.025em; }
.h3 { font-size: 26px; line-height: 1.15; }
.accent { color: var(--brand); }
.accent-light { color: var(--stone); }
.lead { margin: 0; font: 400 18px/1.7 var(--font-body); color: var(--ink); }
.text { margin: 0; font: 400 16px/1.6 var(--font-body); color: var(--muted); }
.text--sm { font-size: 15px; }
.text--light { color: var(--line); }
.prose { display: flex; flex-direction: column; gap: 16px; font: 400 16px/1.7 var(--font-body); color: var(--ink); }
.prose p { margin: 0; }
.prose strong { font-weight: 700; }

/* Sur-titre avec point pulsé */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font: 600 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow--light { color: var(--stone); }
.pulse { position: relative; flex: none; display: block; width: 10px; height: 10px; --pulse: var(--brand); }
.pulse--sm { width: 8px; height: 8px; }
.pulse--light { --pulse: var(--stone); }
.pulse--sand { --pulse: var(--sand); }
.pulse::before, .pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--pulse);
}
.pulse::before { animation: pdm-ping 2.2s cubic-bezier(0, 0, .2, 1) infinite; }
.pulse::after { box-shadow: 0 0 10px 2px var(--pulse); animation: pdm-glow 2.2s ease-in-out infinite; }

/* 5. Boutons & éléments ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 8px; border: 1.5px solid transparent;
  font: 600 15px/1 var(--font-body); white-space: nowrap; cursor: pointer; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s, gap .2s;
}
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; gap: 12px; }
.btn--sm { min-height: 48px; padding: 0 20px; font-size: 14px; }
.btn--xs { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--primary.btn--on-dark:hover { background: var(--sand); color: var(--night); }
.btn--outline { border-color: var(--brand); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--outline-brand { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--outline-brand:hover { background: var(--brand); color: #fff; }
.btn--outline-soft { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--outline-soft:hover { background: var(--mist); color: var(--brand); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--ghost-solid { border-color: rgba(255, 255, 255, .6); color: #fff; background: transparent; }
.btn--ghost-solid:hover { background: #fff; color: var(--night); }
.btn--white { background: #fff; color: var(--brand); }
.btn--white:hover { background: var(--mist); color: var(--brand); }
.btn--link { min-height: 48px; padding: 0 4px; border: 0; background: none; color: var(--brand); }
.btn--lift:hover { transform: translateY(-1px); }

.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font: 600 15px/1.4 var(--font-body); color: var(--ink); }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { flex: none; margin-top: 1px; }

.icon-tile {
  flex: none; width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; background: var(--mist); color: var(--brand);
}

/* Tracés d'épure animés */
.epure { position: absolute; pointer-events: none; overflow: visible; height: auto; }
.epure g { transform-origin: 280px 280px; }
.epure .trace { stroke-dasharray: 1; stroke-dashoffset: 1; animation: pdm-trace var(--d, 9s) cubic-bezier(.45, 0, .55, 1) var(--delay, 0s) infinite; }
.epure .spin { animation: pdm-spin 90s linear infinite; }
.epure .spin-r { animation: pdm-spin-r 120s linear infinite; }

/* 6. Header & méga-menu ---------------------------------------------------- */
.site-top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
.topbar { background: var(--brand); color: #fff; font: 600 14px/1 var(--font-body); }
.topbar__inner { height: 40px; overflow: hidden; transition: height .3s; display: flex; align-items: center; }
.is-scrolled .topbar__inner { height: 0; }
.marquee {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 48px), transparent);
}
.marquee__track { display: flex; width: max-content; animation: ptmoi-marquee 38s linear infinite; }
.marquee__track:hover { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 28px; padding-right: 28px; flex: none; }
.marquee__item { display: flex; align-items: center; gap: 8px; color: #fff; white-space: nowrap; }
a.marquee__item:hover { color: var(--night); }
.marquee__dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .7); flex: none; }

.site-header {
  position: relative; height: 88px; background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 12px 32px -12px rgba(43, 37, 30, .12);
  transition: height .3s;
}
.is-scrolled .site-header { height: 68px; }
.site-header__inner {
  height: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 3vw, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: clamp(12px, 2vw, 32px);
}
.logo { display: flex; }
.logo img { height: 60px; width: auto; transition: height .3s; }
.is-scrolled .logo img { height: 46px; }

.main-nav { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 32px); white-space: nowrap; font: 500 15px/1 var(--font-body); }
.main-nav > a, .mega-toggle { color: var(--ink); padding: 12px 0; white-space: nowrap; }
.main-nav > a:hover, .mega-toggle:hover, .main-nav > a[aria-current="page"] { color: var(--brand); }
.mega-toggle { display: flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font: inherit; }
.mega-toggle__caret { display: inline-block; font-size: 10px; transition: transform .2s; }
.mega-toggle[aria-expanded="true"] .mega-toggle__caret { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--brand);
  background: none; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.round-btn:hover { color: var(--brand); }
.header-cta { height: 48px; padding: 0 22px; }

.mega { position: absolute; left: 0; right: 0; top: 100%; display: none; }
.mega.is-open { display: block; }
.mega__panel { background: var(--cream); border-top: 1px solid var(--line); box-shadow: 0 32px 64px -32px rgba(43, 37, 30, .35); }
.mega__grid {
  padding-top: 36px; padding-bottom: 36px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: stretch;
}
.mega__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mega__item {
  display: flex; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 12px;
  color: var(--ink); transition: background .3s;
}
.mega__ico {
  flex: none; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  border: 1.5px solid var(--brand); color: var(--brand); transition: background .3s, color .3s;
}
.mega__title { flex: 1; font: 700 21px/1.15 var(--font-display); transition: color .3s; }
.mega__arrow { flex: none; color: var(--brand); font: 400 18px/1 var(--font-body); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease-out); }
.mega__item.is-active { background: #fff; }
.mega__item.is-active .mega__ico { background: var(--brand); color: #fff; }
.mega__item.is-active .mega__title { color: var(--brand); }
.mega__item.is-active .mega__arrow { opacity: 1; transform: none; }
.mega__detail { display: none; flex-direction: column; gap: 14px; padding: 12px 0 12px 40px; border-left: 1px solid var(--line); white-space: normal; }
.mega__detail.is-active { display: flex; }
.mega__num { font: 600 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.mega__name { font: 700 26px/1.12 var(--font-display); color: var(--ink); }
.mega__detail p { margin: 0; font: 400 14px/1.6 var(--font-body); color: var(--muted); }
.mega__detail .check-list { gap: 8px; font-size: 14px; line-height: 1.35; }
.mega__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.mega__media { position: relative; min-height: 280px; border-radius: 12px; overflow: hidden; background: var(--line); }
.mega__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity .5s ease, transform 1.2s var(--ease-out);
}
.mega__media img.is-active { opacity: 1; transform: none; }
.mega__call {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; border-radius: 10px;
  background: rgba(43, 37, 30, .86); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font: 600 14px/1.3 var(--font-body);
}
.mega__call:hover { color: #fff; }

/* 7. Héros de page --------------------------------------------------------- */
.page-hero {
  position: relative; min-height: 600px; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--night); padding: 180px 0 88px;
}
.page-hero--short { min-height: 420px; }
.page-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43, 37, 30, .92) 0%, rgba(43, 37, 30, .7) 45%, rgba(43, 37, 30, .25) 100%); }
.page-hero .epure { z-index: 1; right: max(40px, calc((100vw - var(--container)) / 2 + 40px)); top: 55%; transform: translateY(-50%); width: min(30vw, 420px); }
.page-hero__body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 22px; }
.page-hero .h1 { max-width: 760px; }
.page-hero__lead { margin: 0; max-width: 600px; font: 500 19px/1.5 var(--font-body); color: var(--stone); }
.page-hero__actions { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 12px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; font: 500 14px/1.4 var(--font-body); color: var(--line); }
.breadcrumb a { color: var(--line); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }

/* 8. Sections partagées ---------------------------------------------------- */
/* Accordéon FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .3s, box-shadow .3s; }
.faq-item__q {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%; padding: 22px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq-item__q:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 14px; }
.faq-item__label { font: 600 20px/1.3 var(--font-display); color: var(--ink); }
.faq-item__icon {
  flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--mist); color: var(--brand); font: 400 22px/1 var(--font-body);
  transition: transform .3s, background .3s, color .3s;
}
.faq-item__a { margin: 0; padding: 0 24px 24px; font: 400 16px/1.7 var(--font-body); color: var(--muted); max-width: 720px; }
.faq-item.is-open { border-color: var(--brand); box-shadow: 0 20px 40px -24px rgba(43, 37, 30, .3); }
.faq-item.is-open .faq-item__icon { background: var(--brand); color: #fff; transform: rotate(45deg); }

/* Bandeau « Besoin d'un devis immédiat ? » */
.cta-band { position: relative; overflow: hidden; padding: 100px 0; background: var(--night); color: #fff; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band__grid { --cols: minmax(0, 1fr) minmax(0, 1fr); --gap: 40px clamp(40px, 6vw, 88px); align-items: center; }
.cta-band__copy { display: flex; flex-direction: column; gap: 18px; }
.cta-band__copy .h2 { color: #fff; line-height: 1.04; }
.cta-band__copy p { margin: 0; font: 400 18px/1.6 var(--font-body); color: var(--line); }
.cta-band__copy .btn { align-self: flex-start; margin-top: 8px; }
.contact-tile {
  display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .18); color: #fff; transition: background .3s;
}
.contact-tile:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.contact-tile__label { font: 600 13px/1 var(--font-body); color: var(--stone); }
.contact-tile__value { font: 600 24px/1.2 var(--font-display); }
.contact-tile__value--sm { font-size: 19px; line-height: 1.25; overflow-wrap: anywhere; }

/* Carte « zone d'intervention » */
.zone-card { width: min(460px, 100%); background: #fff; border-radius: 20px; padding: 36px; box-shadow: 0 40px 80px -36px rgba(43, 37, 30, .45); display: flex; flex-direction: column; gap: 20px; }
.info-list { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.info-list li { display: flex; gap: 14px; align-items: center; }
.info-list__text { display: flex; flex-direction: column; gap: 2px; }
.info-list__k { font: 600 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.info-list__v { font: 600 15px/1.35 var(--font-body); color: var(--ink); }

/* Carte Google Maps chargée après consentement */
.map-consent {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 24px; text-align: center; background-color: var(--mist); background-image: var(--noise);
}
.map-consent__ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); }
.map-consent p { margin: 0; max-width: 320px; font: 500 14px/1.5 var(--font-body); color: var(--muted); }

/* Visionneuse photo */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(27, 23, 19, .94);
  display: flex; align-items: center; justify-content: center; padding: 48px 112px;
}
.lightbox__figure { margin: 0; width: 100%; max-width: 1100px; display: flex; flex-direction: column; gap: 16px; }
.lightbox__img { width: 100%; height: 78vh; object-fit: contain; border-radius: 12px; }
.lightbox__caption { display: flex; justify-content: space-between; gap: 24px; color: #fff; font: 500 16px/1.4 var(--font-body); }
.lightbox__caption span + span { color: var(--sand); }
.lightbox__btn {
  position: absolute; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5);
  background: none; color: #fff; font: 400 24px/1 var(--font-body); cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .12); }
.lightbox__btn--prev { left: 32px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 32px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--close { right: 32px; top: 32px; width: 48px; height: 48px; font-size: 20px; }

/* 9. Pied de page ---------------------------------------------------------- */
.site-footer { background: var(--night); color: var(--line); }
.site-footer__inner { padding-top: 80px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 48px; }
.site-footer__grid { --cols: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); --gap: 48px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 20px; }
.site-footer__brand img { height: 72px; width: auto; align-self: flex-start; filter: brightness(0) invert(1); }
.site-footer__brand p { margin: 0; max-width: 360px; font: 400 15px/1.6 var(--font-body); }
.site-footer__col { display: flex; flex-direction: column; gap: 12px; font: 500 15px/1.3 var(--font-body); }
.site-footer__col a { color: var(--line); }
.site-footer__col a:hover { color: #fff; }
.site-footer__title { font: 600 13px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--sand); margin-bottom: 6px; }
.site-footer__contact { font-weight: 400; line-height: 1.5; color: var(--line); }
.site-footer__contact a, .site-footer__contact span { display: flex; align-items: flex-start; gap: 10px; }
.site-footer__contact a:first-of-type { color: #fff; }
.site-footer__contact svg { flex: none; margin-top: 3px; color: var(--sand); }
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  border-top: 1px solid var(--line-dark); padding-top: 24px; font: 400 14px/1.4 var(--font-body); color: var(--sand);
}
.site-footer__bottom a { color: var(--line); }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.site-footer__legal button { padding: 0; border: 0; background: none; color: var(--line); font: inherit; cursor: pointer; }
.site-footer__legal button:hover, .site-footer__legal a:hover { color: #fff; }
.credit { display: flex; align-items: center; gap: 12px; color: var(--sand) !important; transition: opacity .2s; }
.credit:hover { opacity: .8; }
.credit img { height: 32px; width: auto; }

/* 10. Modale devis & formulaires ------------------------------------------- */
.devis-backdrop {
  position: fixed; inset: 0; z-index: 90; background: rgba(27, 23, 19, .55); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.devis {
  position: fixed; top: 50%; left: 50%; z-index: 95; width: min(1080px, calc(100% - 32px)); max-height: calc(100svh - 48px);
  background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -24px rgba(27, 23, 19, .55);
  transform: translate(-50%, -46%) scale(.97); opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease-out), opacity .35s, visibility .5s;
  display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
}
.devis-open .devis-backdrop { opacity: 1; pointer-events: auto; }
.devis-open .devis { transform: translate(-50%, -50%) scale(1); opacity: 1; visibility: visible; }
.devis__aside { position: relative; overflow: hidden; background: var(--night); color: var(--cream); padding: 40px 36px; display: flex; flex-direction: column; gap: 28px; }
.devis__aside > svg { position: absolute; right: -120px; bottom: -120px; width: 400px; height: 400px; pointer-events: none; }
.devis__aside-logo { position: relative; height: 44px; width: auto; align-self: flex-start; background: var(--cream); padding: 6px 10px; border-radius: 8px; }
.devis__aside-title { position: relative; display: flex; flex-direction: column; gap: 14px; }
.devis__aside-title strong { font: 700 34px/1.05 var(--font-display); letter-spacing: -.02em; }
.devis__aside-title span { font: 400 15px/1.6 var(--font-body); color: var(--line); }
.devis__steps { position: relative; list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(165, 150, 129, .4); }
.devis__steps li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(165, 150, 129, .4); font: 600 15px/1.3 var(--font-body); }
.devis__steps b { flex: none; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--line); color: #fff; font: 600 14px/1 var(--font-body); transition: background .3s; }
.devis__steps li.is-done b { background: var(--brand); }
.devis__aside-call { position: relative; margin-top: auto; display: flex; flex-direction: column; gap: 6px; color: var(--cream); }
.devis__aside-call:hover { color: #fff; }
.devis__aside-call span { font: 500 13px/1 var(--font-body); color: var(--stone); }
.devis__aside-call strong { font: 700 26px/1 var(--font-display); }
.devis__main { display: flex; flex-direction: column; min-height: 0; max-height: calc(100svh - 48px); }
.devis__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 28px 32px 24px; border-bottom: 1px solid var(--line); }
.devis__head-text { display: flex; flex-direction: column; gap: 8px; }
.devis__kicker { font: 600 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.devis__head .h2 { font-size: 32px; }
.devis__head p { margin: 0; font: 400 15px/1.5 var(--font-body); color: var(--muted); }
.close-btn {
  flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--stone);
  background: #fff; color: var(--ink); font: 400 20px/1 var(--font-body); cursor: pointer;
}
.close-btn:hover { border-color: var(--brand); color: var(--brand); }
.close-btn--sm { width: 44px; height: 44px; font-size: 18px; }
.devis__body { flex: 1; overflow-y: auto; padding: 32px; }
.devis__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 32px; border-top: 1px solid var(--line); background: var(--cream); font: 500 14px/1.4 var(--font-body); color: var(--muted); }
.devis__foot a { font-weight: 600; white-space: nowrap; }

.wizard { display: flex; flex-direction: column; gap: 32px; }
.progress { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.progress li { display: flex; flex-direction: column; gap: 10px; font: 600 14px/1.2 var(--font-body); color: var(--muted); }
.progress li::before { content: ""; height: 6px; border-radius: 3px; background: var(--line); transition: background .3s; }
.progress li.is-done::before { background: var(--brand); }
.progress li[aria-current="step"] { color: var(--brand); }
.fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.fieldset--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 24px; }
.fieldset--loose { gap: 24px; }
.fieldset legend { padding: 0; margin-bottom: 20px; font: 600 24px/1.2 var(--font-display); }
.field { display: flex; flex-direction: column; gap: 8px; font: 600 14px/1.2 var(--font-body); color: var(--ink); }
.field--span { grid-column: 1 / -1; }
.input {
  width: 100%; min-width: 0; height: 52px; padding: 0 16px; border: 1.5px solid var(--stone); border-radius: 8px;
  font: 400 16px var(--font-body); color: var(--ink); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s;
}
textarea.input { height: auto; padding: 14px 16px; line-height: 1.5; resize: vertical; }
select.input { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23806E56' stroke-width='1.8'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 16px center no-repeat; padding-right: 40px; }
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(128, 110, 86, .2); }
.input[aria-invalid="true"] { border-color: var(--error); }
.field-error { font: 500 13px/1.4 var(--font-body); color: var(--error); }
.choice-group { display: flex; flex-direction: column; gap: 8px; font: 600 14px/1.2 var(--font-body); }
.choice-group--loose { gap: 10px; }
.choices { display: flex; gap: 8px; }
.choices--wrap { flex-wrap: wrap; }
.choice {
  flex: 1; height: 52px; border-radius: 8px; border: 1.5px solid var(--stone); background: #fff; color: var(--ink);
  font: 600 15px/1 var(--font-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.choice--pill { flex: none; height: auto; min-height: 48px; padding: 0 18px; border-radius: 99px; font-size: 14px; }
.choice[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.prest-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 130px), 1fr)); gap: 10px; }
.prest-card {
  padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer;
  display: flex; flex-direction: column; text-align: left; transition: border-color .2s, transform .3s;
}
.prest-card:hover { transform: translateY(-2px); }
.prest-card__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--line); }
.prest-card__label { padding: 10px 12px; font: 600 13px/1.3 var(--font-body); color: var(--ink); }
.prest-card[aria-checked="true"] { border-color: var(--brand); }
.prest-card[aria-checked="true"] .prest-card__label { color: var(--brand); }
.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px;
  border: 1.5px dashed var(--sand); border-radius: 12px; background: var(--cream); cursor: pointer; text-align: center;
}
.dropzone:hover, .dropzone:focus-within { border-color: var(--brand); background: var(--mist); }
.dropzone strong { font: 600 16px/1.3 var(--font-body); color: var(--brand); }
.dropzone span { font: 400 14px/1.4 var(--font-body); color: var(--muted); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font: 400 14px/1.5 var(--font-body); color: var(--ink); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--brand); }
.wizard__nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; }
.wizard__count { font: 500 14px var(--font-body); color: var(--muted); }
.btn--submit { height: 56px; padding: 0 28px; border: 0; font-size: 16px; gap: 12px; }
.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px 0; }
.form-done h3 { margin: 0; font: 600 32px/1.1 var(--font-display); }
.form-done p { margin: 0; font: 400 17px/1.6 var(--font-body); color: var(--ink); }
.form-done a { font-weight: 600; }
.form-alert { margin: 0; padding: 14px 16px; border-radius: 8px; background: #F6E9E6; color: var(--error); font: 500 14px/1.5 var(--font-body); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* 11. Cookies -------------------------------------------------------------- */
.cookie-banner {
  position: fixed; left: 24px; bottom: 24px; z-index: 80; width: min(460px, calc(100% - 48px));
  background: #fff; border-radius: 16px; box-shadow: 0 32px 64px -24px rgba(43, 37, 30, .45), 0 0 0 1px var(--line);
  padding: 24px; display: flex; flex-direction: column; gap: 16px;
}
.cookie-banner__head { display: flex; align-items: center; gap: 12px; }
.cookie-banner__head span { color: var(--brand); width: 40px; height: 40px; border-radius: 50%; background: var(--mist); display: flex; align-items: center; justify-content: center; }
.cookie-banner__head strong { font: 700 20px/1.2 var(--font-display); }
.cookie-banner p { margin: 0; font: 400 14px/1.6 var(--font-body); color: var(--ink); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-banner__actions .btn { flex: 1; min-height: 48px; padding: 0 18px; }
.cookie-banner__links { display: flex; justify-content: space-between; gap: 12px; font: 500 13px/1.4 var(--font-body); }
.cookie-banner__links button { padding: 0; border: 0; background: none; color: var(--brand); text-decoration: underline; cursor: pointer; font: inherit; }
.cookie-banner__links a { color: var(--muted); }
.btn--neutral { border-color: var(--stone); background: #fff; color: var(--ink); }
.btn--neutral:hover { border-color: var(--brand); color: var(--brand); }

.cookie-modal { position: fixed; inset: 0; z-index: 110; background: rgba(27, 23, 19, .6); display: flex; align-items: center; justify-content: center; padding: 24px; }
.cookie-modal__box { width: min(580px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; background: #fff; border-radius: 16px; box-shadow: 0 40px 80px -24px rgba(43, 37, 30, .5); display: flex; flex-direction: column; }
.cookie-modal__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.cookie-modal__head strong { font: 700 24px/1.2 var(--font-display); }
.cookie-modal__list { padding: 8px 28px; }
.cookie-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--mist); }
.cookie-row__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cookie-row__text strong { font: 600 16px/1.3 var(--font-body); }
.cookie-row__text span { font: 400 14px/1.5 var(--font-body); color: var(--muted); }
.cookie-row__locked { flex: none; font: 600 13px/1 var(--font-body); color: var(--brand); white-space: nowrap; }
.switch { flex: none; position: relative; width: 52px; height: 30px; border-radius: 99px; border: 0; background: var(--stone); cursor: pointer; transition: background .25s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .25s; }
.switch[aria-checked="true"] { background: var(--brand); }
.switch[aria-checked="true"]::after { transform: translateX(22px); }
.cookie-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 28px 24px; }
.cookie-modal__actions .btn { flex: 1; min-height: 48px; padding: 0 18px; }

.fab { position: fixed; bottom: 24px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cookie-fab {
  color: var(--brand); left: 24px; z-index: 75; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  box-shadow: 0 12px 28px -10px rgba(43, 37, 30, .35); transition: transform .3s var(--ease-soft), box-shadow .3s;
}
.cookie-fab:hover { transform: translateY(-3px) rotate(-12deg); box-shadow: 0 18px 32px -10px rgba(128, 110, 86, .5); }

/* 12. Chat & newsletter ---------------------------------------------------- */
.chat-fab {
  right: 24px; z-index: 76; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--brand); color: #fff;
  box-shadow: 0 16px 32px -10px rgba(128, 110, 86, .7); transition: transform .3s var(--ease-soft), background .2s;
}
.chat-fab:hover { transform: translateY(-3px) scale(1.05); background: var(--brand-dark); }
.chat-fab__icon { display: flex; transition: transform .3s; }
.chat-fab .icon-open, .chat-fab .icon-close { display: flex; }
.chat-fab .icon-close { display: none; }
.chat-fab[aria-expanded="true"] .icon-open { display: none; }
.chat-fab[aria-expanded="true"] .icon-close { display: block; }
.chat-fab[aria-expanded="true"] .chat-fab__icon { transform: rotate(90deg); }
.chat {
  position: fixed; right: 24px; bottom: 100px; z-index: 76; width: min(360px, calc(100% - 48px)); max-height: calc(100svh - 124px);
  display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 32px 64px -24px rgba(43, 37, 30, .45), 0 0 0 1px var(--line);
}
.chat__head { background: var(--deep); color: #fff; padding: 20px; display: flex; align-items: center; gap: 14px; }
.chat__avatar { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.chat__avatar img { height: 34px; width: auto; }
.chat__avatar::after { content: ""; position: absolute; right: 0; bottom: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--online); border: 2px solid var(--deep); }
.chat__who { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.chat__who strong { font: 700 18px/1.2 var(--font-display); }
.chat__who span { font: 500 13px/1.3 var(--font-body); color: var(--line); }
.chat__close { margin-left: auto; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: none; color: #fff; cursor: pointer; font: 400 16px/1 var(--font-body); }
.chat__log { flex: 1 1 auto; min-height: 0; max-height: 260px; overflow-y: auto; padding: 18px 20px; background: var(--cream); display: flex; flex-direction: column; gap: 10px; }
.chat__msg { align-self: flex-start; max-width: 85%; background: #fff; color: var(--ink); border-radius: 4px 14px 14px 14px; padding: 12px 14px; font: 400 14px/1.5 var(--font-body); box-shadow: 0 4px 12px -6px rgba(43, 37, 30, .2); white-space: pre-wrap; }
.chat__msg--me { align-self: flex-end; background: var(--brand); color: #fff; border-radius: 14px 4px 14px 14px; }
.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chat__chips button { min-height: 34px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--stone); background: #fff; color: var(--ink); cursor: pointer; font: 600 13px/1 var(--font-body); transition: border-color .2s, color .2s; }
.chat__chips button:hover { border-color: var(--brand); color: var(--brand); }
.chat__form { padding: 14px 16px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; gap: 10px; background: #fff; }
.chat__form label { flex: 1; min-width: 0; }
.chat__form textarea { width: 100%; resize: none; padding: 10px 12px; border: 1.5px solid var(--stone); border-radius: 10px; font: 400 15px/1.4 var(--font-body); color: var(--ink); outline: none; max-height: 120px; }
.chat__form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(128, 110, 86, .18); }
.chat__send { flex: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--brand); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.chat__send:hover { background: var(--brand-dark); }
.chat__foot { padding: 0 16px 14px; display: flex; justify-content: space-between; gap: 12px; background: #fff; font: 600 13px/1 var(--font-body); }
.chat__foot > span { font-weight: 500; color: var(--muted); }
.chat__foot > span:last-child { display: flex; gap: 14px; }

.newsletter {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; width: max-content;
  transform: translateX(-50%) translateY(24px); opacity: 0; pointer-events: none;
  transition: transform .5s var(--ease-out), opacity .4s; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.newsletter.is-visible { transform: translateX(-50%); opacity: 1; pointer-events: auto; }
.newsletter__card { width: min(380px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 28px 56px -20px rgba(43, 37, 30, .4); overflow: hidden; }
.newsletter__head { position: relative; overflow: hidden; background: var(--night); color: var(--cream); padding: 22px 22px 20px; display: flex; justify-content: space-between; gap: 12px; }
.newsletter__head > svg { position: absolute; right: -50px; top: -60px; width: 180px; height: 180px; overflow: visible; }
.newsletter__head-text { position: relative; display: flex; flex-direction: column; gap: 6px; }
.newsletter__head-text strong { font: 700 22px/1.1 var(--font-display); }
.newsletter__head-text span { font: 400 14px/1.5 var(--font-body); color: var(--line); }
.newsletter__close { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(250, 248, 244, .4); background: transparent; color: var(--cream); cursor: pointer; font: 400 16px/1 var(--font-body); }
.newsletter__form { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 12px; }
.newsletter__form .input { height: 50px; padding: 0 14px; }
.newsletter__form .btn { min-height: 50px; border: 0; }
.newsletter__form small { font: 400 12px/1.5 var(--font-body); color: var(--muted); }
.newsletter__done { padding: 22px; display: flex; align-items: center; gap: 14px; font: 600 15px/1.4 var(--font-body); color: var(--ink); }
.newsletter__done span { flex: none; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--brand); }
.newsletter__toggle {
  height: 52px; padding: 0 22px 0 8px; white-space: nowrap; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: var(--ink);
  cursor: pointer; display: flex; align-items: center; gap: 12px; box-shadow: 0 14px 32px -12px rgba(43, 37, 30, .35);
  font: 600 14px/1 var(--font-body); transition: transform .3s, box-shadow .3s;
}
.newsletter__toggle:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(43, 37, 30, .45); }
.newsletter__toggle span { color: #fff; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); }

/* 13. Menu mobile & barre d'actions ---------------------------------------- */
.mobile-menu { position: fixed; inset: 0; z-index: 120; background: var(--deep); color: #fff; overflow-y: auto; display: flex; flex-direction: column; }
.mobile-menu__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line-dark); }
.mobile-menu__head img { height: 48px; width: auto; filter: brightness(0) invert(1); }
.mobile-menu__head button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); background: none; color: #fff; font: 400 20px/1 var(--font-body); cursor: pointer; }
.mobile-menu nav { padding: 12px 20px 24px; display: flex; flex-direction: column; }
.mobile-menu__link { display: flex; justify-content: space-between; align-items: center; min-height: 56px; color: #fff; font: 600 26px/1.1 var(--font-display); }
.mobile-menu__link:hover { color: var(--stone); }
.mobile-menu__link span { color: var(--sand); font-size: 20px; }
.mobile-menu__group { border-bottom: 1px solid var(--line-dark); padding: 14px 0; }
.mobile-menu__group > span { display: block; font: 600 26px/1.1 var(--font-display); margin-bottom: 8px; }
.mobile-menu__group a { display: flex; align-items: center; min-height: 44px; color: var(--line); font: 500 16px/1.3 var(--font-body); }
.mobile-menu__actions { margin-top: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.mobile-menu__actions .btn { width: 100%; font-size: 16px; }

.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 74; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(43, 37, 30, .2); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
.mbar a { flex: 1; min-height: 52px; border-radius: 8px; border: 1.5px solid var(--stone); color: var(--ink); display: flex; align-items: center; justify-content: center; font: 600 14px/1 var(--font-body); }
.mbar a.mbar__main { flex: 1.5; background: var(--brand); border-color: var(--brand); color: #fff; }

/* Apparition au défilement */
.reveal { transform: translateY(24px); transition: transform .7s var(--ease-soft); }
.reveal.is-in { transform: none; }

/* 14. Animations ----------------------------------------------------------- */
@keyframes pdm-ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
@keyframes pdm-glow { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes pdm-slide { 0% { opacity: 0; transform: scale(1.08); } 7% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
@keyframes pdm-trace { 0% { stroke-dashoffset: 1; } 40%, 60% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
@keyframes pdm-spin { to { transform: rotate(360deg); } }
@keyframes pdm-spin-r { to { transform: rotate(-360deg); } }
@keyframes ptmoi-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Réactivité --------------------------------------------------------------- */
@media (max-width: 1100px) {
  .main-nav, .hide-tablet { display: none !important; }
  .header-actions .burger { display: flex; }
  .sticky { position: static; }
  .g-4, .g-3, .g-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .devis { grid-template-columns: minmax(0, 1fr); overflow-y: auto; }
  .devis__main { max-height: none; }
}
@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .h1, .h1--xl { font-size: clamp(34px, 9vw, 44px); }
  .h2, .h2--md, .h2--xl { font-size: clamp(28px, 7vw, 34px); }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .page-hero { padding-top: 150px; }
  .lightbox { padding: 16px; }
  .lightbox__btn--prev { left: 12px; }
  .lightbox__btn--next { right: 12px; }
  .lightbox__btn--close { right: 12px; top: 12px; }
  .g-2 { grid-template-columns: minmax(0, 1fr); }
  .devis__head, .devis__body { padding-left: 20px; padding-right: 20px; }
  .devis__foot { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 640px) {
  .g-4, .g-3 { grid-template-columns: minmax(0, 1fr); }
  .hide-mobile { display: none !important; }
  .mbar { display: flex; }
  body { padding-bottom: 76px; }
  .fab, .cookie-banner { bottom: 96px; }
  .chat { bottom: 168px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .marquee__track, .pulse::before, .pulse::after, .epure *, .epure g { animation: none !important; }
  .epure .trace { stroke-dashoffset: 0 !important; }
  .slideshow img { animation-duration: 15s !important; transform: none !important; }
  .reveal { transform: none; }
}
