/* ======================================================
   KITTCRÉA — STYLE GLOBAL
====================================================== */

:root {
  --vert-sauge: #8FA68E;
  --vert-profond: #5E735F;
  --beige-sable: #E9E1D3;
  --creme-clair: #F8F5EF;
  --texte-chaud: #3F3A36;
  --texte-doux: #706A62;
  --or-feuille: #C9A44C;

  --font-main: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;

  --transition-soft: 280ms ease;
  --shadow-soft: 0 26px 70px rgba(63, 58, 54, 0.13);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-main);
  color: var(--texte-chaud);
  background:
    radial-gradient(circle at 10% 12%, rgba(143, 166, 142, 0.20), transparent 30%),
    radial-gradient(circle at 88% 24%, rgba(201, 164, 76, 0.12), transparent 26%),
    linear-gradient(135deg, var(--creme-clair), var(--beige-sable));
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(30px);
}

body::before {
  width: 420px;
  height: 420px;
  left: -160px;
  top: 18vh;
  background: rgba(143, 166, 142, 0.18);
}

body::after {
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: 10vh;
  background: rgba(201, 164, 76, 0.12);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(94, 115, 95, 0.38);
  outline-offset: 3px;
}

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

.mobile-menu-trigger,
.mobile-menu-backdrop,
.mobile-menu {
  display: none;
}

/* ======================================================
   ALIGNEMENT GLOBAL DES TEXTES
====================================================== */

body {
  text-align: center;
}

/* Les textes longs restent confortables à lire : le bloc est centré,
   les lignes sont justifiées et la dernière ligne revient au centre. */
p,
.pampille-collection-card small,
.product-description,
.product-note,
.creation-family-heading > p:last-child,
.creation-empty-panel > p:last-child,
.contact-form-status {
  margin-inline: auto;
  text-align: justify;
  text-align-last: center;
  text-justify: inter-word;
  hyphens: auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
label,
figcaption,
dt,
dd,
.creation-category-card span {
  text-align: center;
}

/* ======================================================
   STRUCTURE DES PAGES
====================================================== */

main {
  width: 100%;
}

.page {
  display: none;
  min-height: 100vh;
}

.page.active {
  display: block;
}

.page--content {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 150px 32px 90px;
  background:
    radial-gradient(circle at 12% 18%, rgba(143, 166, 142, 0.08), transparent 28%),
    radial-gradient(circle at 88% 76%, rgba(201, 164, 76, 0.07), transparent 25%),
    linear-gradient(135deg, #FFFDF9, var(--creme-clair));
}

.page--content::before,
.page--content::after,
.intro-story::before,
.home-pampille-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.page--content::before,
.intro-story::before,
.home-pampille-section::before {
  right: 0;
  left: 0;
  height: max(100vh, 680px);
  height: max(100svh, 680px);
  background:
    radial-gradient(
      ellipse 112% 78% at -12% 108%,
      transparent calc(100% - 6px),
      rgba(94, 115, 95, 0.20) calc(100% - 6px) calc(100% - 3px),
      rgba(201, 164, 76, 0.20) calc(100% - 3px) 100%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 95% 85% at 52% -32%,
      transparent calc(100% - 6px),
      rgba(201, 164, 76, 0.18) calc(100% - 6px) calc(100% - 3px),
      rgba(94, 115, 95, 0.18) calc(100% - 3px) 100%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 125% 60% at 118% 80%,
      transparent calc(100% - 6px),
      rgba(94, 115, 95, 0.16) calc(100% - 6px) calc(100% - 3px),
      rgba(201, 164, 76, 0.16) calc(100% - 3px) 100%,
      transparent 100%
    );
  background-repeat: no-repeat;
}

.page--content::before {
  top: clamp(190px, 24vh, 280px);
}

.intro-story::before,
.home-pampille-section::before {
  top: clamp(160px, 18vw, 260px);
}

.page--content::after {
  display: none;
}

.page-container {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.page-container h2 {
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: var(--vert-profond);
  margin-bottom: 28px;
  text-align: center;
}

.intro {
  width: 100%;
  max-width: 880px;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.65;
  color: var(--texte-doux);
  margin: 0 auto 54px;
  text-wrap: pretty;
}

/* ======================================================
   MINI NAVIGATION
====================================================== */

.mini-nav {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 50;
  width: 140px;
  height: 140px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-12px) scale(0.92);
  transition:
    opacity var(--transition-soft),
    transform var(--transition-soft);
}

.mini-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.mini-pampille-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 320ms ease;
}

.mini-pampille-wrapper:hover {
  transform: scale(1.55);
}

.mini-pampille {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(63, 58, 54, 0.22));
}

