/* anna. : reproduction de norafurniture.framer.website (local uniquement) */

@font-face {
  font-family: "Arimo";
  src: url("../fonts/arimo-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --encre: #33342F;
  --papier: #F7F8F4;
  --panneau: #E4E4E2;
  --panneau-2: #E2E2E2;
  --pied: #EDEDE9;
  --gris: #6C6B67;     /* #84837E dans le modèle, foncé pour atteindre 4,5:1 sur le pied de page */
  --inactif: #6C6B67;  /* #B4B3AE dans le modèle, foncé pour la même raison */
  --corps: #5D5C58;
  --detail: #55544F;
  --filet: rgba(51, 52, 47, 0.14);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-menu: cubic-bezier(0.44, 0, 0.56, 1);
  --marge: 32px;
  --police: "Arimo", Arial, sans-serif;
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--police);
  font-size: 14px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, p, ol, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 400; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 1px solid var(--encre); outline-offset: 3px; }
.visuellement-cache {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* Titres de section (54 / 44 / 34) */
.titre {
  font-size: 54px;
  line-height: 0.96em;
  letter-spacing: -0.06em;
}
.etiquette-12 { font-size: 13px; line-height: 18.2px; color: var(--gris); }
.etiquette-13 { font-size: 13px; line-height: 18.2px; color: var(--gris); }

.lien-souligne {
  font-size: 15px;
  line-height: 20.25px;
  letter-spacing: -0.01em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 0.3s var(--ease-menu), text-decoration-color 0.3s var(--ease-menu);
}
@media (hover: hover) { .lien-souligne:hover { color: var(--gris); } }
/* Comme l'original : le cadre du lien coupe son soulignement, qui ne se voit pas */
.lien-rogne { display: inline-block; overflow: hidden; vertical-align: top; }
/* « a » puis « n » : avec l'interlettrage serré du logo, la queue du a touchait le n */
.a-n { letter-spacing: -0.035em; }

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 24px;
  background: var(--encre);
  color: var(--papier);
  font-size: 14px;
  white-space: nowrap;
}
.bouton-clair {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  background: var(--papier);
  color: var(--encre);
  font-size: 13px;
  white-space: nowrap;
}
.bouton-contour {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  box-shadow: inset 0 0 0 1px var(--encre);
  font-size: 14px;
  line-height: 16.8px;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease-menu), color 0.3s var(--ease-menu);
}
@media (hover: hover) {
  .bouton-contour:hover { background: var(--encre); color: var(--papier); }
}

/* ---------- Navigation ---------- */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
}
.nav-barre {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
  padding: 0 32px;
}
.nav-gauche, .nav-droite { flex: 1 1 0; display: flex; align-items: center; }
.nav-droite { justify-content: flex-end; gap: 26px; }
.logo {
  font-size: 27px;
  line-height: 27px;
  letter-spacing: -0.075em;
}
.nav-liens { display: flex; align-items: center; justify-content: center; gap: 30px; }
.nav-liens a, .nav-droite a, .nav-menu {
  font-size: 14px;
  line-height: 16.8px;
  transition: color 0.3s var(--ease-menu);
}
@media (hover: hover) {
  .nav-liens a:hover, .nav-droite a:hover, .menu-mobile a:hover, .pied-liens a:hover { color: var(--gris); }
}
.nav-menu {
  display: none;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-mobile { display: none; }

/* ---------- Héros ---------- */
.heros {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 32px 32px 76px;
  background: var(--panneau);
  overflow: hidden;
}
.heros-image { position: absolute; inset: 0; overflow: hidden; background: var(--panneau); }
.heros-cadre {
  position: absolute;
  inset: 0;
  clip-path: inset(49.8% 0% 49.8% 0%);
  transition: clip-path 1.8s var(--ease) 0.2s;
}
.heros-cadre img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 58%;
  transform: scale(1.06);
  transform-origin: 46% 58%;
  transition: transform 3.06s var(--ease) 0.2s;
}
.heros.ouvert .heros-cadre { clip-path: inset(0% 0% 0% 0%); }
.heros.ouvert .heros-cadre img { transform: scale(1); }
.heros-voile {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38%;
  background: linear-gradient(rgba(247, 248, 244, 0) 0%, rgba(247, 248, 244, 0.35) 55%, rgba(247, 248, 244, 0.7) 100%);
  opacity: 0.001;
  animation: voile 1.4s var(--ease) 1.3s forwards;
  pointer-events: none;
}
@keyframes voile { to { opacity: 1; } }
.heros h1, .heros .lien-souligne { position: relative; z-index: 1; }
.heros h1 {
  font-size: 15px;
  line-height: 20.25px;
  letter-spacing: -0.01em;
}

