/* Styles du site Banid.
   Le fichier est lu de haut en bas : à sélecteur égal, la règle placée le plus bas l'emporte.
   Les sections « Vxx » sont les étapes successives du site ; pour modifier un élément,
   chercher son nom de classe (Cmd+F) et changer la DERNIÈRE règle qui le concerne. */

:root {
  color-scheme: light;
  --ink: #101010;
  --header-height: clamp(66px,11vh,98px);
}

* {
  box-sizing: border-box;
}

html {
  background: #fff;
}

body {
  margin: 0;
  min-width: 280px;
  color: var(--ink);
  font-family: Arial,Helvetica,sans-serif;
}

body.home-page {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #111;
  outline-offset: 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;
}

.site-header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px clamp(15px,3.5vw,55px);
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.97);
  isolation: isolate;
}

.icon-button {
  width: 64px;
  height: 52px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 8px;
}

.burger-lines span {
  display: block;
  flex: 0 0 2.5px;
  width: 100%;
  border-radius: 0;
  background: #111;
  transform: none;
  height: 3px;
  min-height: 3px;
  flex-basis: 3px;
}

.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  line-height: 0;
}

.brand img {
  display: block;
  height: auto;
}

.cart-toggle {
  position: relative;
  background: transparent;
  border: 0;
  width: 56px;
  height: 52px;
  display: grid;
  place-items: center;
}

.cart-count {
  position: absolute;
  background: #111;
  color: #fff;
  border-radius: 50%;
  min-width: 17px;
  height: 17px;
  font-size: 11px;
  padding: 2px;
  top: 3px;
  right: -5px;
}

.home-main {
  height: calc(100dvh - var(--header-height));
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(8px,2.5vw,38px) clamp(7px,2.5vh,20px);
  overflow: hidden;
}

.gallery {
  width: min(95vw,calc((100dvh - var(--header-height) - 24px) * 1.27539));
  max-width: 100%;
  aspect-ratio: 1218/955; /* scans recadrés au plus près de la pièce (assets/accueil/scan-*.webp) */
  position: relative;
  flex: 0 0 auto;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%,-50%);
  z-index: 2;
  width: clamp(29px,3.6vw,50px);
  height: clamp(29px,3.6vw,50px);
  border: 0;
  background: transparent;
  border-radius: 50%;
  padding: 2px;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.hotspot-eye {
  display: grid;
  place-items: center;
  width: 88%;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 8px #0002;
  transition: transform .2s ease,box-shadow .2s ease;
}

.hotspot-eye:after {
  content: "";
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #000;
}

.hotspot:hover .hotspot-eye,
.hotspot:focus-visible .hotspot-eye {
  transform: scale(1.17);
  box-shadow: 0 4px 18px #0003;
}

.hotspot-tooltip {
  pointer-events: none;
  position: absolute;
  white-space: nowrap;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translate(-50%,7px);
  padding: 10px 17px;
  background: #111;
  color: #fff;
  font-size: 14px;
  letter-spacing: .02em;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s,transform .18s,visibility .18s;
}

.hotspot:hover .hotspot-tooltip,
.hotspot:focus-visible .hotspot-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%,0);
}

.scrim {
  position: fixed;
  inset: 0;
  background: #0004;
  z-index: 35;
}

.scrim[hidden] {
  display: none;
}

.drawer {
  position: fixed;
  z-index: 40;
  top: 0;
  bottom: 0;
  background: #fff;
  transition: transform .28s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 25px #00000012;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.menu-drawer {
  left: 0;
  width: min(365px,88vw);
  padding: 22px 26px 26px;
  transform: translateX(-105%);
}