/* ======================================================
   NAV ZONES COMMUNES
====================================================== */

.nav-zone {
  position: absolute;
  z-index: 4;
  border: 0;
  background: rgba(248, 245, 239, 0.74);
  color: var(--texte-chaud);
  border-radius: 999px;
  padding: 8px 13px;
  font-family: var(--font-main);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(63, 58, 54, 0.10);
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
  transition:
    transform var(--transition-soft),
    background var(--transition-soft),
    color var(--transition-soft),
    box-shadow var(--transition-soft);
}

.nav-zone:hover,
.nav-zone.active {
  background: var(--vert-profond);
  color: var(--creme-clair);
  box-shadow: 0 14px 34px rgba(94, 115, 95, 0.24);
  transform: translate(-50%, -50%) scale(1.06);
}

.mini-zone {
  font-size: 7.5px;
  padding: 4px 6px;
  box-shadow: 0 8px 18px rgba(63, 58, 54, 0.10);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--transition-soft),
    transform var(--transition-soft),
    background var(--transition-soft),
    color var(--transition-soft),
    box-shadow var(--transition-soft);
}

.mini-zone.active,
.mini-zone.active:hover {
  transform: translate(-50%, -50%);
}

@media (min-width: 769px) {
  .mini-pampille-wrapper:hover .mini-zone,
  .mini-pampille-wrapper:focus-within .mini-zone {
    opacity: 1;
    pointer-events: auto;
  }
}

.mini-accueil {
  top: 28.5%;
  left: 31%;
}

.mini-boutique {
  top: 28.5%;
  left: 69%;
}

.mini-contact {
  top: 66.5%;
  left: 31%;
}

.mini-galerie {
  top: 66.5%;
  left: 69%;
}

/* ======================================================
   ACCUEIL — SECTION INTRO IMMERSIVE
====================================================== */

.page--home {
  overflow: visible;
}

.home-intro {
  position: relative;
  background: var(--creme-clair);
}

.intro-hero {
  position: relative;
  min-height: 320vh;
  overflow: clip;
}

.matter-canvas {
  position: sticky;
  top: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100vh;
}