/* ---------- Liste produits (Product Index) ---------- */
.pieces {
  container-type: inline-size;
  height: 100vh;
  padding: 32px;
}
.index {
  height: 100%;
  max-width: 1600px;
  margin: 0 auto;
}
.index-gauche, .index-photo { min-height: 0; }
.index {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 32px;
  font-size: 14px;
  line-height: 19.6px;
}
.index-gauche { display: flex; flex-direction: column; }
.index-etiquette { font-size: 12px; color: var(--gris); }
.index-liste { list-style: none; margin: auto 0; padding: 0; }
.index-liste button {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  color: var(--inactif);
  transition: color 0.5s;
}
.index-liste button[aria-pressed="true"] { color: var(--encre); }
.index-liste button:focus-visible { outline: 1px solid var(--encre); outline-offset: 2px; }
.index-num, .index-prix { font-variant-numeric: tabular-nums; }
.index-num { font-size: 12px; }
.index-nom {
  font-size: var(--nom, 40px);
  line-height: 1.1em;
  letter-spacing: -0.045em;
}
.index-prix { font-size: 14px; }
.index-pied { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.index-note { font-size: 12px; color: var(--gris); }
.index-photo {
  position: relative;
  overflow: hidden;
  background: var(--panneau);
}
.index-photo img {
  position: absolute;
  left: 0; top: 0;
  max-width: none;
  transform-origin: 0 0;
  opacity: 0;
  transition: transform 1.2s var(--ease), opacity 0.9s ease;
}
.index-photo img.actif { opacity: 1; }
.index-legende {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}
.index-collection { font-weight: 500; }
.index-details { color: var(--detail); margin-right: auto; }
@container (max-width: 999.98px) { .index-nom { font-size: calc(var(--nom, 40px) * 0.78); } }
@container (max-width: 639.98px) {
  .index-nom { font-size: calc(var(--nom, 40px) * 0.7); }
  .index { height: auto; grid-template-columns: 1fr; }
  .index-gauche { order: 2; }
  .index-photo { order: 1; aspect-ratio: 4 / 5; }
  .index-liste { margin: 16px 0 28px; }
}

/* ---------- Collections ---------- */
.collections {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 96px;
  padding: 160px 32px 140px;
}
.intro {
  width: 640px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.intro p {
  width: 470px;
  max-width: 100%;
  font-size: 15px;
  line-height: 22.5px;
  color: var(--corps);
}
.collections-grille {
  width: 100%;
  max-width: 1600px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.collection { display: flex; flex-direction: column; gap: 18px; }
.collection h3 {
  font-size: 40px;
  line-height: 1em;
  letter-spacing: -0.06em;
  text-align: center;
}
.collection-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--panneau); }
.collection-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
@media (hover: hover) {
  .collection:hover .collection-photo img { transform: scale(1.04); }
}
.collection-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  line-height: 18.2px;
  color: var(--gris);
}
.collection-lien { color: var(--encre); }
.collection p { font-size: 15px; line-height: 22.5px; color: var(--corps); }

/* ---------- Nouveautés ---------- */
.nouveautes {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 32px 0;
}
.nouveautes-tete, .produits, .tete-ligne, .articles, .pied-haut, .pied-bas, .mot-symbole {
  width: 100%;
  max-width: 1600px;
}
.nouveautes-tete {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 64px;
}
.nouveautes-titre, .tete-titre { display: flex; flex-direction: column; gap: 18px; }
.filtres { display: flex; align-items: center; gap: 26px; }
.filtre {
  position: relative;
  padding: 0 0 8px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 15px;
  line-height: 20.25px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.filtre::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--encre);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.filtre[aria-pressed="true"]::after { opacity: 1; }