.cart-drawer {
  right: 0;
  padding: 22px 24px 28px;
  transform: translateX(105%);
  width: min(440px,94vw);
  background: #ececec;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer-head,
.cart-head {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.cart-head {
  justify-content: space-between;
}

.cart-head h2 {
  margin: 0;
  font-size: 23px;
  font-weight: 400;
}

.close-button {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
}

.menu-links {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 13px;
  margin-top: 28px;
}

.menu-links a {
  color: #111;
  text-decoration: none;
  font-weight: 750;
  line-height: 1.16;
}

.menu-links a:hover,
.legal-link:hover {
  text-decoration: underline;
}

.menu-links a.about-link {
  margin-top: clamp(30px,10vh,95px);
}

.legal-link {
  margin-top: auto;
  padding-top: 40px;
  color: #111;
  text-decoration: none;
  font-size: 19px;
}

.cart-empty {
  margin: auto;
  text-align: center;
  font-size: 17px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
  gap: 0;
}

.cart-row {
  border-bottom: 1px solid #d0d0d0;
  justify-content: space-between;
  gap: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 0;
}

.cart-row small {
  display: block;
  color: #777;
  margin-top: 5px;
}

.remove-item {
  border: 0;
  background: transparent;
  text-decoration: underline;
  font-size: 13px;
}

.cart-footer {
  padding-top: 28px;
  margin-top: auto;
}

.cart-footer p {
  font-size: 13px;
  color: #666;
}

.cart-action {
  width: 100%;
  padding: 16px;
  border: 0;
  background: #ccc;
  color: #555;
  cursor: not-allowed;
}

.notice {
  position: fixed;
  z-index: 55;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: white;
  padding: 13px 18px;
  font-size: 14px;
  max-width: calc(100vw - 32px);
  text-align: center;
}

.notice[hidden],
[hidden] {
  display: none!important;
}

body.drawer-open {
  overflow: hidden;
}

.product-main {
  max-width: 1260px;
  margin: auto;
  padding: clamp(16px,4vw,45px) clamp(20px,5vw,65px) 70px;
}

.back-link {
  color: #222;
  font-size: 13px;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(280px,.85fr);
  gap: clamp(24px,6vw,90px);
  align-items: center;
  margin-top: 30px;
}

.product-visual {
  background: #fafafa;
  overflow: hidden;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
}

.product-visual img {
  width: 112%;
  height: 112%;
  object-fit: contain;
}

.product-info {
  max-width: 440px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .2em;
}

.product-info h1 {
  font-size: clamp(39px,5vw,65px);
  font-weight: 500;
  margin: 16px 0 6px;
}

.product-subtitle {
  margin: 0;
  font-size: 23px;
}

.product-description {
  color: #555;
  line-height: 1.6;
  margin: 25px 0;
}

.piece-selector {
  padding: 0;
  margin: 0 0 22px;
  border: 0;
}

.piece-selector legend,
.quantity-label {
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}

.piece-selector label {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 12px 0;
  cursor: pointer;
  font-size: 15px;
}

.quantity-control {
  display: flex;
  width: 132px;
  align-items: center;
  border: 1px solid #bbb;
  margin: 12px 0 24px;
}

.quantity-control button {
  width: 38px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 22px;
}

.quantity-control input {
  width: 54px;
  text-align: center;
  border: 0;
  background: transparent;
  font-size: 15px;
  appearance: textfield;
}

.quantity-control input::-webkit-inner-spin-button {
  appearance: none;
}

.add-to-cart {
  width: 100%;
  display: flex;
  align-items: center;
  border: 0;
  background: #111;
  color: #fff;
  padding: 18px 20px;
  font-size: 15px;
  justify-content: center;
}

.add-to-cart:hover {
  background: #333;
}

.product-note {
  font-size: 12px;
  color: #777;
  line-height: 1.6;
  margin-top: 18px;
}

@media (max-width:760px) {
  .site-header {
    padding-inline: 12px;
  }
  .icon-button {
    width: 52px;
  }
  .burger-lines {
    gap: 7px;
  }
  .cart-toggle {
    width: 50px;
  }
  .product-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .product-info {
    max-width: none;
  }
  .product-visual {
    max-height: 55vh;
    aspect-ratio: 1.15;
  }
  .product-main {
    padding-bottom: 42px;
  }
}

@media (max-width:410px) {
  .icon-button {
    width: 44px;
  }
  .cart-toggle {
    width: 42px;
  }
  .hotspot-tooltip {
    font-size: 12px;
    padding: 8px 11px;
  }
}

@media (max-height:530px) {
  :root {
    --header-height: 58px;
  }
  .brand img {
    width: 105px;
  }
  .site-header {
    padding-block: 2px;
  }
  .hotspot-tooltip {
    font-size: 12px;
    padding: 6px 10px;
  }
  .menu-links {
    gap: 8px;
    margin-top: 10px;
  }
  .menu-links a {
    font-size: 19px;
  }
  .menu-links a.about-link {
    margin-top: 15px;
  }
}

@media (prefers-reduced-motion:reduce) {
  *,
  *:before,
  *:after {
    transition: none!important;
    animation: none!important;
  }
}

/* V3: uniform burger bars; reference shop catalogue */

.burger-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 54px;
}

.menu-links a {
  font-size: clamp(23px,2.3vw,26px);
}

.shop-main {
  max-width: 1370px;
  margin: 0 auto;
  padding: clamp(32px,5vh,65px) 36px 80px;
}

.shop-grid {
  column-gap: clamp(18px,4.2vw,74px);
  row-gap: clamp(44px,6vw,75px);
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(34px,4.4vw,72px) clamp(18px,4vw,56px);
  align-items: start;
}

.shop-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #111;
  text-decoration: none;
  min-width: 0;
}

.shop-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.shop-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.shop-art img {
  box-shadow: 0 2px 7px #0002;
  transition: transform .18s cubic-bezier(.2,.8,.2,1),box-shadow .18s ease,filter .18s ease;
  will-change: transform;
}

.shop-card:hover .shop-art img,
.shop-card:focus-visible .shop-art img {
  transform: scale(1.055);
  box-shadow: 0 7px 19px #0002;
}

.shop-card strong {
  font-size: 14px;
  line-height: 1.25;
  margin-top: 12px;
  font-weight: 700;
}

.shop-price {
  font-size: 15px;
  margin-top: 3px;
}

.shop-card--t-shirt .shop-art img {
  box-shadow: none;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.16));
}

.shop-card--t-shirt:hover .shop-art img,
.shop-card--t-shirt:focus-visible .shop-art img {
  box-shadow: none;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,.18));
}

.artwork-visual {
  background: #fff;
}

.artwork-visual img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

@media (max-width:760px) {
  .shop-main {
    padding: 30px 20px 65px;
  }
  .shop-art {
    height: clamp(160px,39vw,285px);
  }
  .shop-card strong {
    font-size: 12px;
  }
  .shop-price {
    font-size: 14px;
  }
}

@media (max-width:410px) {
  .shop-main {
    padding-inline: 14px;
  }
  .shop-art {
    height: 42vw;
  }
}

/* V4 product gallery, symmetric header and detailed cart */

.site-header {
  padding-inline: var(--header-gutter);
}

.menu-toggle,
.cart-toggle {
  width: 56px;
  height: 56px;
  padding: 0;
  display: grid;
  place-items: center;
  flex: none;
}

.cart-toggle svg {
  width: 29px;
  height: 29px;
}

.product-page .product-main {
  max-width: none;
  padding: 0;
  margin: 0;
}

.product-page .product-layout {
  margin: 0;
  min-height: 100dvh;
  grid-template-columns: 50% 50%;
  gap: 0;
  align-items: stretch;
}

.product-page .product-visual {
  aspect-ratio: auto;
  max-height: none;
  min-height: 100dvh;
  background: #f5f5f5;
  position: relative;
}

.product-gallery {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.product-gallery-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform .32s ease-in-out;
}

.product-gallery .gallery-slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery .gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  color: white;
  background: #0002;
  line-height: 1;
  width: 48px;
  height: 62px;
  z-index: 2;
  font-size: 54px;
  text-shadow: 0 1px 5px #0003;
}

.gallery-nav:hover {
  background: #0005;
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}

.gallery-progress {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff9;
  padding: 4px 11px;
  font-size: 12px;
}

