/* =========================================================
   da Silva Gonçalves Peinture
   Palette : bleu nuit, azulejo, terre cuite, blanc chaux
   ========================================================= */

/* Polices hébergées sur le site (aucun appel à Google) */
@font-face { font-family: "Big Shoulders Display"; font-weight: 800; font-display: swap; src: url("assets/fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 900; font-display: swap; src: url("assets/fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url("assets/fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url("assets/fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 700; font-display: swap; src: url("assets/fonts/instrument-sans-latin-700-normal.woff2") format("woff2"); }

[hidden] { display: none !important; }

:root {
  --nuit: #142A4E;
  --nuit-2: #0E1F3B;
  --azulejo: #2F56A8;
  --terre: #B5532F;
  --terre-d: #96401F;
  --ocre: #C99A3B;
  --chaux: #EEF0EC;
  --blanc: #F8F9F6;
  --ardoise: #4E5666;
  --brume: #C3CDDF;
  --focus: #F2B33D;

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --text: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --header-h: 72px;
  --wrap: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--chaux);
  color: var(--nuit);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }

a { color: inherit; }

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

.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 {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--nuit); color: var(--chaux);
  padding: .75rem 1rem; border-radius: var(--radius); font-weight: 600;
}
.skip:focus { top: 1rem; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: .8em 1.35em;
  border: 2px solid transparent;
  border-radius: 4px;
  font: 600 1rem/1.1 var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--lg { font-size: 1.05rem; padding: .95em 1.5em; }
.btn--terre { background: var(--terre); color: #fff; }
.btn--terre:hover { background: var(--terre-d); }
.btn--chaux { background: var(--chaux); color: var(--nuit); border-color: var(--chaux); }
.btn--chaux:hover { background: #fff; }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--chaux);
  border-bottom: 1px solid rgba(20, 42, 78, .12);
}
.header__inner {
  height: var(--header-h);
  max-width: calc(var(--wrap) + 200px);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  text-decoration: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 800 1.35rem/1 var(--display); letter-spacing: .01em; }
.brand__trade { font: 600 .8rem/1.2 var(--text); color: var(--terre); margin-top: .2rem; letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  display: inline-block; padding: .4rem 0;
  font-weight: 600; text-decoration: none;
  background: linear-gradient(var(--terre), var(--terre)) left bottom / 0 3px no-repeat;
  transition: background-size .25s;
}
.nav ul a:hover, .nav ul a.is-active { background-size: 100% 3px; }
.nav ul a.is-active { color: var(--terre-d); }
.nav__cta { min-height: 44px; padding: .65em 1.1em; }

.burger { display: none; }

/* ---------- Hero : le vieux mur ---------- */
.hero {
  position: relative;
  min-height: max(600px, calc(100svh - var(--header-h)));
  overflow: hidden;
  background: var(--nuit);
  color: var(--chaux);
  isolation: isolate;
}
.hero__fresh {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  /* légère texture de rouleau sur la peinture fraîche */
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 2px, transparent 2px 9px),
    radial-gradient(120% 90% at 20% 30%, #1A3560 0%, var(--nuit) 55%, var(--nuit-2) 100%);
}
/* grand motif d'azulejo, en filigrane sur la peinture fraîche */
.hero__fresh::after {
  content: "";
  position: absolute;
  right: -7vw; bottom: -14vw;
  width: min(60vw, 820px); aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%232F56A8' stroke-width='.8' stroke-linejoin='round'%3E%3Cpath d='M32 9c8 9 8 15 0 23-8-8-8-14 0-23zM55 32c-9 8-15 8-23 0 8-8 14-8 23 0zM32 55c-8-9-8-15 0-23 8 8 8 14 0 23zM9 32c9-8 15-8 23 0-8 8-14 8-23 0z'/%3E%3Ccircle cx='32' cy='32' r='29'/%3E%3C/g%3E%3Crect x='29' y='29' width='6' height='6' transform='rotate(45 32 32)' fill='%23B5532F'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .42;
  pointer-events: none;
}
.hero__content {
  position: relative;
  width: 100%;
  max-width: calc(var(--wrap) + 200px);
  margin-inline: auto;
  padding: 3rem var(--gutter) 7rem;
}
.hero__title {
  font: 900 clamp(3.4rem, 10vw, 9.5rem)/.86 var(--display);
  letter-spacing: -.005em;
  max-width: 9ch;
  margin-bottom: .35em;
}
.hero__lead {
  max-width: 40ch;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--brume);
  margin-bottom: 2rem;
}
.hero__actions {
  position: relative; z-index: 4; /* toujours cliquable, au-dessus du mur */
  display: flex; flex-wrap: wrap; gap: .75rem;
}

.hero__wall {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  pointer-events: none;
  transition: opacity .9s ease;
}
.hero.is-done .hero__wall { opacity: 0; }

.roller {
  position: absolute; left: 0; top: 0; z-index: 3;
  width: var(--rw, 180px);
  aspect-ratio: 200 / 150;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
  will-change: transform;
}
.roller svg { width: 100%; height: 100%; overflow: visible; }
.roller__nap { fill: var(--nuit); stroke: #0A1830; stroke-width: 2; }
.roller__shine { fill: rgba(255,255,255,.22); }
.roller__frame { fill: none; stroke: #9AA3AE; stroke-width: 6; stroke-linejoin: round; }
.roller__grip { fill: var(--terre); }
.hero.has-roller .roller { opacity: 1; }
.hero.is-painting { cursor: none; }
.hero.is-painting a, .hero.is-painting button { cursor: pointer; }

.hero__panel {
  position: absolute; z-index: 4;
  right: var(--gutter); bottom: 1.5rem;
  width: min(320px, calc(100% - 2 * var(--gutter)));
  padding: 1rem 1.1rem 1.1rem;
  background: var(--chaux); color: var(--nuit);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(8, 18, 36, .25);
  transition: opacity .4s, transform .4s;
}
.hero__hint { margin: 0 0 .7rem; font-size: .95rem; font-weight: 500; line-height: 1.4; }
.hero__progress {
  height: 6px; border-radius: 3px; overflow: hidden;
  background: rgba(20, 42, 78, .12);
  margin-bottom: .8rem;
}
.hero__progress span {
  display: block; height: 100%; width: calc(var(--p, 0) * 1%);
  background: var(--terre);
  transition: width .3s;
}
.hero__finish {
  font: 600 .95rem/1 var(--text);
  color: var(--nuit);
  background: none;
  border: 2px solid var(--nuit);
  border-radius: 4px;
  min-height: 40px; padding: .5em .9em;
  cursor: pointer;
}
.hero__finish:hover { background: var(--nuit); color: var(--chaux); }
.no-js .hero__panel, .hero.no-wall .hero__panel { display: none; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }

.section__head { max-width: 60ch; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section__head h2, .entreprise h2, .contact h2 {
  font: 800 clamp(2.6rem, 6vw, 4.6rem)/.95 var(--display);
  margin-bottom: .45em;
}
.section__head p { color: var(--ardoise); font-size: 1.1rem; margin: 0; }

/* ---------- Services : le nuancier ---------- */
.nuancier {
  display: flex;
  gap: 10px;
  height: 540px;
}
.swatch {
  --label: 68px;
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  background: var(--c);
  color: var(--ink);
  border-radius: var(--radius) var(--radius) 4px 4px;
  overflow: hidden;
  transition: flex-grow .55s cubic-bezier(.6, .05, .25, 1);
}
.swatch.is-open { flex-grow: 3.6; }
.swatch[style*="#E4E6E0"] { box-shadow: inset 0 0 0 1px rgba(20, 42, 78, .16); }

/* bande blanche du nuancier */
.swatch::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: var(--label);
  background: var(--blanc);
  border-top: 1px solid rgba(20, 42, 78, .08);
  pointer-events: none;
}

.swatch__h { position: static; }
.swatch__btn {
  position: absolute; inset: 0;
  width: 100%;
  padding: 0;
  background: none; border: 0;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
  z-index: 1;
}
.swatch__btn:focus-visible { outline-offset: -5px; }
.swatch__title {
  position: absolute; left: 1.4rem; top: 1.4rem;
  font: 800 clamp(2rem, 3vw, 2.6rem)/1 var(--display);
  max-width: calc(100% - 2.8rem);
}
.swatch:not(.is-open) .swatch__title {
  top: auto;
  bottom: calc(var(--label) + 1.2rem);
  left: 50%;
  writing-mode: vertical-rl;
  transform: translateX(-50%) rotate(180deg);
  white-space: nowrap;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  max-width: none;
}
.swatch__name {
  position: absolute; left: 1.1rem; right: 2.6rem; bottom: 0;
  height: var(--label);
  display: flex; align-items: center;
  z-index: 2;
  color: var(--nuit);
  font-size: .92rem; font-weight: 600; line-height: 1.15;
}
.swatch__btn::after {
  content: "+";
  position: absolute; right: 1rem; bottom: 0; z-index: 2;
  height: var(--label);
  display: flex; align-items: center;
  color: var(--nuit);
  font: 700 1.5rem/1 var(--text);
}
.swatch.is-open .swatch__btn::after { content: "−"; }

.swatch__body {
  position: relative; z-index: 2;
  padding: 5.6rem 1.6rem calc(var(--label) + 1.4rem);
  max-width: 44ch;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  animation: monte .45s .15s both;
}
.swatch__body p { font-size: 1.05rem; }
.swatch__body ul { margin: 0; padding: 0; list-style: none; }
.swatch__body li {
  padding: .45rem 0 .45rem 1.4rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  position: relative;
}
.swatch__body li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem;
  width: .55rem; height: .55rem; border-radius: 50%;
  background: currentColor; opacity: .8;
}
@keyframes monte { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Méthode : quatre couches ---------- */
.methode { background: var(--blanc); }
.couches {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.couche { display: flex; flex-direction: column; }
.couche__layer {
  display: block;
  height: calc(var(--n) * 12px);
  margin-top: calc((4 - var(--n)) * 12px);
  border-radius: 3px;
  background: repeating-linear-gradient(to bottom,
    var(--nuit) 0 9px, var(--blanc) 9px 12px);
}
.couche:nth-child(1) .couche__layer { background: var(--ocre); height: 9px; margin-top: 39px; }
.couche__num {
  font: 900 4.2rem/1 var(--display);
  color: var(--terre);
  margin: .9rem 0 .3rem;
}
.couche h3 { font: 700 1.25rem/1.25 var(--text); margin-bottom: .5rem; }
.couche p { color: var(--ardoise); margin: 0; }

/* ---------- L'entreprise ---------- */
.entreprise__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.entreprise__fig { margin: 0; }
.azulejos {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 5px;
  background: #D9DCD6;
  border-radius: var(--radius);
}
.azulejos span {
  aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' fill='%23F4F6F8'/%3E%3Cg fill='none' stroke='%232F56A8' stroke-width='5'%3E%3Cpath d='M0 26a26 26 0 0 0 26-26M74 0a26 26 0 0 0 26 26M100 74a26 26 0 0 0-26 26M26 100A26 26 0 0 0 0 74'/%3E%3C/g%3E%3Cg fill='%232F56A8'%3E%3Cpath d='M50 14c12 14 12 22 0 36-12-14-12-22 0-36zM86 50c-14 12-22 12-36 0 14-12 22-12 36 0zM50 86c-12-14-12-22 0-36 12 14 12 22 0 36zM14 50c14-12 22-12 36 0-14 12-22 12-36 0z'/%3E%3C/g%3E%3Ccircle cx='50' cy='50' r='6' fill='%23F4F6F8'/%3E%3C/svg%3E") center / cover;
  border-radius: 2px;
}
.azulejos span.is-new {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' fill='%23B5532F'/%3E%3Cg fill='none' stroke='%23F4F6F8' stroke-width='5'%3E%3Cpath d='M0 26a26 26 0 0 0 26-26M74 0a26 26 0 0 0 26 26M100 74a26 26 0 0 0-26 26M26 100A26 26 0 0 0 0 74'/%3E%3C/g%3E%3Cg fill='%23F4F6F8'%3E%3Cpath d='M50 14c12 14 12 22 0 36-12-14-12-22 0-36zM86 50c-14 12-22 12-36 0 14-12 22-12 36 0zM50 86c-12-14-12-22 0-36 12 14 12 22 0 36zM14 50c14-12 22-12 36 0-14 12-22 12-36 0z'/%3E%3C/g%3E%3Ccircle cx='50' cy='50' r='6' fill='%23B5532F'/%3E%3C/svg%3E");
}
.entreprise__fig figcaption {
  margin-top: .9rem;
  font-size: .95rem;
  color: var(--ardoise);
  max-width: 38ch;
}
.entreprise__lead { font-size: 1.25rem; line-height: 1.5; }
.entreprise__text > p:not(.entreprise__lead) { color: var(--ardoise); max-width: 60ch; }
.engagements {
  list-style: none; margin: 2rem 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1.5rem;
}
.engagements li {
  position: relative;
  padding: .75rem 0 .75rem 2.1rem;
  border-top: 1px solid rgba(20, 42, 78, .14);
  font-weight: 600;
}
.engagements li::before {
  content: ""; position: absolute; left: 0; top: .95rem;
  width: 1.3rem; height: 1.3rem; border-radius: 3px;
  background: var(--terre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

/* ---------- Réalisations ---------- */
.realisations { background: var(--blanc); }
.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.galerie figure { margin: 0; }
.galerie img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius);
  background: #D9DCD6;
}
.galerie figcaption { font-size: .95rem; color: var(--ardoise); margin-top: .5rem; }

/* ---------- Contact ---------- */
.contact { background: var(--nuit); color: var(--chaux); }
.contact__grid {
  display: grid; grid-template-columns: 7fr 5fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: end;
}
.contact__lead { color: var(--brume); font-size: 1.15rem; max-width: 46ch; margin-bottom: 2rem; }
.contact__actions { display: grid; gap: 10px; max-width: 560px; }
.action {
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto;
  column-gap: .9rem;
  align-items: center;
  padding: 1rem 1.3rem;
  text-decoration: none;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  transition: background-color .2s, border-color .2s;
}
.action:hover { background: var(--terre); border-color: var(--terre); }
.action svg { grid-row: 1 / 3; width: 30px; height: 30px; fill: var(--chaux); justify-self: center; }
.action__label { font: 800 1.75rem/1 var(--display); }
.action__value { font-size: .98rem; color: var(--brume); overflow-wrap: anywhere; }
.action:hover .action__value { color: #fff; }

.infos { margin: 0; }
.infos div { padding: 1.1rem 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.infos dt { font-size: .9rem; font-weight: 600; color: #9FB0CC; margin-bottom: .2rem; }
.infos dd { margin: 0; font-size: 1.15rem; }

/* ---------- Pied de page ---------- */
.footer { background: var(--nuit-2); color: #9FB0CC; padding-block: 2rem; font-size: .95rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.footer p { margin: 0; }
.brand--footer { color: var(--chaux); }
.brand--footer .brand__trade { color: #E08A64; }
.footer__top { font-weight: 600; color: var(--chaux); }

.mobilebar { display: none; }

/* =========================================================
   Tablette
   ========================================================= */
@media (max-width: 1080px) {
  .couches { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 1.2rem; }
  .nav ul { gap: 1.1rem; }
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .brand img { width: 38px; height: 38px; }
  .brand__name { font-size: 1.2rem; }

  .burger {
    display: inline-flex; align-items: center; gap: .55rem;
    min-height: 44px; padding: .5rem .8rem;
    background: none; border: 2px solid var(--nuit); border-radius: 4px;
    color: var(--nuit); font: 600 .95rem/1 var(--text);
    cursor: pointer;
  }
  .burger__lines, .burger__lines::before, .burger__lines::after {
    display: block; width: 18px; height: 2px; background: currentColor;
    border-radius: 1px; transition: transform .25s, background-color .25s;
  }
  .burger__lines { position: relative; }
  .burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; }
  .burger__lines::before { top: -6px; }
  .burger__lines::after { top: 6px; }
  .burger[aria-expanded="true"] .burger__lines { background: transparent; }
  .burger[aria-expanded="true"] .burger__lines::before { transform: translateY(6px) rotate(45deg); }
  .burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--chaux);
    border-bottom: 1px solid rgba(20, 42, 78, .12);
    box-shadow: 0 18px 30px rgba(8, 18, 36, .12);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: .85rem 0; font-size: 1.15rem; border-bottom: 1px solid rgba(20, 42, 78, .1); background: none; }
  .nav ul a.is-active { color: var(--terre-d); }

  .hero__content { padding-top: 2.5rem; padding-bottom: 12rem; }
  .hero__fresh::after { width: 95vw; right: -35vw; bottom: auto; top: -10vw; opacity: .3; }
  .hero__title { font-size: clamp(3.3rem, 15vw, 5.5rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__panel { left: var(--gutter); right: var(--gutter); width: auto; bottom: 1rem; }

  .nuancier { flex-direction: column; height: auto; }
  .swatch { --label: 54px; flex: none; min-height: 130px; transition: none; }
  .swatch:not(.is-open) .swatch__title {
    writing-mode: horizontal-tb; transform: none;
    left: 1.2rem; top: 1.1rem; bottom: auto;
    white-space: normal; font-size: 1.9rem;
  }
  .swatch__title { left: 1.2rem; top: 1.1rem; font-size: 2.1rem; }
  .swatch__body { height: auto; padding: 4.6rem 1.2rem calc(var(--label) + 1.2rem); }

  .couches { grid-template-columns: 1fr; }
  .couche__num { font-size: 3.4rem; }

  .entreprise__grid, .contact__grid { grid-template-columns: 1fr; }
  .entreprise__fig { max-width: 420px; }
  .engagements { grid-template-columns: 1fr; }

  .mobilebar {
    display: flex; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--chaux);
    border-top: 1px solid rgba(20, 42, 78, .14);
    box-shadow: 0 -8px 24px rgba(8, 18, 36, .1);
    transform: translateY(110%);
    transition: transform .3s;
  }
  .mobilebar.is-visible { transform: none; }
  .mobilebar .btn { flex: 1; }
  .mobilebar .btn--chaux { border-color: var(--nuit); }
  .footer { padding-bottom: 6.5rem; }
}

/* =========================================================
   Mouvement réduit : tout est immédiatement visible
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    transition-duration: .01ms !important;
  }
}