.produits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 52px 20px;
}
.produit { display: flex; flex-direction: column; gap: 8px; }
/* Apparition : accueil 48 px en 1,1 s rejouée à chaque passage ; boutique 40 px en 1 s, une fois ; fiches, aucune */
.produits[data-apparition] .produit {
  opacity: 0;
  transform: translateY(var(--monte, 48px));
  transition: opacity var(--duree, 1.1s) var(--ease), transform var(--duree, 1.1s) var(--ease);
}
.produits[data-apparition="une-fois"] { --monte: 40px; --duree: 1s; }
.produits[data-apparition] .produit.vu { opacity: 1; transform: none; }
.produit[hidden] { display: none; }
.produit-photo {
  position: relative;
  aspect-ratio: 0.8;
  overflow: hidden;
  background: var(--panneau);
}
.produit-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.produit-nouveau {
  position: absolute;
  left: 14px; top: 14px;
  font-size: 13px;
  line-height: 18.2px;
}
.produit-ajout {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.produit-barre {
  width: 100%;
  height: 0;
  overflow: clip;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  background: var(--papier);
  font-size: 14px;
  line-height: 16.8px;
  white-space: nowrap;
  transition: height 0.7s var(--ease);
}
@media (hover: hover) {
  .produit:hover .produit-photo img { transform: scale(1.045); }
  .produit:hover .produit-barre { height: 44px; }
}
.produit-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  font-size: 15px;
  line-height: 20.25px;
  letter-spacing: -0.01em;
}
.produit-sous {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  line-height: 18.2px;
  color: var(--gris);
}
.pastilles { display: flex; gap: 5px; }
.pastilles i { width: 9px; height: 9px; border-radius: 99px; background: #D2AE88; }
.pastilles i:nth-child(2) { background: #8E6A4C; }
.pastilles i:nth-child(3) { background: #3A3530; }
.nouveautes-pied { padding-top: 64px; }

/* ---------- Anatomie ---------- */
.anatomie-section { container-type: inline-size; padding-top: 140px; --pad: 32px; }
.anatomie {
  position: relative;
  width: 100%;
  height: calc(100vh + 320vh);
  font-size: 14px;
  line-height: 21px;
}
.anatomie-scene {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: var(--pad);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(32px, 6vw, 110px);
}
.anatomie-panneau {
  position: relative;
  overflow: hidden;
  background: var(--panneau-2);
  aspect-ratio: 4 / 5;
  height: calc(100vh - 2 * var(--pad));
  align-self: center;
}
.anatomie-panneau > img {
  position: absolute;
  left: 0; top: 0;
  max-width: none;
  transform-origin: 0 0;
  will-change: transform;
}
.repere { position: absolute; left: 0; top: 0; pointer-events: none; }
.repere-anneau {
  position: absolute;
  left: -22px; top: -22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--encre);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.5s, transform 0.7s var(--ease);
}
.repere-trait {
  position: absolute;
  left: 22px; top: 0;
  width: 72px; height: 1px;
  background: var(--encre);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.6s var(--ease) 0.15s;
}
.repere-etiquette {
  position: absolute;
  left: 104px; top: -11px;
  white-space: nowrap;
  font-size: 12px;
  line-height: 14px;
  padding: 4px 9px;
  background: var(--papier);
  opacity: 0;
  transition: opacity 0.4s 0.3s;
}
.repere.zoom .repere-anneau { opacity: 1; transform: scale(1); }
.repere.zoom .repere-trait { transform: scaleX(1); }
.repere.zoom .repere-etiquette { opacity: 1; }
.anatomie-texte {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  max-width: 560px;
  padding: 8px 0 4px;
}
.anatomie-etiquette { margin: 0 0 18px; font-size: 12px; color: var(--gris); }
.anatomie h2 {
  font-size: 56px;
  line-height: 0.98em;
  letter-spacing: -0.06em;
}
.etapes { list-style: none; padding: 0; }
.etapes li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--filet);
  color: var(--inactif);
  transition: color 0.6s;
}
.etapes li:last-child { border-bottom: 1px solid var(--filet); }
.etapes li.actif { color: var(--encre); }
.etape-num { font-size: 12px; padding-top: 6px; font-variant-numeric: tabular-nums; }
.etapes h3 { font-size: 22px; letter-spacing: -0.03em; line-height: 1.2; }
.etape-corps {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.7s var(--ease), opacity 0.5s;
}
.etapes li.actif .etape-corps { grid-template-rows: 1fr; opacity: 1; }
.etape-corps p {
  min-height: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
  color: var(--corps);
  max-width: 400px;
  padding-top: 8px;
}
.anatomie-produit {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px;
}
.anatomie-nom { display: block; font-size: 15px; }
.anatomie-details { display: block; font-size: 13px; color: var(--gris); }
.anatomie-prix { font-size: 15px; font-variant-numeric: tabular-nums; }
.anatomie-progression { height: 1px; background: var(--filet); overflow: hidden; }
.anatomie-progression div {
  height: 100%;
  background: var(--encre);
  transform-origin: left;
  transform: scaleX(0);
}
@container (max-width: 1099.98px) {
  .anatomie-panneau { height: min(calc(100vh - 2 * var(--pad)), 62.5cqw); }
  .anatomie h2 { font-size: 42px; }
  .anatomie-produit { grid-template-columns: 1fr auto; gap: 14px 20px; }
  .anatomie-produit .bouton { grid-column: 1 / -1; }
}
@container (max-width: 639.98px) {
  .anatomie { height: auto; }
  .anatomie-scene { position: relative; height: auto; grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .anatomie-panneau { width: 100%; height: auto; }
  .anatomie-progression { display: none; }
  .anatomie h2 { font-size: 34.72px; }
  .anatomie-produit { grid-template-columns: 1fr auto auto; gap: 20px; }
  .anatomie-produit .bouton { grid-column: auto; }
}

/* ---------- Matières ---------- */
.matieres-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  padding: 160px 32px 0;
}
.tete-ligne {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.tete-intro {
  width: 420px;
  flex-shrink: 0;
  font-size: 15px;
  line-height: 22.5px;
  color: var(--corps);
}
.matieres {
  container-type: inline-size;
  width: 100%;
  max-width: 1600px;
}
.matieres-liste {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 48px 12px;
  font-size: 14px;
  line-height: 20.3px;
}
.matiere { display: grid; align-content: start; gap: 10px; }
.matiere-tuile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--panneau-2);
  clip-path: inset(49.8% 0% 49.8% 0%);
  transition: clip-path 1.4s var(--ease) var(--retard, 0s);
}
.matieres.vu .matiere-tuile { clip-path: inset(0% 0% 0% 0%); }
.matiere-tuile img {
  position: absolute;
  left: 0; top: 0;
  max-width: none;
  transform-origin: 0 0;
  transition: transform 1.3s var(--ease);
}
.matiere-bandeau {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: 40px;
  background: var(--papier);
  font-size: 13px;
  clip-path: inset(50% 0% 50% 0%);
  opacity: 0;
  transition: clip-path 0.7s var(--ease), opacity 0.2s 0.5s;
}
.matiere-bandeau span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.matiere.ouvert .matiere-bandeau { clip-path: inset(0% 0% 0% 0%); opacity: 1; transition: clip-path 0.7s var(--ease), opacity 0.2s 0s; }
.matiere-nom { display: flex; align-items: baseline; gap: 10px; padding-top: 6px; }
.matiere-nom span:first-child { font-size: 12px; color: var(--gris); font-variant-numeric: tabular-nums; }
.matiere-nom span:last-child { font-size: 22px; line-height: 1.2; letter-spacing: -0.03em; }
.matiere p { font-size: 14px; line-height: 1.45; color: var(--corps); max-width: 260px; }
@container (max-width: 999.98px) {
  .matieres-liste {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .matieres-liste::-webkit-scrollbar { display: none; }
  .matiere { flex: 0 0 38%; scroll-snap-align: start; }
}
@container (max-width: 639.98px) { .matiere { flex-basis: 72%; } }

/* ---------- Engagements ---------- */
.promesses {
  display: grid;
  grid-template-columns: repeat(4, 320px);
  justify-content: center;
  gap: 48px 32px;
  padding: 160px 32px 0;
}
.promesse {
  position: relative;
  padding-top: 22px;
  font-size: 14px;
  line-height: 20.3px;
}
.promesse::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: var(--encre);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s var(--ease) var(--retard, 0s);
}
.promesse.vu::before { transform: scaleX(1); }
.promesse-chiffre { display: flex; align-items: baseline; gap: 10px; }
.promesse-chiffre span:first-child {
  font-size: 80px;
  line-height: 1;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}
