/* S.B. Parquet — 16/10/2026, FLY LAB : avant / après à barre glissante, vitrine de l'accueil, chiffres,
   bandeau éditable en haut du site, voyant Ouvert / Fermé. Valeurs de repli pour l'aperçu de l'espace privé. */

/* ---------- comparateur avant / après ---------- */
.compare { --pos: 50%; position: relative; aspect-ratio: var(--ratio, 3 / 4); overflow: hidden; border-radius: var(--r, 14px); background: var(--vert-ff, #1d2e17);
  box-shadow: var(--ombre, 0 10px 30px -12px rgba(29, 46, 23, .28)); user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; isolation: isolate; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.compare__avant { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 1; }
.compare__barre { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 3; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 0 18px rgba(0, 0, 0, .35); }
.compare__barre b { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; color: var(--vert-f, #2b4321);
  display: grid; place-items: center; box-shadow: 0 6px 22px rgba(0, 0, 0, .35); transition: transform .2s; }
.compare__barre .ico { width: 24px; height: 24px; }
.compare.est-actif .compare__barre b, .compare:hover .compare__barre b { transform: scale(1.08); }
.compare__tag { position: absolute; top: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; font: 600 .72rem/1 var(--corps, sans-serif); letter-spacing: .14em; text-transform: uppercase;
  pointer-events: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .25s; }
.compare__tag--avant { left: 14px; background: rgba(20, 26, 17, .62); color: #fff; }
.compare__tag--apres { right: 14px; background: rgba(255, 253, 249, .88); color: var(--vert-ff, #1d2e17); }
.compare[data-pos-bas] .compare__tag--avant, .compare[data-pos-haut] .compare__tag--apres { opacity: 0; }
.compare__curseur { position: absolute; inset: auto 0 0; width: 100%; height: 100%; margin: 0; opacity: 0; z-index: 4; pointer-events: none; }
.compare:focus-within { outline: 3px solid var(--bois, #a8743f); outline-offset: 3px; }

/* ---------- réalisations : le chantier avec son avant / après ---------- */
.chantier--aa { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
.chantier__corps { min-width: 0; }
.chantier__astuce { display: flex; align-items: center; gap: 10px; margin: -4px 0 14px; color: var(--doux, #6b7064); font-size: .92rem; }
.chantier__astuce-ico { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--papier, #fffdf9); color: var(--vert, #3e5f2f);
  box-shadow: 0 2px 10px -4px rgba(29, 46, 23, .4); font-weight: 600; font-size: .8rem; letter-spacing: -.05em; }
.chantier--aa .chantier__photos .galerie__photo { width: 170px; }
@media (max-width: 800px) {
  .chantier--aa { grid-template-columns: 1fr; }
  .chantier--aa .chantier__aa { order: 2; }
  .chantier--aa .chantier__corps { display: contents; }
  .chantier--aa .chantier__tete { order: 1; margin-bottom: 0; }
  .chantier--aa .chantier__astuce { order: 3; margin: 0; }
  .chantier--aa .chantier__photos { order: 4; }
  .chantier--aa .chantier__photos .galerie__photo { width: 42vw; }
}

/* ---------- accueil : chiffres ---------- */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(26px, 4vw, 44px); border-block: 1px solid var(--ligne, #e3dccf); }
.chiffre { margin: 0; padding: clamp(18px, 2.6vw, 28px) 12px; text-align: center; display: grid; gap: 4px; }
.chiffre + .chiffre { border-left: 1px solid var(--ligne, #e3dccf); }
.chiffre strong { font: 600 clamp(2.1rem, 4.2vw, 3.1rem)/1 var(--titre, serif); color: var(--vert-f, #2b4321); letter-spacing: -.01em; }
.chiffre span { font: 500 .78rem/1.35 var(--corps, sans-serif); letter-spacing: .12em; text-transform: uppercase; color: var(--bois-f, #86582c); }
@media (max-width: 700px) {
  .chiffres { grid-template-columns: repeat(2, 1fr); }
  .chiffre:nth-child(3) { border-left: 0; }
  .chiffre:nth-child(n + 3) { border-top: 1px solid var(--ligne, #e3dccf); }
}

/* ---------- accueil : vitrine avant / après ---------- */
.vitrine { padding: clamp(64px, 8vw, 110px) 0; background: linear-gradient(180deg, var(--creme, #f7f3ec), #efe7da); }
.vitrine__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-width: 0; gap: clamp(26px, 5vw, 64px); align-items: center; }
.vitrine__txt h2 { margin-bottom: .35em; }
.vitrine__txt > p { max-width: 42ch; }
.vitrine__choix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0 26px; }
.vitrine__vig { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--ligne, #e3dccf); border-radius: 14px; background: var(--papier, #fffdf9);
  text-align: left; color: var(--texte, #3b4236); font: 500 .9rem/1.25 var(--corps, sans-serif); transition: border-color .2s, box-shadow .2s, transform .2s; }
.vitrine__vig img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; flex: none; }
.vitrine__vig:hover { transform: translateY(-2px); box-shadow: var(--ombre); }
.vitrine__vig.est-actif { border-color: var(--vert, #3e5f2f); box-shadow: 0 0 0 2px var(--vert, #3e5f2f) inset; color: var(--encre, #1c2618); }
.vitrine__scene { position: relative; }
.vitrine__cadre { margin: 0; }
.vitrine__cadre .compare { max-height: min(78vh, 680px); margin-inline: auto; box-shadow: var(--ombre-f, 0 22px 50px -18px rgba(29, 46, 23, .45)); }
.vitrine__cadre figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: .92rem; color: var(--doux, #6b7064); }
.vitrine__cadre figcaption a { color: var(--vert, #3e5f2f); font-weight: 500; }
@media (max-width: 900px) {
  .vitrine__in { grid-template-columns: minmax(0, 1fr); }
  .vitrine__txt, .vitrine__scene { min-width: 0; }
  .vitrine__scene { order: -1; }
  .vitrine__choix { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc((var(--env-g, 20px)) * -1); padding: 2px var(--env-g, 20px) 8px; scrollbar-width: none; }
  .vitrine__vig { flex: 0 0 auto; max-width: 230px; scroll-snap-align: start; }
}

/* ---------- bandeau éditable, tout en haut du site ---------- */
.bandeau-info { --bi-fond: var(--vert-f, #2b4321); --bi-txt: #fff; --bi-acc: var(--bois-c, #f1e4d3); background: var(--bi-fond); color: var(--bi-txt); position: relative; z-index: 41; }
.bandeau-info--bois { --bi-fond: var(--bois-f, #86582c); --bi-acc: #fff3e2; }
.bandeau-info--creme { --bi-fond: var(--bois-c, #f1e4d3); --bi-txt: var(--encre, #1c2618); --bi-acc: var(--vert-f, #2b4321); }
.bandeau-info--rouge { --bi-fond: #b3261e; --bi-acc: #fff; }
.bandeau-info--noir { --bi-fond: #151a12; --bi-acc: var(--bois-c, #f1e4d3); }
.bandeau-info__in { display: flex; align-items: center; justify-content: center; gap: 12px 16px; padding: 10px 0; min-height: 48px; }
.bandeau-info__ico { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb, var(--bi-txt) 14%, transparent); color: var(--bi-acc); }
.bandeau-info__ico .ico, .bandeau-info__ico svg { width: 17px; height: 17px; fill: currentColor; }
.bandeau-info__img { flex: none; width: 44px; height: 44px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 2px color-mix(in srgb, var(--bi-txt) 30%, transparent); }
.bandeau-info__txt { margin: 0; font: 400 .95rem/1.4 var(--corps, sans-serif); text-align: left; }
.bandeau-info__txt strong { font-weight: 600; margin-right: .45em; }
.bandeau-info__btn { flex: none; display: inline-flex; align-items: center; padding: 8px 15px; border-radius: 999px; background: var(--bi-acc); color: var(--bi-fond); font: 600 .82rem/1 var(--corps, sans-serif);
  text-decoration: none; white-space: nowrap; transition: transform .2s; }
.bandeau-info__btn:hover { transform: translateY(-1px); }
.bandeau-info--creme .bandeau-info__btn { color: #fff; }
.bandeau-info__x { flex: none; width: 34px; height: 34px; margin-left: 2px; border: 0; border-radius: 50%; background: transparent; color: inherit; font: 400 1.5rem/1 var(--corps, sans-serif); opacity: .75; cursor: pointer; display: inline-grid; place-items: center; }
.bandeau-info__x:hover { opacity: 1; background: color-mix(in srgb, var(--bi-txt) 12%, transparent); }
.bandeau-info--grand .bandeau-info__in { padding: 16px 0; min-height: 76px; gap: 14px 22px; }
.bandeau-info--grand .bandeau-info__txt { font-size: 1.05rem; }
.bandeau-info--grand .bandeau-info__txt strong { display: block; font: 600 clamp(1.35rem, 2.4vw, 1.7rem)/1.15 var(--titre, serif); margin: 0 0 3px; }
.bandeau-info--grand .bandeau-info__img { width: 84px; height: 84px; border-radius: 14px; }
.bandeau-info--grand .bandeau-info__ico { width: 42px; height: 42px; }
.bandeau-info--grand .bandeau-info__ico svg { width: 22px; height: 22px; }
.bandeau-info.est-masque { display: none; }
@media (max-width: 700px) {
  .bandeau-info__in { justify-content: flex-start; flex-wrap: wrap; padding-right: 36px; position: relative; }
  .bandeau-info__txt { flex: 1 1 60%; font-size: .9rem; }
  .bandeau-info__btn { order: 3; }
  .bandeau-info__x { position: absolute; top: 6px; right: -8px; }
  .bandeau-info--grand .bandeau-info__img { width: 64px; height: 64px; }
}

/* ---------- voyant Ouvert / Fermé ---------- */
.etat { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.etat__point { width: 9px; height: 9px; border-radius: 50%; flex: none; background: #d42a1e; box-shadow: 0 0 0 3px rgba(212, 42, 30, .28); }
.etat--ouvert .etat__point { background: #3fbf5a; box-shadow: 0 0 0 3px rgba(63, 191, 90, .3); animation: etat-pouls 2.4s ease-in-out infinite; }
.etat__titre { font-weight: 600; }
.etat__detail { opacity: .9; }
@keyframes etat-pouls { 50% { box-shadow: 0 0 0 6px rgba(63, 191, 90, .08); } }
.bandeau .etat { color: #fff; }
.horaires__etat { margin: 0 0 10px; font-size: .95rem; }
.horaires__etat .etat--ouvert .etat__titre { color: #2f8a43; }
.horaires__etat .etat--ferme .etat__titre { color: #b3261e; }
.pied .horaires__etat .etat__titre, .horaires__etat:has(+ .horaires--pied) .etat__titre { color: #fff; }
.etat--grand { font-size: 1.25rem; }
.etat--grand .etat__point { width: 14px; height: 14px; }
@media (max-width: 700px) { .bandeau .bandeau__adr { display: none; } .bandeau .etat { font-size: .8rem; } }
@media (prefers-reduced-motion: reduce) { .etat--ouvert .etat__point { animation: none; } }

/* ---------- téléphone : le tableau des horaires ne doit plus élargir la page (débordement de 16 px relevé le 16/10) ---------- */
@media (max-width: 700px) {
  .magasin { grid-template-columns: minmax(0, 1fr); }
  .magasin__carte, .magasin__horaires { padding: 22px 18px; min-width: 0; }
  .horaires th, .horaires td { padding: 8px 4px; }
  .horaires tr.auj th::after { display: block; font-size: .7rem; line-height: 1.2; }
}
/* marge latérale du site (site.css : 20 px, 16 px sous 700 px) : la rangée des chantiers de la vitrine va jusqu'aux bords sans élargir la page */
@media (max-width: 700px) { :root { --env-g: 16px; } }

/* ---------- Stratifiés : grande photo d'ambiance pleine largeur, sans cadre, légère profondeur au défilement (16/10) ---------- */
.pleine { position: relative; display: flex; align-items: flex-end; height: clamp(440px, 84vh, 880px); margin-top: clamp(36px, 6vw, 72px); overflow: hidden; color: #fff; background: var(--vert-ff, #1d2e17); }
.pleine__img { position: absolute; inset: -8% 0; will-change: transform; }
.pleine__img img { width: 100%; height: 100%; object-fit: cover; }
.pleine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 26, 17, .5), rgba(20, 26, 17, 0) 62%), linear-gradient(180deg, rgba(20, 26, 17, 0) 40%, rgba(20, 26, 17, .66)); pointer-events: none; }
.pleine__txt { position: relative; z-index: 1; padding-bottom: clamp(32px, 6vw, 76px); }
.pleine__titre { margin: 0 0 20px; font: 600 clamp(2.1rem, 4.8vw, 3.8rem)/1.04 var(--titre, serif); color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, .3); letter-spacing: -.01em; }
.pleine__lien { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .6); padding-bottom: 3px; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.pleine__lien .ico { transition: transform .2s; }
.pleine__lien:hover .ico { transform: translateX(4px); }
@media (max-width: 700px) { .pleine { height: clamp(420px, 78vh, 640px); } }
