/* Comptoir Moderne : feuille de style.
   Couleurs : plâtre #F3F1EC (fond, la couleur des murs des photos), noir doux #1B1A18
   (texte, boutons pleins), gris lin #E7E3DC (fonds de photo et de bloc), grenat #8A2C35
   (seul accent : survol des boutons, pastille de la roue, prix barré, état du stock),
   filets #1B1A18 à 12 %. Police : Schibsted Grotesk (fichier local, graisses 400 à 700).
   Motion : voir la fin du fichier et motion.js. Tout le mouvement est retiré par
   prefers-reduced-motion ; sans JS, rien n'est masqué. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blanc: #F3F1EC;
  --papier: #FBFAF7;
  --noir: #1B1A18;
  --gris: #E7E3DC;
  --grenat: #8A2C35;
  --grenat-clair: #F2B8BE;
  --filet: rgba(27, 26, 24, 0.12);
  --ease-tour: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-pose: cubic-bezier(0.34, 1.4, 0.64, 1);
  --colonne: 1180px;
  --colonne-etroite: 760px;
  --gouttiere: clamp(1rem, 4vw, 2.5rem);
  /* Bornes en px : la racine est fluide, le rem seul ne garantit pas les fourchettes
     de la spécification (corps 16 à 17, H1 22 à 28, H2 24 à 30). */
  --corps: clamp(16px, 15.5px + 0.15vw, 17px);
  --h1: clamp(34px, 24px + 2.6vw, 64px);
  --h2: clamp(28px, 20px + 1.9vw, 48px);
  --h3: 1.0625rem;
  --section: clamp(48px, 6vw, 80px);
  --entete: 4.25rem;
}

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

[hidden] {
  display: none !important;
}

html {
  background: var(--blanc);
  color: var(--noir);
  font-family: "Schibsted Grotesk", Arial, Helvetica, sans-serif;
  font-size: var(--corps);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--blanc);
  color: var(--noir);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1rem;
  overflow-wrap: anywhere;
}

h1 {
  font-size: var(--h1);
}

h2 {
  font-size: var(--h2);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: var(--h3);
  margin-bottom: 0.5rem;
}

p,
ul,
ol,
dl,
address,
table {
  margin: 0 0 1rem;
}

address {
  font-style: normal;
}

a {
  color: var(--noir);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--noir);
  outline-offset: 2px;
}

strong {
  font-weight: 700;
}

s {
  text-decoration-thickness: 1px;
}

/* Toute cible d'ancre reste sous la barre BRNSG sticky et sous l'en-tête. */
[id] {
  scroll-margin-top: calc(var(--brnsg-barre, 0px) + var(--entete) + 1rem);
}

/* -------------------------------- Images --------------------------------- */
img,
picture {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0;
}

img {
  opacity: 0;
  transition: opacity 200ms;
}

img.est-chargee,
.no-js img {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  img {
    transition: none;
    opacity: 1;
  }
}

figure {
  margin: 0 0 1rem;
}

.figure {
  background: var(--gris);
}

.figure img,
.figure picture {
  width: 100%;
}

.photo-absente {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--gris);
  border: 1px solid var(--filet);
}

.photo-absente-texte {
  font-size: 0.875rem;
  text-align: center;
  padding: 0.5rem;
}