.promesse-chiffre span:last-child { font-size: 15px; color: var(--gris); }
.promesse p { margin-top: 14px; font-size: 14px; line-height: 1.45; color: var(--corps); max-width: 240px; }

/* ---------- Avis ---------- */
.avis-section { padding: 160px 32px; }
.avis {
  container-type: inline-size;
  max-width: 1600px;
  margin: 0 auto;
}
.avis-grille {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 110px);
  font-size: 15px;
  line-height: 21px;
}
.avis-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--panneau-2);
}
.avis-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 1.2s ease, transform 7s linear;
}
.avis-photo img.actif { opacity: 1; }
.avis.anime .avis-photo img.actif { transform: scale(1); }
.avis-texte {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 4px 0;
}
.avis-etiquette { font-size: 12px; color: var(--gris); }
.avis-citation {
  max-width: 760px;
  font-size: 48px;
  line-height: 1.04em;
  letter-spacing: -0.05em;
}
.avis-citation span { display: inline-block; margin-right: 0.25em; }
.avis.anime .avis-citation span { animation: mot 0.8s var(--ease) both; }
@keyframes mot {
  from { opacity: 0; filter: blur(6px); transform: translateY(0.18em); }
  to { opacity: 1; filter: none; transform: none; }
}
.avis-auteur { display: grid; gap: 2px; font-size: 15px; }
.avis-objet { font-size: 13px; color: var(--gris); }
.avis-nav { display: flex; align-items: center; gap: 14px; }
.avis-fleche {
  all: unset;
  cursor: pointer;
  width: 44px; height: 44px;
  border-radius: 99px;
  box-shadow: inset 0 0 0 1px var(--filet);
  display: grid;
  place-items: center;
}
.avis-fleche[data-sens="-1"] { order: 0; }
.avis-compteur { order: 1; font-size: 13px; min-width: 52px; text-align: center; font-variant-numeric: tabular-nums; }
.avis-fleche[data-sens="1"] { order: 2; }
.avis-fleche:focus-visible { outline: 1px solid var(--encre); outline-offset: 2px; }
.avis-note { font-size: 13px; color: var(--gris); }
@container (max-width: 1099.98px) { .avis-citation { font-size: 39.36px; } }
@container (max-width: 759.98px) {
  .avis-grille { grid-template-columns: 1fr; gap: 32px; }
  .avis-citation { font-size: 29.76px; }
}

/* ---------- Journal ---------- */
.journal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  padding: 0 32px 160px;
}
.articles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px 20px;
}
.article { display: flex; flex-direction: column; gap: 14px; }
.article-photo { aspect-ratio: 1.25; overflow: hidden; background: var(--panneau); }
.article-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
@media (hover: hover) {
  .article:hover .article-photo img { transform: scale(1.04); }
}
.article-meta { display: flex; gap: 8px; padding-top: 6px; font-size: 13px; line-height: 18.2px; }
.article-meta .gris { color: var(--gris); }
.article :is(h2, h3) { font-size: 24px; line-height: 1.2em; letter-spacing: -0.03em; }
.article p { max-width: 380px; font-size: 15px; line-height: 22.5px; color: var(--corps); }