.product-page .product-info {
  padding: clamp(100px,14vh,165px) clamp(24px,7vw,115px) 45px;
  max-width: 750px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-info .eyebrow {
  font-size: 10px;
  letter-spacing: .2em;
}

.eyebrow a {
  color: inherit;
  text-decoration: none;
}

.product-page .product-info h1 {
  font-size: clamp(39px,4vw,66px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -.035em;
  margin: 14px 0 6px;
}

.product-page .product-subtitle {
  font-size: 19px;
  margin: 0 0 28px;
}

.product-purchase {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  margin-bottom: clamp(34px,6vh,65px);
}

.product-purchase .quantity-control {
  flex: 0 0 108px;
  height: 43px;
  margin: 0;
  border: 1px solid #ccc;
}

.product-purchase .quantity-control button {
  height: 41px;
  width: 31px;
  font-size: 18px;
}

.product-purchase .quantity-control input {
  min-width: 0;
  width: 44px;
  font-size: 13px;
}

.product-purchase .add-to-cart {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  font-size: 13px;
}

.product-copy {
  font-size: 13px;
  max-width: 405px;
}

.product-copy h2,
.product-details summary {
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 8px;
}

.product-copy p {
  margin: 0 0 10px;
}

.product-details {
  margin-top: 14px;
}

.product-details summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
}

.product-details summary:after {
  content: '▸';
}

.product-details[open] summary:after {
  content: '▾';
}

.product-details p {
  line-height: 1.4;
}

.delivery-time {
  font-weight: 700;
  margin-top: 20px!important;
}

.cart-thumb {
  width: 104px;
  height: 104px;
  background: #fff;
  object-fit: contain;
}

.cart-row-info {
  width: 100%;
}

.cart-row-info strong {
  display: block;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  margin: 12px 0 18px;
}

.cart-row-info p {
  font-size: 15px;
  margin: 7px 0;
}

.cart-row-info .cart-line-total {
  font-weight: 700;
}

.remove-item {
  margin-top: 5px;
}

.cart-subtotal {
  border-top: 1px solid #bbb;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 16px;
}

@media (max-width:760px) {
  :root {
    --header-gutter: 16px;
  }
  .menu-toggle,
  .cart-toggle {
    width: 44px;
    height: 48px;
  }
  .burger-lines {
    width: 44px;
  }
  .product-page .product-layout {
    display: block;
    min-height: auto;
  }
  .product-page .product-visual {
    width: 100%;
    height: auto;
    aspect-ratio: 592 / 633;
    min-height: 0;
    max-height: none;
    display: block;
  }
  .product-page .product-info {
    max-width: none;
    padding: clamp(42px,8vw,60px) 24px 55px;
  }
  .product-gallery .gallery-slide img {
    object-fit: contain;
  }
  .product-purchase {
    gap: 10px;
  }
  .product-copy {
    max-width: none;
  }
}

@media (max-width:410px) {
  .burger-lines {
    width: 40px;
  }
  .product-purchase .quantity-control {
    flex-basis: 100px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .product-gallery-track {
    transition: none;
  }
}

/* V5 — header permanently visible, gallery mobile matching supplied reference */

:root {
  --header-gutter: clamp(16px,2.65vw,44px);
}

.brand img {
  width: clamp(125px,15vw,197px);
}

.menu-links a:hover,
.menu-links a:focus-visible,
.legal-link:hover,
.legal-link:focus-visible {
  text-decoration: none;
  opacity: .48;
}

.menu-links a,
.legal-link {
  transition: opacity .16s ease;
}

.gallery-nav,
.gallery-nav:hover,
.gallery-nav:focus-visible {
  background: transparent!important;
  box-shadow: none!important;
  outline-offset: -3px;
}

.product-page .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: transparent;
  transition: background .18s ease;
}

.product-page .site-header .brand {
  z-index: 1;
}

@media (max-width:760px) {
  .brand img {
    width: clamp(130px,29vw,185px);
  }
  .product-page .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
  }
  .product-page .product-gallery {
    position: absolute;
    inset: 0;
  }
  .product-page .product-gallery .gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .product-page .product-info h1 {
    font-size: clamp(36px,7.6vw,52px);
    letter-spacing: -.045em;
    line-height: 1.12;
    margin: 24px 0 8px;
  }
  .product-page .product-subtitle {
    font-size: 23px;
    margin: 0 0 38px;
  }
  .product-page .product-purchase {
    margin-bottom: clamp(52px,12vw,88px);
    gap: 12px;
  }
  .product-page .product-purchase .quantity-control {
    flex-basis: 146px;
    height: 58px;
  }
  .product-page .product-purchase .quantity-control button {
    width: 42px;
    height: 56px;
  }
  .product-page .product-purchase .quantity-control input {
    width: 60px;
  }
  .product-page .product-purchase .add-to-cart {
    font-size: 15px;
    padding: 0 16px;
  }
  .product-page .product-copy {
    font-size: 16px;
  }
  .product-page .product-copy h2,
  .product-page .product-details summary {
    font-size: 15px;
  }
  .gallery-nav {
    width: 42px;
    height: 60px;
    font-size: 54px;
  }
  .gallery-prev {
    left: 8px;
  }
  .gallery-next {
    right: 8px;
  }
}

@media (max-width:410px) {
  .brand img {
    width: 135px;
  }
  .product-page .product-purchase .quantity-control {
    flex-basis: 105px;
  }
  .product-page .product-purchase .quantity-control button {
    width: 30px;
  }
  .product-page .product-purchase .quantity-control input {
    width: 42px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .menu-links a,
  .legal-link {
    transition: none;
  }
}

/* V6: aucun voile dans le header, même après défilement */

.site-header,
.product-page .site-header {
  background: transparent!important;
  backdrop-filter: none!important;
  -webkit-backdrop-filter: none!important;
}

/* Accueil: l'image et les marqueurs sont déplacés/zoomés ensemble. */

.home-page .gallery {
  touch-action: none;
  will-change: transform;
  transform-origin: center center;
  cursor: grab;
}

.home-page .gallery.is-panning {
  cursor: grabbing;
}

.home-page .gallery .hotspot {
  touch-action: manipulation;
  cursor: pointer;
}

.home-page .gallery-image {
  pointer-events: none;
  object-fit: contain;
}

/* V7 — couche de navigation totalement transparente, sans rognage au zoom */

.home-page .site-header {
  position: fixed!important;
  inset: 0 0 auto 0;
  z-index: 30;
  pointer-events: none;
  background: none!important;
  box-shadow: none!important;
}

.home-page .site-header > * {
  pointer-events: auto;
}

.home-page .home-main {
  inset: 0;
  min-height: 0;
  overflow: hidden;
  padding-top: var(--header-height);
  padding-bottom: clamp(7px,2.5vh,20px);
}

.home-page .site-header:before,
.site-header:before {
  content: none!important;
}

/* Sur appareils tactiles, le libellé reste visible et le clic demeure opérationnel. */

@media (hover:none), (pointer:coarse) {
  .home-page .hotspot-tooltip {
    opacity: 1!important;
    visibility: visible!important;
    transform: translate(-50%,0)!important;
    bottom: calc(100% + 5px);
    padding: 5px 10px;
    font-size: clamp(10px,2.7vw,13px);
    background: #111;
    color: #fff;
  }
}

/* V9 — nouvelle scène d’accueil + pages Peinture et Design */

.design-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #999;
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
  aspect-ratio: .77;
}