/* ------------------------------- Utilitaires ----------------------------- */
.colonne {
  width: 100%;
  max-width: calc(var(--colonne) + 2 * var(--gouttiere));
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.colonne-etroite {
  max-width: calc(var(--colonne-etroite) + 2 * var(--gouttiere));
}

.hors-ecran {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.lien-evitement {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--noir);
  color: var(--blanc);
  text-decoration: none;
}

.lien-evitement:focus {
  left: 1rem;
  top: calc(var(--brnsg-barre, 0px) + 0.5rem);
}

[data-brnsg-horaires] {
  font-size: 0.9375rem;
}

/* -------------------------------- Boutons -------------------------------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border-radius: 0;
  cursor: pointer;
}

.bouton-plein {
  background: var(--noir);
  color: var(--blanc);
  border: 1px solid var(--noir);
}

.bouton-plein:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bouton-ligne {
  background: var(--blanc);
  color: var(--noir);
  border: 1px solid var(--noir);
}

.bouton-ligne:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bouton[disabled] {
  background: var(--gris);
  color: var(--noir);
  border-color: var(--filet);
  cursor: not-allowed;
}

/* -------------------------------- Bandeau -------------------------------- */
.bandeau {
  margin: 0;
  padding: 0.55rem var(--gouttiere);
  background: var(--gris);
  border-bottom: 1px solid var(--filet);
  font-size: 0.9375rem;
  text-align: center;
}

/* -------------------------------- En-tête -------------------------------- */
.entete {
  position: sticky;
  top: var(--brnsg-barre, 0px);
  z-index: 60;
  background: var(--blanc);
  border-bottom: 1px solid var(--filet);
}

.entete-haut {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding-block: 0.75rem;
}

.entete-marque {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.entete-marque:hover {
  text-decoration: underline;
}

/* Le numéro et les liens de contact restent des cibles tactiles de 44 px. */
.entete-tel,
a[href^="tel:"],
.pied-bandeau p > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.entete-tel {
  font-weight: 700;
  white-space: nowrap;
}

.entete-recherche {
  display: flex;
  flex: 0 1 20rem;
  min-width: 0;
  margin-left: auto;
  gap: 0.5rem;
}

.entete-recherche input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  font: inherit;
  color: var(--noir);
  background: var(--blanc);
  border: 1px solid var(--noir);
  border-radius: 0;
  appearance: none;
}

.entete-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.entete-menu {
  display: none;
}

.entete-compteur {
  display: inline-block;
  min-width: 1.6rem;
  padding: 0 0.3rem;
  text-align: center;
  background: var(--noir);
  color: var(--blanc);
}

.entete-panneau {
  border-top: 1px solid var(--filet);
}

.entete-panneau-interieur {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.5rem;
  padding-block: 0.35rem;
}

.entete-nav-liens {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
}

.entete-nav-liens a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.entete-nav-liens a:hover,
.entete-nav-liens a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* -------------------------------- Sections ------------------------------- */
main {
  padding-bottom: var(--section);
}

.ouverture {
  padding-block: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.section {
  padding-top: var(--section);
}

.section-plate {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.ouverture-grille {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.ouverture-photo {
  margin: 0;
  background: var(--gris);
}

.ouverture-photo img {
  width: 100%;
}

.ouverture-nouveautes h2 {
  margin-bottom: 0.75rem;
}

.deux-colonnes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.bloc-texte p:last-child {
  margin-bottom: 0;
}

/* ------------------------------- Vignettes ------------------------------- */
.grille-vignettes {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1.75rem 1.25rem;
}

.grille-dense {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.grille-colonne {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1rem;
}

.grille-associes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vignette {
  margin: 0;
  min-width: 0;
}

.vignette-lien {
  display: block;
  text-decoration: none;
}

.vignette-lien:hover .vignette-nom {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vignette-photo {
  display: block;
  position: relative;
  background: var(--gris);
  margin-bottom: 0.6rem;
}

.vignette-photo img {
  width: 100%;
}

.vignette-survol {
  display: none;
  position: absolute;
  inset: 0;
}

.vignette-survol img,
.vignette-survol picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vignette-lien:hover .vignette-survol,
.vignette-lien:focus-visible .vignette-survol {
  display: block;
}

.vignette-nom {
  display: block;
  font-weight: 700;
}

.vignette-prix {
  display: block;
  margin-top: 0.15rem;
}

.prix {
  font-weight: 700;
}

.prix-barre {
  color: var(--grenat);
  margin-left: 0.4rem;
}

.vignette-stock {
  margin: 0.15rem 0 0;
  font-size: 0.875rem;
}

.etat-rupture,
.etat-faible {
  color: var(--grenat);
  font-weight: 700;
}

/* -------------------------------- Familles ------------------------------- */
.grille-familles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.25rem;
}

.famille {
  margin: 0;
  min-width: 0;
}

.famille-lien {
  display: block;
  text-decoration: none;
}

.famille-photo {
  display: block;
  background: var(--gris);
  margin-bottom: 0.5rem;
}

.famille-photo img,
.famille-photo picture {
  width: 100%;
}

.famille-nom {
  display: block;
  font-size: var(--h3);
  font-weight: 700;
}

.famille-lien:hover .famille-nom {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* -------------------------------- Ateliers ------------------------------- */
.liste-ateliers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  max-width: 46rem;
}

.liste-ateliers li {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--filet);
}

.liste-remises {
  list-style: none;
  margin: 0;
  padding: 0;
}

.liste-remises li {
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--filet);
}

.liste-remises p:last-child {
  margin-bottom: 0;
}

/* ------------------------------ Fiche produit ---------------------------- */
.page-fiche .fil {
  padding-block: 1rem 0;
  font-size: 0.9375rem;
}

.page-fiche .fil a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.fiche {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  padding-block: 1.5rem;
}

.fiche-galerie {
  min-width: 0;
}

.fiche-vue {
  margin: 0;
  background: var(--gris);
}

.fiche-vue img,
.fiche-vue picture {
  width: 100%;
}

.fiche-miniatures {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fiche-miniature {
  display: block;
  width: 72px;
  padding: 0;
  background: var(--gris);
  border: 1px solid var(--filet);
  border-radius: 0;
  cursor: pointer;
}

.fiche-miniature[aria-pressed="true"] {
  border-color: var(--noir);
}

.fiche-miniature img,
.fiche-miniature picture {
  width: 100%;
}

.fiche-achat {
  min-width: 0;
}

.fiche-prix {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.fiche-stock {
  margin-bottom: 1rem;
  font-weight: 700;
}

.fiche-coloris-unique {
  margin-bottom: 0.5rem;
}

.fiche-ajout {
  margin: 0.6rem 0 1.5rem;
  min-height: 1.5rem;
  font-size: 0.9375rem;
}

.fiche-sous-titre {
  font-size: var(--h3);
  margin-top: 1.5rem;
}

.fiche-caracteristiques {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  margin: 0 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--filet);
}

.fiche-caracteristiques dt {
  font-weight: 700;
}

.fiche-caracteristiques dd {
  margin: 0;
}

.fiche-remises {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fiche-remises li {
  padding-block: 0.35rem;
}

.fiche-bloc {
  padding-top: var(--section);
}

.liste-avis {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 46rem;
}

.avis {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--filet);
}

.avis p {
  margin-bottom: 0.35rem;
}

.avis-tete {
  font-weight: 700;
  font-size: 0.9375rem;
  text-wrap: pretty;
}

.avis-note {
  font-weight: 700;
}

/* ------------------------------- Collection ------------------------------ */
.filtres {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: var(--gris);
}

.filtre {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.filtre label,
.filtre legend {
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0;
}

.filtre input[type="search"],
.filtre select {
  min-height: 44px;
  padding: 0.5rem 0.65rem;
  font: inherit;
  color: var(--noir);
  background: var(--blanc);
  border: 1px solid var(--noir);
  border-radius: 0;
}

.filtre-familles {
  border: 0;
  margin: 0;
  padding: 0;
}

.cases {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
}

.case {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 400;
}

.filtre-stock {
  align-self: center;
}

.compteur {
  font-weight: 700;
}

.aucun-resultat {
  padding: 1rem;
  background: var(--gris);
}

/* --------------------------------- Panier -------------------------------- */
.panier-panneau {
  position: fixed;
  top: var(--brnsg-barre, 0px);
  right: 0;
  bottom: 0;
  z-index: 80;
  width: min(24rem, 100%);
  padding: 1rem var(--gouttiere) calc(1rem + var(--brnsg-onglet, 0px));
  overflow-y: auto;
  background: var(--blanc);
  border-left: 1px solid var(--noir);
}

.panier-panneau-tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.panier-panneau-tete h2 {
  margin: 0;
}

.panier-lignes {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.panier-ligne {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 0.75rem;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--filet);
}

.panier-ligne-nom {
  font-weight: 700;
}

.panier-ligne-coloris {
  font-weight: 400;
}

.panier-ligne-qte {
  font-size: 0.9375rem;
}

.panier-ligne button {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
}

.panier-total {
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.panier-panneau-pied .bouton {
  width: 100%;
}

.voile {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(26, 26, 26, 0.12);
}

.panier-page-lignes {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.panier-page-ligne {
  display: grid;
  grid-template-columns: 1fr auto auto auto auto;
  align-items: center;
  gap: 0.5rem 1rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--filet);
}

.panier-page-nom {
  font-weight: 700;
  min-width: 0;
}

.panier-page-qte input {
  width: 4.5rem;
  min-height: 44px;
  padding: 0.4rem 0.5rem;
  font: inherit;
  color: var(--noir);
  background: var(--blanc);
  border: 1px solid var(--noir);
  border-radius: 0;
}

.panier-page-sous-total {
  font-weight: 700;
  white-space: nowrap;
}

.panier-page-totaux {
  padding: 1rem;
  background: var(--gris);
  margin-bottom: var(--section);
}

.panier-page-totaux p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.panier-page-total {
  font-size: 1.125rem;
  font-weight: 700;
  padding-top: 0.5rem;
  border-top: 1px solid var(--filet);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.commande {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.commande-succes {
  padding: 1.5rem;
  background: var(--gris);
  margin-top: 1.5rem;
}

.commande-recap {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
}

.commande-recap li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.35rem;
  border-bottom: 1px solid var(--filet);
}

/* ------------------------------ Formulaires ------------------------------ */
.formulaire {
  max-width: 34rem;
}

.champ {
  margin-bottom: 1rem;
}

.champ label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.champ-optionnel {
  font-weight: 400;
}

.champ input,
.champ select,
.champ textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  font: inherit;
  color: var(--noir);
  background: var(--blanc);
  border: 1px solid var(--noir);
  border-radius: 0;
  appearance: none;
}

.champ textarea {
  resize: vertical;
}

.champ-coloris select {
  width: auto;
  min-width: 12rem;
}

.champ-rangee {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.champ-groupe {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.champ-groupe legend {
  font-weight: 700;
  padding: 0;
  margin-bottom: 0.4rem;
}

.radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
}

.consentement {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.consentement input {
  margin-top: 0.35rem;
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
}

.champ-erreur {
  margin: 0.3rem 0 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--grenat);
}

.formulaire-erreur {
  min-height: 1.2rem;
}

.champ-piege {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.formulaire-succes {
  padding: 1rem;
  background: var(--gris);
}

.formulaire-succes p:last-child {
  margin-bottom: 0;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--noir);
  outline-offset: 2px;
}

/* ------------------------------- Pied de page ---------------------------- */
.pied {
  margin-top: var(--section);
  padding-top: var(--section);
  border-top: 1px solid var(--filet);
  background: var(--blanc);
}

/* Deux parties : l'adresse en large colonne, le service en regard, puis la rangée
   de pages sous un filet. Pas de grille à colonnes égales. */
.pied-bandeau {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1.5rem 3rem;
  padding-bottom: 1.5rem;
}

.pied-bandeau p,
.pied-bandeau address {
  font-size: 0.9375rem;
  margin-bottom: 0.4rem;
}

/* L'adresse et les contacts se répartissent dans la colonne large. */
.pied-maison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 0 2rem;
}

.pied-nom {
  grid-column: 1 / -1;
  font-weight: 700;
  font-size: 1rem;
}

.pied-service p:last-child {
  margin-bottom: 0;
}

.pied-pages {
  padding-block: 0.25rem;
  border-top: 1px solid var(--filet);
}

.pied-pages ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
}

.pied-pages a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.pied-legal {
  padding-block: 0.75rem 2rem;
  border-top: 1px solid var(--filet);
  font-size: 0.875rem;
}

.pied-legal p {
  margin-bottom: 0.35rem;
}

.pied-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* -------------------------- Pages légales et 404 ------------------------- */
.page-legale,
.page-404 {
  max-width: calc(var(--colonne-etroite) + 2 * var(--gouttiere));
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.5rem) var(--gouttiere) var(--section);
}

.page-legale h2 {
  font-size: var(--h3);
  margin-top: 2rem;
}

.page-legale ul {
  padding-left: 1.2rem;
}

.page-404 .bouton {
  margin-block: 0.5rem;
}

/* ------------------------------- Responsive ------------------------------ */
@media (max-width: 900px) {
  .pied-maison {
    grid-template-columns: 1fr;
  }

  .pied-bandeau,
  .ouverture-grille,
  .deux-colonnes,
  .fiche,
  .grille-familles {
    grid-template-columns: 1fr;
  }

  .grille-colonne {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .panier-page-ligne {
    grid-template-columns: 1fr auto;
  }

  .panier-page-nom {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .entete-menu {
    display: inline-flex;
  }

  .entete-panneau {
    display: none;
  }

  .entete-panneau.est-ouverte {
    display: block;
  }

  .no-js .entete-panneau {
    display: block;
  }

  .entete-panneau-interieur {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 0 0.75rem;
  }

  .entete-nav-liens {
    flex-direction: column;
    gap: 0;
    padding-block: 0.25rem;
  }

  .entete-marque {
    flex: 1 1 auto;
  }

  .entete-recherche {
    flex: 1 1 auto;
    margin-left: 0;
  }

  .entete-actions {
    margin-left: 0;
  }

  .grille-associes {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .champ-rangee {
    grid-template-columns: 1fr;
  }

  .fiche-caracteristiques {
    grid-template-columns: 1fr;
    gap: 0 0;
  }

  .fiche-caracteristiques dd {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 560px) {
  .grille-dense {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .panier-panneau {
    width: 100%;
  }

  .filtres {
    flex-direction: column;
    align-items: stretch;
  }

  .filtre input[type="search"],
  .filtre select {
    width: 100%;
  }
}

/* Sous 400 px, l'en-tête collant tient en deux rangées : marque et téléphone,
   puis les boutons. La recherche est repliée dans le panneau. */
@media (max-width: 400px) {
  .entete-haut {
    gap: 0.5rem 1rem;
  }

  .entete-marque {
    flex: 0 1 auto;
  }

  .entete-tel {
    margin-left: auto;
  }

  .entete-actions {
    flex: 1 1 100%;
  }
}

/* ======================================================================== */
/*  Couche visuelle 2026-10 : composition, typographie, matières, motion.   */
/*  Le motion est porté par motion.js (GSAP, ScrollTrigger, SplitText,      */
/*  Lenis). La geste de la boutique : la roue du potier (révélations en     */
/*  cercle, pastille qui tourne avec le scroll) et l'objet posé sur         */
/*  l'étagère (cartes qui se posent, planche qui se trace).                 */
/* ======================================================================== */

:root {
  --section: clamp(60px, 7.5vw, 116px);
  accent-color: var(--noir);
  scrollbar-color: var(--noir) var(--gris);
}

::selection {
  background: var(--grenat);
  color: var(--papier);
}

h1,
h2 {
  font-weight: 650;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  line-height: 1.02;
}

h2 {
  line-height: 1.06;
}

main h1 {
  margin-top: clamp(1.75rem, 4.5vw, 4rem);
  margin-bottom: clamp(1rem, 2vw, 1.75rem);
}

:focus-visible {
  outline-color: var(--grenat);
  outline-offset: 3px;
}

/* ---------------------------- Liens et boutons ---------------------------- */
.lien-anime {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(50% + 0.75em) / 100% 1px;
  transition: background-size 0.6s var(--ease-tour), color 0.3s;
}

.lien-anime:hover {
  background-size: 0 1px;
  background-position-x: 100%;
  text-decoration: none;
}

.lien-anime::after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.45em;
  transition: transform 0.5s var(--ease-tour);
}

.lien-anime:hover::after {
  transform: translateX(0.3em);
}

.entete-nav-liens a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 10px;
  transition: text-underline-offset 0.4s var(--ease-tour), text-decoration-color 0.4s;
}

.entete-nav-liens a:hover,
.entete-nav-liens a[aria-current="page"] {
  text-decoration-color: currentColor;
  text-underline-offset: 5px;
}

.bouton {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  letter-spacing: -0.005em;
  transition: color 0.45s var(--ease-tour), border-color 0.45s var(--ease-tour), background-color 0.3s;
}

.bouton::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--grenat);
  transform: translateY(101%);
  transition: transform 0.55s var(--ease-tour);
}

.bouton-ligne::before {
  background: var(--noir);
}

.bouton:hover,
.bouton-plein:hover,
.bouton-ligne:hover {
  text-decoration: none;
}

.bouton:hover::before,
.bouton:focus-visible::before {
  transform: translateY(0);
}

.bouton-plein:hover {
  border-color: var(--grenat);
}

.bouton-ligne {
  background: transparent;
}

.bouton-ligne:hover,
.bouton-ligne:focus-visible {
  color: var(--blanc);
}

.bouton-ligne:hover .entete-compteur {
  background: var(--blanc);
  color: var(--noir);
}

.bouton[disabled]::before {
  display: none;
}

.bouton-aimant {
  will-change: transform;
}

/* -------------------------------- En-tête -------------------------------- */
.entete {
  background: color-mix(in srgb, var(--blanc) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
  transition: transform 0.55s var(--ease-tour), box-shadow 0.4s;
}

.entete.entete-defile {
  box-shadow: 0 18px 40px -32px rgba(27, 26, 24, 0.45);
}

.entete.entete-cachee {
  transform: translateY(-101%);
}

.entete-marque {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.entete-marque:hover {
  text-decoration: none;
  color: var(--grenat);
}

.entete-recherche input {
  background: var(--papier);
  border-color: var(--filet);
  transition: border-color 0.3s;
}

.entete-recherche input:hover,
.entete-recherche input:focus {
  border-color: var(--noir);
}

.entete-compteur {
  transition: transform 0.4s var(--ease-pose), background-color 0.3s;
}

.bandeau {
  background: var(--gris);
  color: var(--noir);
  border-bottom: 1px solid var(--filet);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}

/* ------------------------------- Ouverture ------------------------------- */
.ouverture {
  padding-block: clamp(1.75rem, 3.5vw, 3.25rem) 0;
}

.ouverture-titre {
  margin: 0;
  font-size: clamp(2.55rem, 0.9rem + 5.6vw, 6.25rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  max-width: 13em;
}

.ouverture-infos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: clamp(1.25rem, 2.5vw, 2.25rem);
  padding-top: 1rem;
  border-top: 1px solid var(--filet);
}

.ouverture-infos p {
  margin: 0;
}

.ouverture-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
}

.ouverture-photo {
  position: relative;
  margin: clamp(2.25rem, 4.5vw, 4rem) 0 0;
  background: none;
}

.ouverture-cadre {
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  background: var(--gris);
}

.ouverture-cadre picture,
.ouverture-cadre img {
  width: 100%;
  height: 100%;
}

.ouverture-cadre img {
  object-fit: cover;
  object-position: 50% 60%;
}

.roue {
  position: absolute;
  top: 0;
  right: clamp(1.25rem, 12vw, 11rem);
  z-index: 2;
  width: clamp(104px, 11vw, 164px);
  aspect-ratio: 1;
  margin-top: calc(clamp(104px, 11vw, 164px) * -0.3);
  border-radius: 50%;
  background: var(--grenat);
  color: var(--papier);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 40px -24px rgba(27, 26, 24, 0.6);
}

.roue-texte {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.roue-texte text {
  fill: currentColor;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roue-centre {
  position: relative;
  font-size: clamp(0.66rem, 0.5rem + 0.3vw, 0.8rem);
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
}

/* -------------------------------- Sections ------------------------------- */
.section-tete {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-bottom: clamp(1.25rem, 3vw, 2.25rem);
}

.section-tete h2 {
  margin: 0;
}

.grille-quatre {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem clamp(1rem, 2vw, 1.75rem);
}

.grille-etagere {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem clamp(1rem, 2vw, 1.75rem);
}

.grille-dense {
  gap: 2.25rem clamp(1rem, 2vw, 1.5rem);
}

/* ------------------------------- Vignettes ------------------------------- */
.vignette-photo {
  overflow: hidden;
  margin-bottom: 0.85rem;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-tour), box-shadow 0.6s var(--ease-tour);
}

.vignette-photo > picture img,
.vignette-photo > img {
  transition: opacity 200ms, transform 1s var(--ease-tour);
}

.vignette-lien:hover .vignette-photo > picture img {
  transform: scale(1.045);
}

.vignette-lien:hover .vignette-photo {
  box-shadow: 0 30px 50px -36px rgba(27, 26, 24, 0.55);
}

.vignette-survol,
.vignette-lien:hover .vignette-survol,
.vignette-lien:focus-visible .vignette-survol {
  display: block;
  opacity: 0;
  transition: opacity 0.6s var(--ease-tour);
}

.vignette-lien:hover .vignette-survol,
.vignette-lien:focus-visible .vignette-survol {
  opacity: 1;
}

/* Reflet du verre : une lumière suit le pointeur sur la photo. */
.vignette-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, 0.32), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s;
}

.vignette-lien:hover .vignette-photo::after {
  opacity: 1;
}

.vignette-nom {
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.vignette-lien:hover .vignette-nom {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.vignette-stock {
  color: rgba(27, 26, 24, 0.68);
}

.vignette-stock.etat-rupture,
.vignette-stock.etat-faible {
  color: var(--grenat);
}

/* -------------------------------- Familles ------------------------------- */
.grille-familles {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.famille-1 {
  grid-row: span 2;
}

.famille-lien {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  background: var(--gris);
  color: var(--papier);
}

.famille-photo {
  margin: 0;
  aspect-ratio: 16 / 10;
}

.famille-1 .famille-photo {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

.famille-photo picture,
.famille-photo img {
  width: 100%;
  height: 100%;
}

.famille-photo img {
  object-fit: cover;
  transition: opacity 200ms, transform 1.2s var(--ease-tour);
}

.famille-lien:hover .famille-photo img {
  transform: scale(1.06);
}

.famille-legende {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.25rem 1rem;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  background: linear-gradient(to top, rgba(27, 26, 24, 0.78), rgba(27, 26, 24, 0.35) 60%, transparent);
}

.famille-nom {
  grid-column: 1;
  font-size: clamp(1.6rem, 1rem + 2vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1;
}

.famille-lien:hover .famille-nom {
  text-decoration: none;
}

.famille-texte {
  grid-column: 1;
  max-width: 34ch;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.famille-fleche {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1.15rem;
  transition: transform 0.6s var(--ease-tour), background-color 0.4s, color 0.4s;
}

.famille-lien:hover .famille-fleche {
  transform: rotate(-45deg);
  background: var(--papier);
  color: var(--noir);
}

/* ------------------------------ Bande matières ---------------------------- */
.bande {
  margin-top: var(--section);
  padding-block: clamp(1.25rem, 3vw, 2.25rem);
  overflow: hidden;
  border-block: 1px solid var(--filet);
}

.bande-piste {
  display: flex;
  width: max-content;
  animation: cm-bande 46s linear infinite;
}

.bande-gsap .bande-piste {
  animation: none;
}

.bande-groupe {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  margin: 0;
}

.bande-item {
  padding-inline: 0.4em;
  font-size: clamp(2.2rem, 0.8rem + 5.4vw, 6rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.1;
  white-space: nowrap;
}

.bande-groupe .bande-item:nth-child(4n + 3) {
  color: transparent;
  -webkit-text-stroke: 1.2px var(--noir);
}

.bande-point {
  flex: 0 0 auto;
  width: clamp(12px, 1.3vw, 20px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--grenat);
}

@keyframes cm-bande {
  to {
    transform: translateX(-50%);
  }
}

/* -------------------------------- Étagère -------------------------------- */
.etagere-tete .arrivage,
.etagere-tete p {
  max-width: 60ch;
}

.etagere-planche {
  display: block;
  height: 3px;
  margin: 0.25rem 0 2rem;
  background: var(--noir);
  transform-origin: 0 50%;
}

.etagere-active .etagere-fenetre {
  overflow: hidden;
}

.etagere-active .etagere-piste {
  max-width: none;
  padding-inline: max(var(--gouttiere), calc((100vw - var(--colonne)) / 2));
  width: max-content;
}

.etagere-active .grille-etagere {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  width: max-content;
  margin-bottom: 1rem;
}

.etagere-active .grille-etagere .vignette {
  width: clamp(230px, 21vw, 300px);
}

/* ---------------------------------- Avis --------------------------------- */
.avis-tete-section {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-bottom: 0.5rem;
}

.avis-tete-section h2 {
  margin: 0;
  max-width: 14ch;
}

.avis-chiffre {
  margin: 0;
  font-size: clamp(4.5rem, 2rem + 9vw, 10rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.82;
}

.avis-sur {
  font-size: 0.32em;
  letter-spacing: -0.02em;
  color: rgba(27, 26, 24, 0.55);
}

.avis-note {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section-avis .liste-avis {
  max-width: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.section-avis .avis {
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: var(--papier);
  border-bottom: 0;
  border-top: 2px solid var(--noir);
  transition: transform 0.6s var(--ease-tour), box-shadow 0.6s var(--ease-tour);
}

.section-avis .avis:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -40px rgba(27, 26, 24, 0.5);
}

.section-avis .avis p:last-child {
  font-size: 1.0625rem;
  line-height: 1.5;
}

/* -------------------------------- Ateliers ------------------------------- */
.section-ateliers .liste-ateliers {
  max-width: none;
  gap: 0;
  border-top: 1px solid var(--noir);
}

.atelier {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.5rem 2rem;
  padding-block: clamp(1.25rem, 3vw, 2.25rem);
}

.liste-ateliers .atelier {
  padding-bottom: clamp(1.25rem, 3vw, 2.25rem);
}

.atelier::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--grenat);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.8s var(--ease-tour);
}

.atelier:hover::before {
  transform: scaleX(1);
}

.atelier-nom {
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.4rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.05;
  transition: transform 0.6s var(--ease-tour);
}

.atelier:hover .atelier-nom {
  transform: translateX(0.4rem);
}

.atelier-ville {
  font-weight: 400;
  color: rgba(27, 26, 24, 0.55);
}

.atelier-texte {
  align-self: center;
}

/* ------------------------- Boutique, figures larges ----------------------- */
.section-boutique .figure,
.figure-large {
  overflow: hidden;
}

.figure-large {
  margin-block: 1.5rem;
}

.section-boutique .deux-colonnes {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
}

.section-boutique .figure {
  margin: 0;
}

.section-boutique .bloc-texte h2 {
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .section-boutique .deux-colonnes {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------- Newsletter ------------------------------ */
.section-newsletter {
  margin-top: var(--section);
  padding-block: clamp(4rem, 9vw, 8rem);
  background: var(--noir);
  color: var(--blanc);
}

.section-newsletter .colonne {
  max-width: calc(var(--colonne) + 2 * var(--gouttiere));
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.section-newsletter h2 {
  font-size: clamp(2.4rem, 1rem + 4.6vw, 5.25rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

.section-newsletter .formulaire,
.section-newsletter .formulaire-succes {
  grid-column: 2;
  grid-row: 1 / span 8;
  align-self: center;
  max-width: none;
}

.section-newsletter a {
  color: var(--blanc);
}

.section-newsletter .champ input {
  background: var(--blanc);
  border-color: var(--blanc);
  min-height: 52px;
}

.section-newsletter .bouton-plein {
  background: var(--blanc);
  color: var(--noir);
  border-color: var(--blanc);
}

.section-newsletter .bouton-plein:hover {
  color: var(--blanc);
  border-color: var(--grenat);
}

.section-newsletter .champ-erreur {
  color: var(--grenat-clair);
}

.section-newsletter :focus-visible,
.section-newsletter input:focus-visible {
  outline-color: var(--blanc);
}

.section-newsletter .formulaire-succes {
  background: rgba(243, 241, 236, 0.08);
}

.section-newsletter .consentement input {
  accent-color: var(--grenat);
}

main:has(> .section-newsletter:last-child) {
  padding-bottom: 0;
}

/* ------------------------------- Pied de page ---------------------------- */
.pied {
  background: var(--noir);
  color: var(--blanc);
  border-top: 1px solid rgba(243, 241, 236, 0.14);
}

main:has(> .section-newsletter:last-child) + .pied {
  margin-top: 0;
}

.pied a {
  color: var(--blanc);
}

.pied :focus-visible {
  outline-color: var(--blanc);
}

.pied-pages,
.pied-legal {
  border-top-color: rgba(243, 241, 236, 0.14);
}

.pied-enseigne {
  overflow: hidden;
  padding-top: clamp(1rem, 3vw, 2.5rem);
}

.pied-enseigne-texte {
  margin: 0;
  font-size: min(9.4vw, 8.5rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.86;
  white-space: nowrap;
  color: var(--blanc);
  padding-bottom: 0.18em;
}

/* --------------------------- Fiche et collection -------------------------- */
.fiche h1 {
  margin-top: 0;
  font-size: clamp(2rem, 1.1rem + 2.8vw, 3.75rem);
  letter-spacing: -0.045em;
}

.fiche-prix {
  font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.85rem);
  letter-spacing: -0.02em;
}

#ajouter-panier {
  min-width: min(100%, 18rem);
  min-height: 56px;
  font-size: 1.0625rem;
}

.fiche-vue {
  overflow: hidden;
}

.fiche-miniature {
  transition: border-color 0.3s, transform 0.5s var(--ease-tour);
}

.fiche-miniature:hover {
  transform: translateY(-3px);
  border-color: var(--noir);
}

.filtres {
  background: var(--papier);
  border: 1px solid var(--filet);
}

.filtre-stock {
  flex-direction: row;
}

.filtre input[type="search"],
.filtre select {
  background: var(--papier);
}

.page-fiche .fil a {
  text-decoration-color: rgba(27, 26, 24, 0.35);
}

/* --------------------------- Bulle du curseur ---------------------------- */
.curseur-bulle {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 55;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: -44px 0 0 -44px;
  border-radius: 50%;
  background: var(--grenat);
  color: var(--papier);
  font-size: 0.875rem;
  font-weight: 650;
  pointer-events: none;
  transform: scale(0);
}

/* --------------------------- Transitions de page -------------------------- */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: cm-page-sortie 0.4s var(--ease-tour) both;
}

::view-transition-new(root) {
  animation: cm-page-entree 0.75s var(--ease-tour) both;
}

@keyframes cm-page-sortie {
  to {
    opacity: 0;
    transform: scale(0.985);
  }
}

@keyframes cm-page-entree {
  from {
    clip-path: circle(0% at 50% 62%);
  }
  to {
    clip-path: circle(150% at 50% 62%);
  }
}

/* ------------------------- États initiaux du motion ----------------------- */
/* Posés seulement par la classe js-motion (amorce dans le head), retirés par
   motion.fait dès que motion.js tient les éléments en style en ligne. */
.js-motion:not(.motion-fait) [data-motion="titre"],
.js-motion:not(.motion-fait) [data-motion="infos"],
.js-motion:not(.motion-fait) .roue {
  opacity: 0;
}

.js-motion:not(.motion-fait) .ouverture-photo .ouverture-cadre,
.js-motion:not(.motion-fait) [data-motion="tour"]:not(.ouverture-photo) {
  clip-path: circle(0% at 50% 60%);
}

.js-motion:not(.motion-fait) [data-motion="fiche"] {
  clip-path: inset(0 0 100% 0);
}

.js-motion:not(.motion-fait) .fiche-achat > :not(h1),
.js-motion:not(.motion-fait) [data-motion="grille"] > .vignette:not([hidden]) {
  opacity: 0;
}

/* ------------------------------- Responsive ------------------------------ */
@media (max-width: 1000px) {
  .grille-quatre {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .grille-familles {
    grid-template-columns: 1fr;
  }

  .famille-1 {
    grid-row: auto;
  }

  .famille-1 .famille-photo {
    position: static;
    aspect-ratio: 4 / 3;
  }

  .section-newsletter .colonne {
    grid-template-columns: 1fr;
  }

  .section-newsletter .formulaire,
  .section-newsletter .formulaire-succes {
    grid-column: 1;
    grid-row: auto;
    margin-top: 1rem;
  }

  .atelier {
    grid-template-columns: 1fr;
  }

  .grille-etagere {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ouverture-cadre {
    aspect-ratio: 4 / 3;
  }

  .ouverture-infos {
    flex-direction: column;
    align-items: flex-start;
  }

  .grille-quatre,
  .grille-etagere {
    gap: 1.75rem 0.85rem;
  }

  .vignette-nom {
    font-size: 1rem;
  }

  .famille-texte {
    font-size: 0.875rem;
  }

  .famille-fleche {
    width: 2.5rem;
    height: 2.5rem;
  }

  .bandeau {
    font-size: 0.8125rem;
  }
}

/* --------------------------- Mouvement réduit ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .bande-piste {
    flex-wrap: wrap;
    width: auto;
  }

  .bande-groupe[aria-hidden="true"] {
    display: none;
  }

  .bande-groupe {
    flex-wrap: wrap;
    flex-shrink: 1;
    min-width: 0;
    row-gap: 0.5rem;
    padding-inline: var(--gouttiere);
  }

  .bande-groupe > :nth-child(n + 7) {
    display: none;
  }

  .bande-item,
  .bande-groupe .bande-item:nth-child(4n + 3) {
    white-space: normal;
    font-size: clamp(1.5rem, 1rem + 2.6vw, 3rem);
    color: var(--noir);
    -webkit-text-stroke: 0;
  }
}

/* Une section à colonne posée dans une colonne (avis et ateliers de la page boutique)
   garde l'alignement de la page. */
.colonne .colonne {
  padding-inline: 0;
}