/* ---------- Pied de page ---------- */
.pied {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 96px 32px 32px;
  background: var(--pied);
}
.pied-haut { display: flex; justify-content: space-between; gap: 96px; }
.lettre { width: 533px; display: flex; flex-direction: column; gap: 22px; }
.lettre p { width: 380px; max-width: 100%; font-size: 15px; line-height: 22.5px; color: var(--corps); }
.lettre-form { display: flex; align-items: center; width: 440px; max-width: 100%; height: 48px; box-shadow: inset 0 -1px 0 var(--encre); }
.lettre-form input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--encre);
  font: 15px/18px var(--police);
}
.lettre-form input::placeholder { color: var(--gris); opacity: 1; }
.lettre-form button {
  height: 48px;
  padding: 0 0 0 16px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 15px;
  line-height: 20.25px;
  letter-spacing: -0.01em;
  transition: opacity 0.3s var(--ease-menu);
}
@media (hover: hover) { .lettre-form button:hover { opacity: 0.55; } }
.pied-liens { display: flex; gap: 24px; }
.pied-liens > div { width: 168.7px; display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.pied-liens p { font-size: 13px; line-height: 18.2px; color: var(--gris); }
.pied-liens a, .pied-liens span { font-size: 14px; line-height: 16.8px; transition: color 0.3s var(--ease-menu); }
.mot-symbole { padding-top: 96px; overflow: hidden; }
.mot-cadre { position: relative; container-type: inline-size; transform: translateY(var(--mot-y, 200px)); transition: transform 1.65s var(--ease); }
.mot-cadre.vu { transform: none; }
.mot-sonde, .mot { letter-spacing: -0.075em; line-height: 1; white-space: nowrap; }
.mot-sonde { position: absolute; left: 0; top: 0; visibility: hidden; font-size: 100px; padding-right: 0.075em; }
.mot { display: block; font-size: calc(100cqw / var(--ratio, 1.9)); }
.pied-bas {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--filet);
  font-size: 13px;
  line-height: 18.2px;
  color: var(--gris);
}
.pied-bas a { color: var(--encre); transition: color 0.3s var(--ease-menu); }
@media (hover: hover) { .pied-bas a:hover { color: var(--gris); } }

/* =========================================================
   Tablette (810 à 1199)
   ========================================================= */
@media (max-width: 1199.98px) {
  .titre { font-size: 44px; }
  .index { --nom: 30px; }
  .collections-grille { gap: 12px; }
  .collection h3 { font-size: 34px; }
  .produits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promesses { grid-template-columns: repeat(2, 452px); }
  .article :is(h2, h3) { font-size: 21px; }
  .pied-haut { flex-direction: column; gap: 64px; }
}

/* =========================================================
   Téléphone (jusqu'à 809)
   ========================================================= */