.design-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease,filter .22s ease;
}

.design-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,rgba(0,0,0,.45),transparent 40%);
}

.design-card:hover img,
.design-card:focus-visible img {
  transform: scale(1.03);
  filter: saturate(1.05);
}

.design-meta {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  left: 10px;
  right: 10px;
  bottom: 9px;
  gap: 0;
}

.design-meta strong {
  font-size: 18px;
  font-weight: 400;
  text-transform: lowercase;
  opacity: .74;
}

.design-meta em {
  font-style: normal;
  font-size: 14px;
  opacity: 1;
}

.design-detail-main {
  margin: 0 auto;
  max-width: none;
  padding: 0;
}

.design-detail-copy h1 {
  margin: 8px 0 10px;
  font-size: clamp(34px,4vw,62px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -.04em;
}

.design-detail-copy p,
.design-detail-copy li {
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width:980px) {
  .design-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .painting-detail-layout {
    grid-template-columns: 1fr;
  }
  .painting-detail-visual-wrap {
    min-height: auto;
  }
  .painting-detail-side {
    max-width: 760px;
  }
  .shop-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:760px) {
  .paintings-main,
  .design-main {
    padding-inline: 12px;
  }
  .design-meta strong {
    font-size: 15px;
  }
  .design-meta em {
    font-size: 12px;
  }
}

/* V10 layout design and paintings */

.design-page .site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  pointer-events: none;
  background: transparent!important;
}

.design-page .site-header>* {
  pointer-events: auto;
}

.design-page .brand img {
  filter: brightness(0) invert(1);
}

.design-page .burger-lines span {
  background: #fff;
}

.design-page .cart-toggle {
  color: #fff;
}

.design-main {
  max-width: none;
  margin: 0;
  padding: 0;
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 0;
}

@media (max-width:760px) {
  .design-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0;
  }
  .design-main {
    padding: 0;
  }
  .design-card {
    min-height: 0;
    aspect-ratio: .77;
  }
}

@media (max-width:430px) {
  .design-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

/* V11 — nouvelle page Peinture type galerie encadrée */

.paintings-page {
  color: #111;
  background: #fff;
}

.painting-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(18px,2vw,34px);
}

.painting-card {
  position: relative;
  color: #111;
  text-decoration: none;
  display: block;
  break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 clamp(12px,2vw,30px);
  width: 100%;
  box-shadow: none;
}

.painting-frame img {
  transition: transform .2s ease,filter .2s ease;
}

.painting-card span {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  background: rgba(255,255,255,.78);
  font-size: clamp(18px,2vw,34px);
  font-weight: 700;
  letter-spacing: -.03em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .2s ease;
  color: #111;
}

.painting-card:hover span,
.painting-card:focus-visible span {
  opacity: 1;
}

.painting-card:hover img,
.painting-card:focus-visible img {
  transform: scale(1.015);
  filter: brightness(.95);
}

@media (max-width:980px) {
  .painting-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:620px) {
  .paintings-main {
    padding-top: 92px;
  }
  .painting-grid {
    gap: 14px;
  }
  .painting-frame {
    padding: 10px;
  }
  .painting-card span {
    inset: 10px;
    font-size: 16px;
    opacity: 1;
    background: rgba(255,255,255,.72);
  }
}

/* V11 — page détail d’une peinture originale */

.painting-detail-main {
  position: relative;
}

.painting-detail-visual-wrap {
  flex-direction: column;
  background: #f5f5f5;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: clamp(70px,10vh,115px) 22px 24px;
}

.painting-detail-image {
  display: block;
}

.painting-detail-caption {
  display: none;
}

.painting-detail-side {
  padding-top: 8px;
  padding: clamp(115px,15vh,168px) clamp(26px,6vw,105px) 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
}

.painting-detail-titlewrap h1 {
  letter-spacing: -.045em;
}

.painting-detail-page .eyebrow {
  text-transform: uppercase;
  color: #333;
  font-size: 11px;
  letter-spacing: .2em;
}

.enquire-button,
.info-pill {
  display: flex;
  align-items: center;
  min-height: 72px;
  border-radius: 999px;
  background: #171717;
  color: #fff;
  text-decoration: none;
  padding: 0 28px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.04);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}

.enquire-button {
  text-transform: uppercase;
}

.painting-info-row span {
  display: block;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .09em;
  color: #777;
  margin-bottom: 7px;
}

.painting-info-row strong {
  display: block;
}

.painting-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  text-decoration: none;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width:700px) {
  .painting-detail-main {
    padding: 88px 12px 28px;
  }
  .painting-detail-image {
    max-height: none;
  }
  .painting-detail-titlewrap h1 {
    font-size: 36px;
  }
  .enquire-button,
  .info-pill {
    min-height: 62px;
    padding: 0 20px;
    margin-bottom: 14px;
    font-size: 16px;
  }
  .painting-info-card {
    padding: 24px 20px;
    border-radius: 26px;
  }
  .painting-info-row strong {
    font-size: 18px;
  }
  .painting-nav {
    width: 44px;
    height: 44px;
    font-size: 44px;
  }
}

/* V11 — détail des projets design, texte haut + galerie 2 colonnes */

.design-detail-page {
  color: #fff;
  background: #d6d6d6;
}

.design-detail-page .site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: transparent!important;
  pointer-events: none;
}

.design-detail-page .site-header > * {
  pointer-events: auto;
}

.design-detail-page .site-header .brand img {
  filter: brightness(0) invert(1);
}

.design-detail-page .burger-lines span {
  background: #fff;
}

.design-detail-page .cart-toggle {
  color: #fff;
}

.design-detail-page .cart-count {
  background: #fff;
  color: #111;
}

.design-detail-top {
  display: grid;
  grid-template-columns: .9fr 1.35fr;
  gap: 24px;
  padding: 110px 26px 34px;
}

.design-detail-meta p,
.design-detail-copy p {
  margin: 0 0 18px;
  font-size: clamp(16px,1.15vw,26px);
  line-height: 1.18;
  font-weight: 300;
}

.design-gallery-item {
  display: block;
  background: #bdbdbd;
}

.design-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