.intro-content {
  position: sticky;
  top: 0;
  z-index: 3;
  height: 100vh;
  height: 100svh;
  width: min(980px, calc(100% - 80px));
  margin: -100vh auto 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.intro-kicker {
  margin-bottom: 14px;
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(63, 58, 54, 0.58);
}

.intro-logo {
  width: min(410px, 46vw, 40vh);
  height: auto;
  margin: 0 auto 22px;
  object-fit: contain;
  filter: drop-shadow(0 18px 42px rgba(63, 58, 54, 0.10));
}

.intro-signature {
  max-width: 820px;
  font-size: clamp(42px, 5.5vw, 78px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.068em;
  color: var(--texte-chaud);
  margin-bottom: 28px;
  text-align: center;
}

.scroll-invite {
  pointer-events: auto;
  border: 1px solid rgba(94, 115, 95, 0.22);
  background: rgba(248, 245, 239, 0.78);
  color: var(--vert-profond);
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(63, 58, 54, 0.10);
  transition:
    transform var(--transition-soft),
    background var(--transition-soft),
    color var(--transition-soft),
    box-shadow var(--transition-soft);
}

.scroll-invite:hover {
  transform: translateY(-2px);
  background: var(--vert-profond);
  color: var(--creme-clair);
  box-shadow: 0 22px 54px rgba(94, 115, 95, 0.25);
}

.intro-story {
  position: relative;
  z-index: 4;
  padding: clamp(84px, 11vw, 150px) 32px;
  background:
    radial-gradient(circle at 92% 8%, rgba(201, 164, 76, 0.10), transparent 30%),
    radial-gradient(circle at 8% 64%, rgba(143, 166, 142, 0.12), transparent 32%),
    linear-gradient(145deg, #fffdf9, var(--creme-clair));
}

.intro-story-container {
  width: min(920px, 100%);
  margin: 0 auto;
}

.intro-story-eyebrow {
  margin-bottom: 16px;
  color: rgba(94, 115, 95, 0.78);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  text-align: center;
}

.intro-story h2 {
  max-width: 760px;
  margin: 0 auto clamp(42px, 6vw, 70px);
  color: var(--vert-profond);
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.intro-story-copy {
  column-count: 2;
  column-gap: 54px;
}

.intro-story-copy p {
  break-inside: avoid-column;
  margin-bottom: 26px;
  color: rgba(63, 58, 54, 0.74);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.72;
  text-align: left;
  text-align-last: auto;
  hyphens: none;
  overflow-wrap: break-word;
}

.intro-story-copy p:last-child {
  margin-bottom: 0;
}

.intro-story-copy p:first-child {
  color: var(--texte-chaud);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 650;
  line-height: 1.55;
}

.intro-story-button {
  margin-top: clamp(48px, 7vw, 78px);
}

/* ======================================================
   ACCUEIL — SECTION PAMPILLE NAVIGATION
====================================================== */

.home-pampille-section {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  padding: 90px 40px 95px;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.72), transparent 38%),
    radial-gradient(circle at 18% 20%, rgba(143, 166, 142, 0.18), transparent 32%),
    linear-gradient(135deg, var(--creme-clair), var(--beige-sable));
}

.home-pampille-heading {
  text-align: center;
  margin-bottom: 38px;
}

.home-pampille-heading p {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(63, 58, 54, 0.55);
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pampille-wrapper {
  position: relative;
  width: min(720px, 78vw);
  aspect-ratio: 1 / 1;
}

.hero-pampille {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(24px 30px 38px rgba(45, 50, 43, 0.30))
    drop-shadow(8px 10px 14px rgba(63, 58, 54, 0.16));
}

.pampille-wrapper > .nav-zone {
  background: rgba(255, 255, 255, 0.88);
  color: var(--texte-chaud);
  padding: 9px 15px;
  font-size: clamp(14px, 1.15vw, 16px);
  box-shadow:
    0 0 10px 3px rgba(255, 255, 255, 0.42),
    8px 12px 24px rgba(63, 58, 54, 0.10);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translate(-50%, -50%);
}

.pampille-wrapper > .nav-zone::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.48);
  filter: blur(5px);
  transition: opacity var(--transition-soft);
}

.pampille-wrapper > .nav-zone:hover,
.pampille-wrapper > .nav-zone:focus-visible {
  background: var(--vert-profond);
  color: var(--creme-clair);
  box-shadow: 0 14px 34px rgba(94, 115, 95, 0.24);
  transform: translate(-50%, -50%) scale(1.06);
}

.pampille-wrapper > .nav-zone:hover::before,
.pampille-wrapper > .nav-zone:focus-visible::before {
  opacity: 0.25;
}

.zone-accueil {
  top: 28.5%;
  left: 31%;
}

.zone-boutique {
  top: 28.5%;
  left: 69%;
}

.zone-contact {
  top: 66.5%;
  left: 31%;
}

.zone-galerie {
  top: 66.5%;
  left: 69%;
}

.slogan {
  position: absolute;
  /* Le centre visuel de l'ouverture est légèrement plus haut
     que le centre géométrique de l'image. */
  top: 47.5%;
  left: 50%;
  width: 26%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  text-align: center;
  pointer-events: none;
}

.slogan p {
  margin: 0;
  font-size: clamp(14px, 1.75vw, 21px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--vert-profond);
  text-wrap: balance;
}

/* ======================================================
   BOUTIQUE ET CARTES DE CRÉATIONS
====================================================== */

.shop-root,
.shop-panel {
  display: grid;
  gap: clamp(34px, 5vw, 54px);
}

.shop-view-heading {
  width: 100%;
}

.shop-view-heading .intro {
  margin-bottom: 0;
}

.galets-intro ul {
  width: fit-content;
  max-width: 100%;
  margin: 18px auto;
  padding-left: 1.4em;
  text-align: left;
  text-align-last: left;
}

.shop-category-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.creation-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.shop-root[hidden],
.shop-panel[hidden],
.shop-category-list[hidden],
.creation-category-grid[hidden],
.creation-family[hidden],
.creation-empty-panel[hidden],
.product-detail[hidden] {
  display: none;
}

.creation-category-card {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border: 1px solid rgba(94, 115, 95, 0.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at 76% 20%, rgba(201, 164, 76, 0.22), transparent 26%),
    linear-gradient(145deg, rgba(143, 166, 142, 0.34), rgba(248, 245, 239, 0.95));
  box-shadow: var(--shadow-soft);
  text-align: center;
  isolation: isolate;
  transition:
    transform 520ms cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 520ms ease,
    border-color var(--transition-soft);
}

.shop-category-card {
  min-height: clamp(280px, 34vw, 370px);
}

.creation-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(39, 49, 40, 0.80), transparent 66%);
}