@media (max-width: 809.98px) {
  .titre { font-size: 34px; }

  .nav-barre { height: 60px; padding: 0 20px; position: relative; z-index: 2; }
  .nav-liens, .nav-showroom { display: none; }
  .nav-droite { gap: 20px; }
  .nav-menu { display: block; }
  /* Menu : le bandeau s'agrandit de 60 à 354 px et rogne les liens, comme le calque Framer.
     Ressort amorti mesuré sur l'original (ω ≈ 23 rad/s, 0,4 s) ; la couleur passe du noir transparent
     au papier sans prémultiplication, d'où le léger voile sombre des premières images, comme chez Framer. */
  .nav { height: 60px; overflow: hidden; }
  .nav.ouvert { height: 354px; background-color: var(--papier); animation: menu-ouvre 0.4s linear both; }
  .nav.ferme { animation: menu-ferme 0.4s linear both; }
  @keyframes menu-ouvre {
    0% { height: 60.0px; background-color: transparent; }
    6.25% { height: 93.4px; background-color: rgba(28, 28, 28, 0.114); }
    12.5% { height: 153.9px; background-color: rgba(79, 79, 78, 0.319); }
    18.75% { height: 211.3px; background-color: rgba(127, 128, 126, 0.514); }
    25% { height: 256.7px; background-color: rgba(165, 166, 163, 0.669); }
    31.25% { height: 289.7px; background-color: rgba(193, 194, 191, 0.781); }
    37.5% { height: 312.5px; background-color: rgba(212, 213, 210, 0.859); }
    43.75% { height: 327.6px; background-color: rgba(225, 226, 222, 0.910); }
    50% { height: 337.5px; background-color: rgba(233, 234, 230, 0.944); }
    56.25% { height: 343.7px; background-color: rgba(238, 239, 235, 0.965); }
    62.5% { height: 347.7px; background-color: rgba(242, 243, 239, 0.979); }
    68.75% { height: 350.1px; background-color: rgba(244, 245, 241, 0.987); }
    75% { height: 351.7px; background-color: rgba(245, 246, 242, 0.992); }
    81.25% { height: 352.6px; background-color: rgba(246, 247, 243, 0.995); }
    87.5% { height: 353.2px; background-color: rgba(246, 247, 243, 0.997); }
    93.75% { height: 353.5px; background-color: rgba(247, 248, 244, 0.998); }
    100% { height: 354.0px; background-color: var(--papier); }
  }
  @keyframes menu-ferme {
    0% { height: 354.0px; background-color: var(--papier); }
    6.25% { height: 320.6px; background-color: rgba(219, 220, 216, 0.886); }
    12.5% { height: 260.1px; background-color: rgba(168, 169, 166, 0.681); }
    18.75% { height: 202.7px; background-color: rgba(120, 120, 118, 0.486); }
    25% { height: 157.3px; background-color: rgba(82, 82, 81, 0.331); }
    31.25% { height: 124.3px; background-color: rgba(54, 54, 53, 0.219); }
    37.5% { height: 101.5px; background-color: rgba(35, 35, 34, 0.141); }
    43.75% { height: 86.4px; background-color: rgba(22, 22, 22, 0.090); }
    50% { height: 76.5px; background-color: rgba(14, 14, 14, 0.056); }
    56.25% { height: 70.3px; background-color: rgba(9, 9, 9, 0.035); }
    62.5% { height: 66.3px; background-color: rgba(5, 5, 5, 0.021); }
    68.75% { height: 63.9px; background-color: rgba(3, 3, 3, 0.013); }
    75% { height: 62.3px; background-color: rgba(2, 2, 2, 0.008); }
    81.25% { height: 61.4px; background-color: rgba(1, 1, 1, 0.005); }
    87.5% { height: 60.8px; background-color: rgba(1, 1, 1, 0.003); }
    93.75% { height: 60.5px; background-color: rgba(0, 0, 0, 0.002); }
    100% { height: 60.0px; background-color: transparent; }
  }
  .menu-mobile {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 20px; top: 70px;
    z-index: 2;
    visibility: hidden;
  }
  .nav.ouvert .menu-mobile { visibility: visible; }
  .menu-mobile a {
    font-size: 30px;
    line-height: 30px;
    letter-spacing: -0.06em;
    padding: 7px 0;
    margin: -7px 0;
    transition: color 0.3s var(--ease-menu);
  }
  .menu-mobile a + a { margin-top: 7px; }

  .heros { height: 88vh; padding: 20px 20px 72px; }

  .pieces { height: auto; padding: 20px; }
  .index { --nom: 26px; gap: 20px; height: 820px; align-content: start; }

  .collections { gap: 64px; padding: 110px 20px 100px; }
  .collections-grille { grid-template-columns: 1fr; gap: 48px; }
  .collection h3 { font-size: 30px; }

  .nouveautes { padding: 24px 20px 0; }
  .nouveautes-tete { flex-direction: column; align-items: flex-start; gap: 28px; padding-bottom: 40px; }
  .produits { gap: 36px 10px; }
  .produit-meta { flex-direction: column; align-items: flex-start; gap: 2px; }
  .produit-sous { flex-direction: column; align-items: flex-start; gap: 8px; }

  .anatomie-section { padding-top: 100px; --pad: 20px; }

  .matieres-section { gap: 40px; padding: 110px 20px 0; }
  .tete-ligne { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tete-intro { width: auto; }

  .promesses { grid-template-columns: repeat(2, minmax(0, 167px)); gap: 40px 16px; padding: 110px 20px 0; }

  .avis-section { padding: 110px 20px; }

  .journal { gap: 40px; padding: 0 20px 110px; }
  .journal .tete-ligne { gap: 24px; }
  .articles { grid-template-columns: 1fr; gap: 48px; }
  .article :is(h2, h3) { font-size: 22px; }

  .pied { padding: 72px 20px 24px; }
  .pied-haut { gap: 56px; }
  .lettre { width: 100%; }
  .pied-liens { display: grid; grid-template-columns: repeat(2, minmax(0, 167px)); gap: 36px 16px; }
  .pied-liens > div { width: auto; }
  .mot-symbole { padding-top: 64px; }
  .mot-cadre { --mot-y: 90px; }
  .pied-bas { flex-direction: column; gap: 6px; }
}

:root { --ease-ressort: cubic-bezier(0.25, 1, 0.5, 1); }

/* Très petits téléphones : l'original laisse « nights » déborder et le coupe ; ici le chiffre rétrécit pour que l'unité tienne */
@media (max-width: 359.98px) {
  .promesse-chiffre span:first-child { font-size: 18.75vw; }
  .anatomie-produit { gap: 16px; }
}
/* Sous 370 px, la phrase et le lien du héros ne tiennent plus côte à côte en français : la phrase passe au-dessus */
@media (max-width: 369.98px) {
  .heros { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 8px; }
}


/* =========================================================
   Pages intérieures : boutique, fiches, journal, articles, contact, 404
   ========================================================= */
.titre-page { font-size: 54px; line-height: 0.96em; letter-spacing: -0.06em; }
.retour { font-size: 13px; line-height: 18.2px; color: var(--gris); }
.retour a { color: var(--encre); }
.retour a, .contact-coordonnees a { transition: color 0.3s var(--ease-menu); }
@media (hover: hover) { .retour a:hover, .contact-coordonnees a:hover { color: var(--gris); } }
.bouton-plein { height: 48px; transition: opacity 0.3s var(--ease-menu); }
@media (hover: hover) { .bouton-plein:hover { opacity: 0.82; } }

/* Photo qui s'ouvre depuis une ligne au chargement (même geste que le héros) */
.revele { position: relative; overflow: hidden; background: var(--panneau-2); }
.revele-cadre {
  position: absolute;
  inset: 0;
  clip-path: inset(49.8% 0% 49.8% 0%);
  transition: clip-path 1.8s var(--ease) 0.2s;
}
.revele img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 3s var(--ease) 0.2s;
}
.revele.ouvert .revele-cadre { clip-path: inset(0% 0% 0% 0%); }
.revele.ouvert img { transform: none; }