@media (max-width:860px) {
  .design-detail-top {
    grid-template-columns: 1fr;
    padding: 88px 16px 20px;
  }
  .design-detail-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .design-detail-meta p,
  .design-detail-copy p {
    font-size: 16px;
  }
}

@media (max-width:560px) {
  .design-gallery-item img {
    aspect-ratio: 4/3;
  }
}

/* V12 — Peinture : compositions à dimensions naturelles, sans recadrage */

.paintings-main {
  max-width: 1720px;
  margin: 0 auto;
  padding: clamp(6px,1vw,16px) clamp(14px,2.5vw,38px) 72px;
}

.painting-grid {
  display: block;
  columns: 3;
  column-gap: clamp(12px,2vw,30px);
}

.painting-frame {
  display: block;
  margin: 0;
  padding: clamp(7px,1vw,13px);
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,.075);
}

.painting-frame img {
  max-height: none;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  box-shadow: none;
}

@media (max-width:1000px) {
  .painting-grid {
    columns: 2;
  }
}

@media (max-width:600px) {
  .paintings-main {
    padding: 4px 12px 40px;
  }
  .painting-grid {
    columns: 2;
    column-gap: 10px;
  }
  .painting-card {
    margin-bottom: 10px;
  }
  .painting-frame {
    padding: 6px;
  }
  .painting-card span {
    inset: 6px;
  }
}

@media (max-width:390px) {
  .painting-grid {
    columns: 2;
  }
}

/* V12 — Fiche peinture originale : même langage visuel que les pages produits */

.painting-detail-page {
  background: #fff;
  color: #111;
}

.painting-detail-page .site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: transparent!important;
}

.painting-detail-main {
  max-width: none;
  margin: 0;
  padding: 0;
}

.painting-detail-layout {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 0;
  align-items: stretch;
}

.painting-detail-image {
  width: 100%;
  height: 100%;
  max-height: calc(100dvh - 135px);
  object-fit: contain;
  border-radius: 0;
}

.painting-detail-titlewrap h1 {
  font-size: clamp(38px,4vw,64px);
  font-weight: 400;
  line-height: 1.08;
  margin: 14px 0 28px;
}

.enquire-button {
  background: #111;
  color: #fff;
  border-radius: 0;
  box-shadow: none;
  border: 0;
  min-height: 55px;
  padding: 16px 20px;
  justify-content: center;
  font-size: clamp(13px,1.2vw,16px);
  font-weight: 500;
  letter-spacing: .06em;
  margin: 0 0 22px;
}

.enquire-button:hover {
  background: #333;
}

.info-pill {
  min-height: unset;
  background: transparent;
  color: #111;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 4px 0 22px;
  margin: 0;
  font-size: clamp(13px,1.3vw,16px);
  font-weight: 500;
}

.painting-info-card {
  background: #fff;
  color: #111;
  box-shadow: none;
  border-radius: 0;
  border-top: 1px solid #ddd;
  padding: 12px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 22px;
}

.painting-info-row {
  padding: 12px 0;
}

.painting-info-row strong {
  font-size: clamp(14px,1.4vw,18px);
  font-weight: 500;
  line-height: 1.25;
}

.painting-nav {
  color: #111;
  background: #fff9;
  box-shadow: 0 1px 8px #0001;
  font-size: 43px;
  border-radius: 0;
  width: 44px;
  height: 58px;
  z-index: 29;
}

.painting-nav:hover {
  background: #fff;
}

.painting-nav-prev {
  left: 10px;
}

.painting-nav-next {
  right: 10px;
}

@media (max-width:850px) {
  .painting-detail-layout {
    display: block;
    min-height: 0;
  }
  .painting-detail-visual-wrap {
    min-height: 0;
    height: min(90vw,680px);
    padding: 70px 22px 15px;
  }
  .painting-detail-image {
    max-height: 100%;
    height: 100%;
  }
  .painting-detail-side {
    max-width: none;
    padding: 38px clamp(20px,5vw,38px) 55px;
  }
  .painting-info-card {
    grid-template-columns: 1fr 1fr;
  }
  .painting-nav {
    top: min(45vw,340px);
  }
}

@media (max-width:440px) {
  .painting-detail-visual-wrap {
    height: 100vw;
    padding: 68px 12px 12px;
  }
  .painting-detail-side {
    padding: 30px 22px 48px;
  }
  .painting-detail-titlewrap h1 {
    font-size: clamp(30px,8vw,42px);
  }
  .painting-nav {
    top: 50vw;
    width: 35px;
    height: 48px;
    font-size: 35px;
  }
  .painting-nav-prev {
    left: 2px;
  }
  .painting-nav-next {
    right: 2px;
  }
}

/* V13 — Peinture : œuvres sans cadres ni ombres */

.paintings-main {
  padding-top: clamp(4px,.75vw,12px);
}

.painting-frame,
.painting-frame:hover,
.painting-frame:focus-within {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.painting-card span {
  inset: 0;
}

/* Flèches totalement transparentes, même au survol */

.painting-detail-page .painting-nav,
.painting-detail-page .painting-nav:hover,
.painting-detail-page .painting-nav:focus-visible,
.painting-detail-page .painting-nav:active {
  border: 0;
  border-radius: 0;
  background: transparent!important;
  box-shadow: none!important;
  backdrop-filter: none;
}

.painting-detail-page .painting-nav:hover {
  opacity: .6;
}

.product-page .gallery-nav,
.product-page .gallery-nav:hover,
.product-page .gallery-nav:focus-visible {
  background: transparent!important;
  box-shadow: none!important;
}

/* Chaque paire de visuels Design occupe toute une hauteur d'écran */

.design-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0;
  width: 100%;
}

.design-detail-gallery .design-gallery-item {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100dvh;
  min-width: 0;
  overflow: hidden;
  background: transparent;
  position: relative;
}

.design-detail-gallery .design-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

@media (max-width:560px) {
  .design-detail-gallery {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .design-detail-gallery .design-gallery-item {
    height: 100dvh;
  }
}

/* V15: V13 portfolio layout, no new visual redesign */

.design-detail-gallery .design-gallery-item video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #101010;
}

.design-project-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.event-main {
  min-height: 80dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 30px;
}

.event-main h1 {
  font-size: clamp(34px,6vw,96px);
  font-weight: 400;
}

/* Design detail title exactly like supplied reference: white on grey, top-left */

.design-detail-page .design-detail-meta p {
  text-transform: lowercase;
}