.creation-category-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 850ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.creation-category-card span {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  color: var(--creme-clair);
  text-align: center;
}

.creation-category-card strong,
.creation-category-card small {
  display: block;
}

.creation-category-card strong {
  margin-bottom: 7px;
  font-size: clamp(26px, 3vw, 39px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.creation-category-card small {
  font-size: 14px;
  font-weight: 650;
  opacity: 0.82;
}

.creation-category-card--coming::after {
  background:
    linear-gradient(to top, rgba(63, 58, 54, 0.58), transparent 72%),
    radial-gradient(circle at 70% 18%, rgba(201, 164, 76, 0.28), transparent 24%);
}

.creation-category-grid .creation-category-card--coming {
  background:
    radial-gradient(circle at 25% 25%, rgba(248, 245, 239, 0.88), transparent 24%),
    linear-gradient(145deg, rgba(201, 164, 76, 0.30), rgba(143, 166, 142, 0.58));
}

.creation-category-grid--personalizable {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.pampille-collection-card {
  min-height: 310px;
  background:
    radial-gradient(circle at 78% 16%, rgba(201, 164, 76, 0.35), transparent 28%),
    radial-gradient(circle at 18% 80%, rgba(248, 245, 239, 0.62), transparent 32%),
    linear-gradient(145deg, rgba(94, 115, 95, 0.88), rgba(143, 166, 142, 0.72));
}

.pampille-collection-card::after {
  background: linear-gradient(to top, rgba(39, 49, 40, 0.66), rgba(39, 49, 40, 0.05));
}

.pampille-collection-card span {
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.pampille-collection-card small {
  display: -webkit-box;
  max-width: 40ch;
  margin: 0 auto 18px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-height: 1.5;
}

.pampille-collection-card em {
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.86;
}

@media (hover: hover) and (pointer: fine) {
  .creation-category-card:hover {
    transform: translateY(-10px) scale(1.015);
    border-color: rgba(201, 164, 76, 0.46);
    box-shadow: 0 34px 76px rgba(63, 58, 54, 0.19);
  }

  .creation-category-card:hover img {
    transform: scale(1.08);
  }
}

.creation-back {
  justify-self: center;
  border: 1px solid rgba(94, 115, 95, 0.20);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 253, 249, 0.78);
  color: var(--vert-profond);
  font-size: 14px;
  font-weight: 750;
  transition:
    transform var(--transition-soft),
    background var(--transition-soft),
    color var(--transition-soft);
}

.creation-back:hover {
  color: var(--creme-clair);
  background: var(--vert-profond);
  transform: translateX(-3px);
}

@media (min-width: 769px) {
  .creation-back {
    display: block;
    width: fit-content;
    margin-right: auto;
    margin-left: 0;
    justify-self: start;
  }
}

.creation-empty-panel {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 60px);
  border: 1px solid rgba(94, 115, 95, 0.15);
  border-radius: 34px;
  background: rgba(255, 253, 249, 0.76);
  box-shadow: var(--shadow-soft);
}

.creation-empty-panel h3 {
  margin: 26px 0 12px;
  color: var(--vert-profond);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.creation-empty-panel > p:last-child {
  color: var(--texte-doux);
  font-size: 17px;
  line-height: 1.65;
}

.creation-family {
  display: grid;
  gap: 34px;
}

.creation-family-heading {
  max-width: 720px;
  margin-inline: auto;
}

.creation-eyebrow {
  margin-bottom: 10px;
  color: var(--or-feuille);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.creation-family-heading h3 {
  margin-bottom: 12px;
  color: var(--vert-profond);
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.creation-family-heading > p:last-child {
  color: var(--texte-doux);
  font-size: 17px;
  line-height: 1.65;
}

.creation-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.creation-filter {
  border: 1px solid rgba(94, 115, 95, 0.22);
  border-radius: 999px;
  padding: 10px 17px;
  background: rgba(255, 253, 249, 0.76);
  color: var(--vert-profond);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(63, 58, 54, 0.06);
  transition:
    transform var(--transition-soft),
    color var(--transition-soft),
    background var(--transition-soft),
    box-shadow var(--transition-soft);
}

.creation-filter:hover,
.creation-filter.active {
  color: var(--creme-clair);
  background: var(--vert-profond);
  box-shadow: 0 13px 28px rgba(94, 115, 95, 0.22);
  transform: translateY(-2px);
}

.creation-collections {
  display: grid;
  gap: 64px;
}

.creation-collection[hidden] {
  display: none;
}

.creation-collection.is-filtered-in {
  animation: collection-appear 520ms ease both;
}

@keyframes collection-appear {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.creation-collection-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 13px;
  border-bottom: 2px solid rgba(201, 164, 76, 0.32);
}

.creation-collection-heading h4 {
  width: 100%;
  color: var(--vert-profond);
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -0.045em;
}

.creation-collection-heading span {
  width: 100%;
  color: var(--texte-doux);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.creation-models-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}

.creation-model {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(94, 115, 95, 0.14);
  border-radius: 18px;
  background: var(--creme-clair);
  box-shadow: 0 18px 44px rgba(63, 58, 54, 0.11);
  transition:
    transform 520ms cubic-bezier(0.2, 0.75, 0.25, 1),
    border-color var(--transition-soft),
    box-shadow 520ms ease;
  cursor: pointer;
}

.creation-model-visual {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.creation-model-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, transparent 55%, rgba(201, 164, 76, 0.16));
  opacity: 0;
  transition: opacity var(--transition-soft);
}

.creation-model img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    transform 800ms cubic-bezier(0.2, 0.75, 0.25, 1),
    filter 480ms ease;
}

.creation-model figcaption {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 14px;
  background: rgba(255, 253, 249, 0.94);
  color: var(--vert-profond);
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
}

@media (hover: hover) and (pointer: fine) {
  .creation-model:hover {
    z-index: 2;
    transform: translateY(-6px) scale(1.08);
    border-color: rgba(201, 164, 76, 0.42);
    box-shadow: 0 30px 68px rgba(63, 58, 54, 0.18);
  }

  .creation-model:hover .creation-model-visual::after {
    opacity: 1;
  }

  .creation-model:hover img {
    transform: scale(1.07);
    filter: saturate(1.08) contrast(1.025);
  }
}

.product-detail {
  scroll-margin-top: 110px;
  animation: product-detail-appear 620ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes product-detail-appear {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.75fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
  margin-top: 30px;
}

.product-detail-gallery {
  min-width: 0;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}

.product-gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.product-gallery-thumbnails[hidden],
.product-gallery-status[hidden] {
  display: none;
}

.product-gallery-thumbnails button {
  min-width: 0;
  min-height: 44px;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 3px;
  background: var(--creme-clair);
  cursor: pointer;
}

.product-gallery-thumbnails button[aria-pressed="true"] {
  border-color: var(--vert-profond);
}

.product-gallery-thumbnails img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 7px;
}

.product-gallery-status {
  margin-top: 10px;
  color: var(--texte-doux);
  font-size: 14px;
  text-align: center;
  text-align-last: center;
}

.product-detail-visual {
  position: relative;
  max-height: 72vh;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 2px solid rgba(201, 164, 76, 0.38);
  border-radius: clamp(26px, 4vw, 46px);
  background: var(--creme-clair);
  box-shadow: 0 38px 90px rgba(63, 58, 54, 0.20);
}

.product-detail-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.product-detail-content h3 {
  margin-bottom: 18px;
  color: var(--vert-profond);
  font-size: clamp(38px, 5.6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.product-detail-content {
  text-align: center;
}

.product-price {
  display: inline-block;
  margin-bottom: 26px;
  padding: 9px 15px;
  border: 1px solid rgba(201, 164, 76, 0.34);
  border-radius: 999px;
  background: rgba(201, 164, 76, 0.10);
  color: var(--or-feuille);
  font-size: 17px;
  font-weight: 800;
}

.product-description {
  margin-bottom: 30px;
  color: var(--texte-doux);
  font-size: 17px;
  line-height: 1.7;
}

.product-information {
  display: grid;
  margin-bottom: 24px;
  border-top: 1px solid rgba(94, 115, 95, 0.16);
}

.product-information div {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(94, 115, 95, 0.16);
}

.product-information div[hidden],
.product-detail[data-return-view="creoles"] #productFabrication {
  display: none;
}

.product-information dt {
  flex: 1;
  color: var(--texte-doux);
}

.product-information dd {
  flex: 1;
  color: var(--vert-profond);
  font-weight: 750;
  text-align: center;
}

.product-note {
  color: rgba(63, 58, 54, 0.54);
  font-size: 13px;
  line-height: 1.55;
}

.product-customization {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding: 20px;
  border: 1px solid rgba(94, 115, 95, 0.16);
  border-radius: 22px;
  background: rgba(248, 245, 239, 0.76);
}

.product-customization[hidden] {
  display: none;
}

.product-customization-fields {
  display: grid;
  gap: 16px;
}

.product-customization-field {
  display: grid;
  gap: 8px;
}

.product-customization label {
  color: var(--vert-profond);
  font-size: 14px;
  font-weight: 750;
}

.product-customization input {
  width: 100%;
  border: 1px solid rgba(94, 115, 95, 0.24);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 253, 249, 0.94);
  color: var(--texte-chaud);
  outline: none;
}

.product-customization input:focus {
  border-color: rgba(94, 115, 95, 0.54);
  box-shadow: 0 0 0 4px rgba(143, 166, 142, 0.16);
}

.product-customization input::placeholder {
  color: rgba(63, 58, 54, 0.48);
  font-style: italic;
  opacity: 1;
}

.product-customization small {
  color: var(--texte-doux);
  font-size: 12px;
  line-height: 1.45;
}

.product-customization button {
  justify-self: center;
  margin-top: 5px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: rgba(94, 115, 95, 0.22);
  color: rgba(63, 58, 54, 0.64);
  font-size: 14px;
  font-weight: 750;
  cursor: not-allowed;
}

.main-button,
.contact-form button {
  border: 0;
  border-radius: 999px;
  padding: 13px 21px;
  background: var(--vert-profond);
  color: var(--creme-clair);
  font-size: 15px;
  font-weight: 700;
  transition:
    transform var(--transition-soft),
    background var(--transition-soft),
    box-shadow var(--transition-soft);
}

.main-button:hover,
.contact-form button:hover {
  transform: translateY(-2px);
  background: #4f6351;
  box-shadow: 0 16px 32px rgba(94, 115, 95, 0.24);
}

/* ======================================================
   GALERIE
====================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  min-width: 0;
  overflow: hidden;
  border-radius: 30px;
  background: var(--creme-clair);
  border: 1px solid rgba(94, 115, 95, 0.12);
  box-shadow: var(--shadow-soft);
  transform: translateZ(0);
  transition:
    transform 520ms cubic-bezier(0.2, 0.75, 0.25, 1),
    border-color var(--transition-soft),
    box-shadow 520ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(94, 115, 95, 0.10), transparent 42%),
    linear-gradient(315deg, rgba(201, 164, 76, 0.16), transparent 38%);
  opacity: 0;
  transition: opacity 480ms ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    transform 850ms cubic-bezier(0.2, 0.75, 0.25, 1),
    filter 480ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover {
    z-index: 2;
    transform: translateY(-9px) scale(1.018);
    border-color: rgba(201, 164, 76, 0.42);
    box-shadow:
      0 34px 76px rgba(63, 58, 54, 0.19),
      0 10px 24px rgba(94, 115, 95, 0.12);
  }

  .gallery-item:hover::after {
    opacity: 1;
  }

  .gallery-item:hover img {
    transform: scale(1.10);
    filter: saturate(1.09) contrast(1.025);
  }
}

/* ======================================================
   CONTACT
====================================================== */

.contact-container {
  max-width: 1120px;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 22px;
  width: min(780px, 100%);
  margin-inline: auto;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  color: var(--vert-profond);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(94, 115, 95, 0.18);
  border-radius: 20px;
  padding: 16px 18px;
  background: rgba(248, 245, 239, 0.82);
  color: var(--texte-chaud);
  outline: none;
  resize: vertical;
  transition:
    border-color var(--transition-soft),
    box-shadow var(--transition-soft),
    background var(--transition-soft);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(94, 115, 95, 0.48);
  box-shadow: 0 0 0 4px rgba(143, 166, 142, 0.16);
  background: rgba(248, 245, 239, 0.96);
}

.contact-form button {
  justify-self: center;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.contact-form-status {
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 14px 17px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.contact-form-status[hidden] {
  display: none;
}

.contact-form-status.is-success {
  border-color: rgba(94, 115, 95, 0.24);
  background: rgba(143, 166, 142, 0.16);
  color: var(--vert-profond);
}

.contact-form-status.is-error {
  border-color: rgba(139, 67, 67, 0.24);
  background: rgba(139, 67, 67, 0.10);
  color: #7b3f3f;
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 980px) {
  .intro-content {
    width: min(760px, calc(100% - 48px));
  }

  .intro-logo {
    width: min(390px, 60vw, 38vh);
  }

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

  .creation-models-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

}

@media (max-width: 768px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  .page--content {
    padding: 92px 22px 44px;
  }

  .page--content::before {
    top: clamp(300px, 42vh, 420px);
  }

  .gallery-item {
    border-radius: 24px;
  }

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

  .creation-category-grid {
    grid-template-columns: 1fr;
  }

  .creation-category-card {
    min-height: 290px;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .product-detail-visual {
    width: min(100%, 560px);
    max-height: none;
  }

  .creation-collections {
    gap: 48px;
  }

  .mini-nav {
    display: none;
  }

  .mini-pampille-wrapper:hover {
    transform: none;
  }

  .mini-nav.is-open .mini-pampille-wrapper {
    transform: scale(1.65);
  }

  .mini-zone {
    width: 42px;
    min-width: 42px;
    min-height: 26px;
    padding: 3px 2px;
    font-size: 6px;
    line-height: 1;
    letter-spacing: -0.04em;
    text-align: center;
    transition:
      opacity var(--transition-soft),
      transform var(--transition-soft),
      background var(--transition-soft),
      color var(--transition-soft),
      box-shadow var(--transition-soft);
  }

  .mini-nav.is-open .mini-zone {
    opacity: 1;
    pointer-events: auto;
  }

  .mini-accueil,
  .mini-contact {
    left: 20%;
  }

  .mini-boutique,
  .mini-galerie {
    left: 80%;
  }

  .intro-hero {
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
  }

  .matter-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .intro-content {
    position: relative;
    top: auto;
    width: calc(100% - 40px);
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;
    padding-top: max(28px, env(safe-area-inset-top));
    padding-bottom: max(28px, env(safe-area-inset-bottom));
    justify-content: center;
  }

  .intro-story {
    z-index: 4;
  }

  .intro-kicker {
    font-size: 11px;
    letter-spacing: 0.24em;
  }

  .intro-logo {
    width: min(340px, 84vw, 38svh);
    margin: 0 auto 22px;
  }

  .intro-signature {
    max-width: 620px;
    font-size: clamp(38px, 12.5vw, 64px);
    letter-spacing: -0.07em;
  }

  .intro-story {
    padding: 82px 22px 92px;
  }

  .intro-story h2 {
    margin-bottom: 40px;
  }

  .intro-story-copy {
    column-count: 1;
    column-gap: normal;
    max-width: 65ch;
    margin-inline: auto;
  }

  .pampille-wrapper > .nav-zone,
  .creation-filter,
  .creation-back,
  .main-button,
  .contact-form button,
  .scroll-invite {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mini-zone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .home-pampille-section {
    display: none;
  }

  .mobile-menu-trigger {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    left: 14px;
    z-index: 130;
    display: grid;
    width: 58px;
    height: 58px;
    padding: 4px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 50%;
    background: rgba(248, 245, 239, 0.82);
    box-shadow: 0 10px 28px rgba(63, 58, 54, 0.22);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    transition: transform var(--transition-soft), box-shadow var(--transition-soft);
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu-trigger img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(3px 5px 7px rgba(45, 50, 43, 0.24));
  }

  .mobile-menu-trigger:active {
    transform: scale(0.94);
  }

  .mobile-menu-trigger[aria-expanded="true"] {
    box-shadow: 0 12px 34px rgba(63, 58, 54, 0.28);
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: block;
    visibility: hidden;
    background: rgba(45, 50, 43, 0.34);
    opacity: 0;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: opacity var(--transition-soft), visibility var(--transition-soft);
  }

  .mobile-menu-backdrop.is-visible {
    visibility: visible;
    opacity: 1;
  }

  .mobile-menu {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 120;
    display: block;
    width: min(84vw, 340px);
    padding:
      max(98px, calc(env(safe-area-inset-top) + 84px))
      24px
      max(32px, env(safe-area-inset-bottom));
    overflow-y: auto;
    background:
      radial-gradient(circle at 14% 10%, rgba(143, 166, 142, 0.22), transparent 34%),
      linear-gradient(160deg, #fffdf9, var(--creme-clair));
    box-shadow: 22px 0 60px rgba(45, 50, 43, 0.20);
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform var(--transition-soft), visibility var(--transition-soft);
  }

  .mobile-menu.is-open {
    visibility: visible;
    transform: translateX(0);
  }

  .mobile-menu-close {
    position: absolute;
    top: max(20px, env(safe-area-inset-top));
    right: 18px;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(94, 115, 95, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.68);
    color: var(--vert-profond);
  }

  .mobile-menu-close svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
  }

  .mobile-menu-eyebrow {
    margin: 0 0 24px;
    color: rgba(63, 58, 54, 0.58);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-align: left;
    text-align-last: left;
    text-transform: uppercase;
  }

  .mobile-menu-navigation {
    display: grid;
    gap: 10px;
  }

  .mobile-menu-link {
    min-height: 58px;
    padding: 14px 18px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: transparent;
    color: var(--texte-chaud);
    font-size: 18px;
    font-weight: 650;
    text-align: left;
    transition:
      color var(--transition-soft),
      background var(--transition-soft),
      border-color var(--transition-soft),
      transform var(--transition-soft);
  }

  .mobile-menu-link::after {
    content: "›";
    float: right;
    color: rgba(94, 115, 95, 0.58);
    font-size: 24px;
    font-weight: 400;
    line-height: 0.8;
  }

  .mobile-menu-link.active {
    border-color: rgba(94, 115, 95, 0.16);
    background: rgba(143, 166, 142, 0.18);
    color: var(--vert-profond);
  }

  .mobile-menu-link:active {
    transform: scale(0.98);
  }

  .pampille-wrapper {
    width: min(560px, 95vw);
  }

  .hero-pampille {
    filter:
      drop-shadow(14px 18px 26px rgba(45, 50, 43, 0.27))
      drop-shadow(5px 7px 10px rgba(63, 58, 54, 0.14));
  }

  .nav-zone {
    font-size: 11px;
    padding: 7px 10px;
  }

  .pampille-wrapper > .nav-zone {
    padding: 8px 12px;
    font-size: 13px;
  }

  .slogan p {
    font-size: 15px;
  }
}

@media (max-width: 620px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item:active img {
    transform: scale(1.055);
  }
}

@media (max-width: 520px) {
  .creation-models-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .creation-model {
    border-radius: 14px;
  }

  .creation-filter {
    padding: 9px 14px;
    font-size: 13px;
  }

  .intro-logo {
    width: min(300px, 82vw, 36svh);
  }

  .intro-signature {
    font-size: clamp(36px, 11.5vw, 48px);
  }

  .scroll-invite {
    padding: 12px 19px;
    font-size: 14px;
  }

  .home-pampille-heading p {
    font-size: 11px;
    letter-spacing: 0.22em;
  }

  .nav-zone {
    font-size: 10px;
    padding: 6px 8px;
  }

  .slogan p {
    font-size: 13px;
  }

  .page-container h2 {
    font-size: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