/* En-tête des pages boutique et journal */
.page-tete { padding: 140px 32px 56px; }
.page-journal { padding-bottom: 72px; }
.page-tete-ligne { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.page-titres { display: flex; flex-direction: column; gap: 18px; }
.page-intro { width: 380px; flex-shrink: 0; font-size: 15px; line-height: 22.5px; color: var(--corps); }
.page-boutique .filtres { flex-wrap: wrap; }

.catalogue { padding: 0 32px 160px; }
.catalogue .produits { gap: 56px 20px; }

.journal-liste { padding: 0 32px 160px; }
.journal-liste .articles { gap: 64px 20px; }

/* Fiche produit */
.fiche { padding: 120px 32px 140px; }
.fiche-ligne { display: flex; align-items: flex-start; gap: 64px; }
.fiche-photo { flex: 1 1 0; aspect-ratio: 0.8; }
.fiche-details { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; padding-top: 8px; }
.fiche-tete { display: flex; flex-direction: column; gap: 14px; }
.fiche-prix { font-size: 22px; line-height: 26.4px; letter-spacing: -0.02em; }
.fiche-description { width: 480px; max-width: 100%; font-size: 15px; line-height: 22.5px; color: var(--corps); }
.fiche-carac { width: 480px; max-width: 100%; margin: 0; }
/* filets tracés sans épaisseur, comme l'original (5 lignes de 42,2 px) */
.fiche-carac div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; box-shadow: inset 0 1px 0 var(--filet); }
.fiche-carac div:last-child { box-shadow: inset 0 1px 0 var(--filet), inset 0 -1px 0 var(--filet); }
.fiche-carac dt { font-size: 13px; line-height: 18.2px; color: var(--gris); }
.fiche-carac dd { margin: 0; font-size: 14px; line-height: 16.8px; text-align: right; }
.fiche-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

/* « Vous aimerez aussi », « À lire aussi » */
.suite { display: flex; flex-direction: column; gap: 48px; padding: 0 32px 160px; }
.suite-articles { padding-top: 96px; border-top: 1px solid var(--filet); }
.suite-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; }
.suite-titre { font-size: 40px; line-height: 1; letter-spacing: -0.06em; }

/* Article */
.lecture { padding: 120px 32px 140px; }
.lecture-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; column-gap: 64px; align-items: start; }
.lecture-haut { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 72px; }
.lecture-photo { grid-column: 2; grid-row: 1 / span 3; aspect-ratio: 0.8; }
.lecture-photo img { object-position: 50% 55%; }
.lecture-corps { grid-column: 1; grid-row: 2; margin-top: 72px; width: 560px; max-width: 100%; }
.lecture-titres { display: flex; flex-direction: column; gap: 28px; }
.lecture-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; line-height: 18.2px; }
.lecture-meta .gris { color: var(--gris); }
.lecture-chapo { width: 520px; max-width: 100%; font-size: 21px; line-height: 29.4px; letter-spacing: -0.015em; color: var(--corps); }
.lecture-corps h2 { font-size: 28px; line-height: 32.2px; letter-spacing: -0.035em; }
.lecture-corps p { font-size: 17px; line-height: 28.05px; color: var(--corps); }
.lecture-corps > * + * { margin-top: 22px; }
.lecture-corps p + h2 { margin-top: 16px; }