.design-detail-page .design-detail-top {
  min-height: 280px;
  padding-left: calc(var(--header-gutter) + 1px);
  padding-right: calc(var(--header-gutter) + 1px);
  padding-top: clamp(155px,21vh,215px);
}

/* V16 — textes projet identiques à la colonne descriptive (desktop / mobile) */

.design-detail-page .design-detail-meta p,
.design-detail-page .design-detail-copy p {
  font-size: clamp(16px,1.15vw,26px);
  line-height: 1.18;
  font-weight: 300;
  text-transform: none;
  color: #fff;
}

@media (max-width:860px) {
  .design-detail-page .design-detail-meta p,
  .design-detail-page .design-detail-copy p {
    font-size: 16px;
  }
  .design-detail-page .design-detail-top {
    padding-left: calc(var(--header-gutter) + 1px);
    padding-right: calc(var(--header-gutter) + 1px);
    padding-top: clamp(105px,16vh,165px);
  }
}

/* V17 — légendes originales: marque / année puis projet */

.design-meta em,
.design-meta strong {
  display: block;
  font-size: clamp(14px,1.18vw,21px);
  line-height: 1.03;
  font-weight: 400;
  font-style: normal;
  text-transform: lowercase;
}

.design-detail-page .design-detail-meta p {
  font-size: clamp(16px,1.15vw,26px);
  line-height: 1.18;
  font-weight: 300;
  color: #fff;
}

.design-video-toggle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  z-index: 3;
  border: 0;
  background: transparent;
  color: #fff;
  font: 400 clamp(28px,4vw,64px)/1.1 Arial,sans-serif;
  text-transform: capitalize;
  cursor: pointer;
  text-shadow: 0 1px 10px #0005;
  padding: 18px;
  appearance: none;
}

.design-video-toggle:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
}

@media (max-width:760px) {
  .design-meta em,
  .design-meta strong {
    font-size: 12px;
  }
}

/* Design portfolio uniquement : projet en premier, marque/année en second. */

.design-page .design-meta strong,
.design-page .design-meta em {
  font-weight: 300;
  font-family: Arial,Helvetica,sans-serif;
}

.design-page .design-meta strong {
  opacity: 1;
}

.design-page .design-meta em {
  opacity: .70;
}

/* Signature cliquable : retour visuel discret au survol et au focus clavier. */

.site-header .brand img {
  transition: opacity .2s ease;
}

.site-header .brand:hover img,
.site-header .brand:focus-visible img {
  opacity: .78;
}

/* V19: vidéo — libellé petit, uniquement lorsque la lecture est arrêtée. */

.design-detail-page .design-video-toggle {
  font-size: clamp(15px,1.3vw,20px);
  font-weight: 300;
  text-shadow: 0 1px 5px rgba(0,0,0,.45);
  padding: 12px 16px;
}

.design-detail-page .design-video-toggle[hidden] {
  display: none!important;
}

.design-detail-page .design-gallery-item video {
  cursor: pointer;
}

/* V19: scène principale agrandie sur ordinateur, image et points cliquables ensemble. */

@media (min-width:861px) {
  .home-page .gallery {
    width: min(120vw,calc(100dvh * 1.91));
    max-width: none;
    flex-shrink: 0;
    aspect-ratio: 1218 / 955;
  }
  .home-page .home-main {
    padding: 0;
  }
}

/* V20 — descriptions des œuvres, sans changement de grille */

.painting-grid .painting-card img {
  object-fit: contain;
}

/* V21 — Peinture : parcours gauche → droite, ligne par ligne */

.paintings-page .painting-grid {
  --painting-gap: clamp(12px,2vw,24px);
  columns: auto;
  column-gap: var(--painting-gap);
  row-gap: var(--painting-gap);
  display: grid!important;
  grid-template-columns: repeat(3,minmax(0,1fr));
  align-items: start;
  gap: clamp(12px,2vw,24px);
}

.paintings-page .painting-grid .painting-card {
  min-width: 0;
  break-inside: auto;
  display: block;
  width: 100%;
  margin: 0;
  position: relative;
}

.paintings-page .painting-grid .painting-frame {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.paintings-page .painting-grid .painting-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  transform: none;
  filter: none;
}

/* Overlay attached to the exact image/frame bounds, no inset or uncovered edges */

.paintings-page .painting-grid .painting-card>span {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 16px;
  background: rgba(255,255,255,.78);
  box-sizing: border-box;
  opacity: 0;
  transition: opacity .18s ease;
  pointer-events: none;
  inset: 0;
}

.paintings-page .painting-grid .painting-card:hover>span,
.paintings-page .painting-grid .painting-card:focus-visible>span {
  opacity: 1;
}

.paintings-page .painting-grid .painting-card:hover img,
.paintings-page .painting-grid .painting-card:focus-visible img {
  transform: none;
  filter: none;
}

@media (max-width:600px) {
  .paintings-page .painting-grid .painting-card>span {
    opacity: 0;
  }
  .paintings-page .painting-grid .painting-card:focus-visible>span {
    opacity: 1;
  }
}

@media (prefers-reduced-motion:reduce) {
  .paintings-page .painting-grid .painting-card>span {
    transition: none;
  }
}

/* V22 — shop étendu + resserrage galerie peinture */

.shop-card,
.shop-card:nth-child(4),
.shop-card:nth-child(5) {
  grid-column: auto;
}

.shop-art {
  height: clamp(220px,25vw,360px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.shop-art img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width:760px) {
  .shop-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 38px 19px;
  }
  .shop-card,
  .shop-card:nth-child(4),
  .shop-card:nth-child(5) {
    grid-column: auto;
  }
}

/* V23 : colonnes compactes, ordre 1-2-3 de gauche à droite */

.paintings-page .painting-grid .painting-column {
  display: flex;
  flex-direction: column;
  gap: clamp(12px,2vw,24px);
  min-width: 0;
}

@media (max-width:1000px) {
  .paintings-page .painting-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:390px) {
  .paintings-page .painting-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

/* V24: page détails Design — titre / marque et date */

.design-detail-page .design-detail-meta p span:first-child {
  opacity: 1;
}

.design-detail-page .design-detail-meta p span:last-child {
  opacity: .70;
}

.product-page #product-description {
  white-space: pre-line;
}

.product-page.product-is-tshirt .product-gallery .gallery-slide {
  padding: clamp(12px,2vw,24px);
}

.product-page.product-is-tshirt .product-gallery .gallery-slide img {
  object-fit: contain;
  background: transparent;
}

/* V25 — Accueil équilibré sous le header */

.home-page .home-main {
  position: fixed;
  top: var(--header-height);
  bottom: 0;
  left: 0;
  right: 0;
  height: auto;
  padding: 0 clamp(8px,2vw,30px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-page .gallery {
  width: min(100%,calc((100dvh - var(--header-height) - 24px) * 1218 / 955));
  max-width: 100%;
  aspect-ratio: 1218/955; /* scans recadrés au plus près de la pièce */
  flex: 0 0 auto;
}

/* V25 — Shop filters */

.shop-filters {
  display: flex;
  gap: clamp(22px,4vw,58px);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto clamp(34px,5vw,65px);
}

.shop-filter {
  border: 0;
  background: transparent;
  color: #777;
  font: inherit;
  font-size: clamp(13px,1.25vw,17px);
  text-transform: lowercase;
  cursor: pointer;
  padding: 8px 2px;
  border-bottom: 1px solid transparent;
}

.shop-filter:hover,
.shop-filter.active {
  color: #111;
  border-color: #111;
}

.shop-filter:focus-visible {
  outline: 2px solid #111;
  outline-offset: 4px;
}

@media (max-width:760px) {
  .shop-filters {
    margin-bottom: 28px;
    gap: 26px;
  }
  .home-page .gallery {
    width: min(100%,calc((100dvh - var(--header-height) - 24px) * 1218 / 955));
  }
}

/* Paiement désactivé en attendant la boutique */

.cart-footer .cart-soon {
  font-size: 15px;
  color: #111;
  text-align: center;
  margin-top: 18px;
}

/* Pages légales (mentions légales, CGV, confidentialité) et leurs liens dans le menu */
.legal-links {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-links .legal-link {
  margin-top: 0;
  padding-top: 0;
  font-size: 15px;
}

.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px,5vh,60px) 24px 90px;
  font-size: 15px;
  line-height: 1.65;
}

.legal-main h1 {
  font-size: clamp(26px,4vw,40px);
  font-weight: 400;
  margin: 0 0 28px;
}

.legal-main h2 {
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 34px 0 8px;
}

.legal-main a {
  color: inherit;
}

.legal-main ul {
  padding-left: 20px;
}

.legal-note {
  color: #666;
}

/* Boutique : bouton Payer, choix de la taille, articles épuisés */
.cart-footer .cart-pay {
  width: 100%;
  margin-top: 18px;
  padding: 16px;
  border: 0;
  background: #111;
  color: #fff;
  font-size: 15px;
  letter-spacing: .04em;
}

.cart-footer .cart-pay:disabled {
  opacity: .5;
  cursor: wait;
}

.product-purchase:has(.size-picker) {
  flex-wrap: wrap;
}

.size-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 0 0 100%;
}

.size-option {
  min-width: 48px;
  padding: 10px 12px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-size: 14px;
}

.size-option[aria-checked="true"] {
  background: #111;
  color: #fff;
}

.size-option.is-soldout {
  text-decoration: line-through;
  opacity: .45;
}

.add-to-cart:disabled {
  background: #999;
  cursor: not-allowed;
}

.shop-card.is-soldout .shop-art img {
  opacity: .55;
}

/* Panier : pays de livraison, frais et total */
.cart-shipping-block {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.cart-country {
  display: grid;
  gap: 6px;
}

.cart-country-select {
  width: 100%;
  padding: 10px;
  border: 1px solid #bbb;
  background: #fff;
  font: inherit;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.cart-line.cart-total {
  border-top: 1px solid #bbb;
  padding-top: 10px;
  font-size: 16px;
}

/* Shop : ombres portées plus visibles (tirages : rectangle ; t-shirts : suit la forme détourée) */
.shop-art img {
  box-shadow: 0 10px 24px rgba(0,0,0,.2),0 2px 6px rgba(0,0,0,.12);
}

.shop-card:hover .shop-art img,
.shop-card:focus-visible .shop-art img {
  box-shadow: 0 16px 34px rgba(0,0,0,.24),0 3px 8px rgba(0,0,0,.14);
}

.shop-card--t-shirt .shop-art img {
  box-shadow: none;
  filter: drop-shadow(0 12px 14px rgba(0,0,0,.22)) drop-shadow(0 2px 3px rgba(0,0,0,.14));
}

.shop-card--t-shirt:hover .shop-art img,
.shop-card--t-shirt:focus-visible .shop-art img {
  box-shadow: none;
  filter: drop-shadow(0 18px 20px rgba(0,0,0,.26)) drop-shadow(0 3px 4px rgba(0,0,0,.16));
}

/* Téléphone : Safari colore les boutons en bleu système par défaut → icônes toujours noires */
.menu-toggle,
.cart-toggle,
.close-button {
  color: #111;
  -webkit-appearance: none;
  appearance: none;
}

/* Contour de focus au toucher : seulement en navigation clavier (classe posée par script.js) */
html:not(.nav-clavier) button:focus-visible,
html:not(.nav-clavier) a:focus-visible {
  outline: none;
}

/* Projets Design sur téléphone et tablette : même format que les vignettes de la page Design (.77) */
@media (max-width:860px) {
  .design-detail-gallery .design-gallery-item {
    height: auto;
    aspect-ratio: .77;
  }
}

/* Téléphone : ombres du Shop réduites, proportionnées aux vignettes plus petites */
@media (max-width:760px) {
  .shop-art img {
    box-shadow: 0 4px 10px rgba(0,0,0,.18),0 1px 3px rgba(0,0,0,.1);
  }
  .shop-card:hover .shop-art img,
  .shop-card:focus-visible .shop-art img {
    box-shadow: 0 6px 14px rgba(0,0,0,.2),0 1px 4px rgba(0,0,0,.12);
  }
  .shop-card--t-shirt .shop-art img,
  .shop-card--t-shirt:hover .shop-art img,
  .shop-card--t-shirt:focus-visible .shop-art img {
    box-shadow: none;
    filter: drop-shadow(0 5px 6px rgba(0,0,0,.2)) drop-shadow(0 1px 2px rgba(0,0,0,.12));
  }
}

/* Accueil : l'image passe sous l'en-tête transparent (zoom, déplacement) au lieu d'être coupée */
.home-page .home-main {
  top: 0;
  padding-top: var(--header-height);
}

/* Accueil sur téléphone : pas de libellés sur les yeux (les liens gardent leur nom pour l'accessibilité) */
@media (max-width:760px) {
  .home-page .hotspot-tooltip {
    display: none!important;
  }
}

/* Accueil : survol d'un cercle → scène correspondante (même cadrage, image superposée) :
   Shop → lapin, Peinture → Banid qui peint, Design → Banid au bureau. */
.gallery-image-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.gallery:has(.hotspot-peinture:hover) .gallery-image-peintre,
.gallery:has(.hotspot-peinture:focus-visible) .gallery-image-peintre,
.gallery:has(.hotspot-shop:hover) .gallery-image-lapin,
.gallery:has(.hotspot-shop:focus-visible) .gallery-image-lapin,
.gallery:has(.hotspot-design:hover) .gallery-image-bureau,
.gallery:has(.hotspot-design:focus-visible) .gallery-image-bureau,
.gallery:has(.hotspot-shop.is-touche) .gallery-image-lapin,
.gallery:has(.hotspot-peinture.is-touche) .gallery-image-peintre,
.gallery:has(.hotspot-design.is-touche) .gallery-image-bureau {
  opacity: 1;
}

/* Accueil : cercles dessinés à la main (assets/accueil/cercle.webp) à la place des yeux.
   Taille proportionnelle à la photo (4,9 % de la largeur du scan recadré), zone cliquable agrandie autour. */
.home-page .gallery .hotspot {
  width: max(22px,4.9%);
  height: auto;
  aspect-ratio: 1;
  padding: 0;
  border-radius: 0;
}
.home-page .gallery .hotspot:before {
  content: "";
  position: absolute;
  inset: -10px;
}
.hotspot-cercle,
.hotspot-libelle {
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 1px 3px #0005);
}
.hotspot-cercle {
  width: 100%;
  height: 100%;
  transition: transform .2s ease,opacity .2s ease;
}
.hotspot:hover .hotspot-cercle,
.hotspot:focus-visible .hotspot-cercle {
  transform: scale(1.12);
}
/* Libellé dessiné : remplace le cercle au survol (le cercle du dessin tombe pile sur l'autre). */
.hotspot-libelle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 212%;
  max-width: none;
  transform: translate(-50%,-50%) scale(.92);
  opacity: 0;
  transition: opacity .2s ease,transform .2s ease;
}
.hotspot:hover .hotspot-libelle,
.hotspot:focus-visible .hotspot-libelle,
.hotspot.is-touche .hotspot-libelle {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
}
.hotspot:has(.hotspot-libelle):hover .hotspot-cercle,
.hotspot:has(.hotspot-libelle):focus-visible .hotspot-cercle,
.hotspot:has(.hotspot-libelle).is-touche .hotspot-cercle {
  opacity: 0;
}

/* Œil de chargement (layout.js) */
.chargement {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease,visibility 0s linear .3s;
}
.chargement img {
  width: clamp(90px,12vw,140px);
  height: auto;
}
.chargement-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease;
}