/* Contact */
.contact { padding: 96px 32px 32px; }
.contact-ligne { display: grid; grid-template-columns: minmax(0, 626fr) minmax(0, 738fr); grid-template-rows: minmax(0, 1fr); gap: 12px; height: 880px; }
.contact-photo img { object-position: 55% 58%; }
.contact-panneau { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 64px 56px; background: var(--pied); }
.contact-contenu { width: 460px; max-width: 100%; display: flex; flex-direction: column; gap: 40px; }
.contact-tete { display: flex; flex-direction: column; gap: 16px; }
/* deux lignes équilibrées : « Parlez-nous de / votre intérieur. », comme « Tell us about / your room. » */
.contact-tete h1 { text-wrap: balance; }
.contact-intro { font-size: 15px; line-height: 22.5px; color: var(--corps); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.champ-ligne { display: flex; gap: 12px; }
.champ-ligne > .champ { flex: 1 1 0; min-width: 0; }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ > span:first-child { font-size: 13px; line-height: 18.2px; color: var(--gris); }
.champ-boite { display: flex; align-items: center; padding: 14px 16px; background: var(--papier); box-shadow: inset 0 0 0 1px var(--filet); transition: box-shadow 0.3s var(--ease-menu); }
.champ-boite:focus-within { box-shadow: inset 0 0 0 1px var(--encre); }
.champ-boite input, .champ-boite textarea { width: 100%; height: 24px; padding: 0; border: 0; background: none; color: var(--encre); font: 15px/21px var(--police); }
.champ-boite input::placeholder, .champ-boite textarea::placeholder { color: var(--gris); opacity: 1; }
.champ-boite input:focus-visible, .champ-boite textarea:focus-visible { outline: none; }
.champ-texte { padding: 0; }
.champ-texte textarea { height: 150px; padding: 14px 16px; resize: none; }
.contact-envoi { height: 52px; padding: 0 24px; border: 0; background: var(--encre); color: var(--papier); font-size: 14px; line-height: 16.8px; cursor: pointer; transition: opacity 0.3s var(--ease-menu); }
@media (hover: hover) { .contact-envoi:hover { opacity: 0.85; } }
.contact-coordonnees { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 20px; box-shadow: inset 0 1px 0 var(--filet); font-size: 14px; line-height: 16.8px; }

/* 404 */
.introuvable { display: flex; align-items: center; gap: 64px; min-height: 100vh; padding: 120px 32px 80px; }
.introuvable-message { flex: 1 1 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.introuvable-texte { width: 420px; max-width: 100%; font-size: 15px; line-height: 22.5px; color: var(--corps); }
.introuvable-boutons { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 12px; }
.introuvable-photo { flex: 1 1 0; aspect-ratio: 0.8; }
.introuvable-photo img { object-position: 50% 55%; }

@media (max-width: 1199.98px) {
  .titre-page { font-size: 44px; }
  .page-boutique { padding: 120px 24px 48px; }
  .catalogue { padding: 0 24px 120px; }
  .catalogue .produits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 16px; }
  .journal-liste .articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fiche-ligne, .introuvable { gap: 32px; }
  .suite-titre { font-size: 34px; }
  .lecture { padding-bottom: 120px; }
  .lecture-grille { column-gap: 32px; }
  .lecture-haut { gap: 48px; }
  .lecture-corps { margin-top: 48px; }
  .lecture-titres { gap: 22px; }
  .suite-articles .articles { gap: 40px 14px; }
  .contact-ligne { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; height: auto; }
  .contact-photo { height: 560px; }
}

@media (max-width: 809.98px) {
  .titre-page { font-size: 36px; }
  .page-tete-ligne { flex-direction: column; align-items: flex-start; }
  .page-boutique { padding: 104px 16px 36px; }
  .page-boutique .page-tete-ligne { gap: 28px; }
  .page-boutique .filtres { gap: 18px; }
  .page-journal { padding: 100px 20px 48px; }
  .page-journal .page-tete-ligne { gap: 20px; }
  .page-intro { width: auto; }
  .catalogue { padding: 0 16px 96px; }
  .catalogue .produits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 12px; }
  .journal-liste { padding: 0 20px 110px; }
  .journal-liste .articles { grid-template-columns: 1fr; gap: 48px; }

  .fiche { padding: 96px 20px; }
  .fiche-ligne { flex-direction: column; align-items: stretch; gap: 36px; }
  .fiche-photo { flex: none; }
  .fiche-details { padding-top: 0; }
  .suite { gap: 32px; padding: 0 20px 110px; }
  .suite-articles { padding-top: 72px; }
  .suite-titre { font-size: 30px; }
  .suite-articles .articles { gap: 48px; }

  .lecture { padding: 96px 20px; }
  .lecture-grille { display: flex; flex-direction: column; align-items: stretch; gap: 32px; }
  .lecture-haut { gap: 32px; }
  .lecture-photo, .lecture-corps { width: 100%; }
  .lecture-corps { margin-top: 0; }
  .lecture-titres { gap: 20px; }

  .contact { padding: 80px 12px 12px; }
  .contact-photo { height: 420px; }
  .contact-panneau { padding: 40px 20px; }
  .contact-contenu { width: 100%; }
  .champ-ligne { flex-direction: column; gap: 16px; }

  .introuvable { flex-direction: column; align-items: stretch; gap: 40px; min-height: 0; padding: 96px 20px 64px; }
  .introuvable-photo { flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  .heros-cadre, .heros-cadre img, .heros-voile, .produits[data-apparition] .produit, .matiere-tuile, .promesse::before, .revele-cadre, .revele img { transition: none !important; animation: none !important; }
  .revele-cadre { clip-path: none; }
  .revele img { transform: none; }
  .heros-cadre { clip-path: none; }
  .heros-cadre img { transform: none; }
  .heros-voile { opacity: 1; }
  .produits[data-apparition] .produit { opacity: 1; transform: none; }
  .matiere-tuile { clip-path: none; }
  .mot-cadre { transform: none; transition: none; }
  .nav.ouvert, .nav.ferme { animation: none; }
}