/* Fondu entre les pages (layout.js, tous navigateurs) : seul le contenu fond, l'en-tête reste. */
.page-entree main {
  opacity: 0;
  animation: secours-affichage 0s linear 3s forwards; /* filet de sécurité si le script échoue */
}
.page-visible main {
  opacity: 1;
  transition: opacity .45s ease;
}
.page-sortie main {
  opacity: 0;
  transition: opacity .25s ease;
}
@keyframes secours-affichage { to { opacity: 1; } }

/* Menu : CONTACT (layout.js) — e-mail et téléphone qui glissent sous le mot */
.menu-contact-bloc {
  margin-top: clamp(30px,10vh,95px);
}
.menu-links .contact-toggle {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: clamp(23px,2.3vw,26px);
  font-weight: 750;
  line-height: 1.16;
  color: #111;
  cursor: pointer;
  transition: opacity .16s ease;
}
.menu-links .contact-toggle:hover {
  opacity: .48;
}
.menu-contact {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.menu-contact-infos {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .3s ease,transform .35s ease,visibility 0s linear .35s;
}
.menu-contact-bloc.is-open .menu-contact {
  grid-template-rows: 1fr;
}
.menu-contact-bloc.is-open .menu-contact-infos {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.menu-links .menu-contact-infos a {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}
.menu-contact-infos a:first-child {
  margin-top: 8px;
}
@media (max-height:530px) {
  .menu-contact-bloc { margin-top: 15px; }
  .menu-links .contact-toggle { font-size: 19px; }
}

/* Accueil, écrans tactiles : indice « deux doigts + pour zoomer » sous le scan (disparaît après un premier zoom). */
.zoom-indice {
  display: none;
}
@media (hover:none) {
  .home-page .home-main {
    flex-direction: column;
    gap: 14px;
  }
  .zoom-indice {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #8a8a8a;
    font-size: 13px;
    letter-spacing: .02em;
    transition: opacity .4s ease;
  }
  .zoom-indice svg {
    width: 19px;
    height: 19px;
  }
  .a-zoome .zoom-indice {
    opacity: 0;
  }
}

/* Spirale de chargement (script.js) : tourne au centre d'une image qui tarde à s'afficher. */
.spirale-cadre {
  position: relative;
}
.spirale-attente::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  background: url("assets/accueil/spirale.webp") center/contain no-repeat;
  pointer-events: none;
  z-index: 1;
  animation: spirale-tourne 1.1s linear infinite;
}
@keyframes spirale-tourne {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .spirale-attente::after { animation: none; }
}

/* Menu : choix de la langue FR / EN (layout.js), juste au-dessus des liens légaux */
.menu-langue {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  letter-spacing: .06em;
  color: #999;
}
.menu-langue + .legal-links {
  margin-top: 0;
  padding-top: 18px;
}
.menu-langue .langue-lien {
  color: #999;
  text-decoration: none;
  transition: opacity .16s ease,color .16s ease;
}
.menu-langue .langue-lien:hover {
  color: #111;
}
.menu-langue .langue-lien.is-active {
  color: #111;
  font-weight: 750;
}

/* Proposition de la version anglaise (navigateur qui n'est pas en français, une seule fois) */
.langue-proposition {
  position: fixed;
  z-index: 54;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 10px 10px 10px 18px;
  max-width: calc(100vw - 32px);
  background: #111;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
}
.langue-proposition a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.langue-proposition button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: none;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  padding: 2px 6px;
  cursor: pointer;
}
