/* ==========================================================================
   M Céramique — mise en page et composants
   ========================================================================== */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-texte);
  font-size: var(--t-texte);
  line-height: 1.65;
  color: var(--encre);
  background: var(--porcelaine);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-titre); font-weight: 350; line-height: 1.05; font-variation-settings: "SOFT" 100, "opsz" 120; letter-spacing: -.01em; }
em { font-style: italic; font-variation-settings: "SOFT" 100; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--vert-eau-profond); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--encre); color: #fff; border-radius: 8px; transition: transform var(--micro) var(--courbe); }
.evitement:focus { transform: translateY(72px); }

.conteneur { width: min(100% - 2 * var(--gouttiere), var(--largeur)); margin-inline: auto; position: relative; }

.label {
  font-size: var(--t-label); font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--vert-eau-profond); margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: .8em;
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.titre-section { font-size: var(--t-h2); margin-bottom: 1.4rem; max-width: 16ch; }
.titre-section em { color: var(--vert-eau-profond); }
.chapeau { font-size: var(--t-chapeau); line-height: 1.55; color: var(--encre-douce); max-width: 38ch; }


/* ---------- Texture céramique : grès moucheté + grain ---------- */
.texture { position: relative; background-color: var(--fond, var(--porcelaine)); isolation: isolate; }
.texture::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    url("../assets/img/texture-gres.png"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .18 0 0 0 0 .16 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 512px 512px, 220px 220px;
}
.texture::after {
  /* reflet d'émail, très doux */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 70% at 15% 0%, rgba(255,255,255,.55), transparent 60%);
}

.fond-motif { position: absolute; z-index: -1; pointer-events: none; color: var(--encre); opacity: .09; }
.fond-motif--montagnes { width: min(70vw, 820px); aspect-ratio: 520 / 270; right: -6%; bottom: 4%; }
.fond-motif--pin { width: min(80vw, 900px); aspect-ratio: 580 / 330; left: -12%; top: 6%; opacity: .1; }
.fond-motif--nuee { width: min(60vw, 700px); aspect-ratio: 620 / 380; right: -4%; top: 4%; opacity: .08; }
.fond-motif--roseaux { width: 130%; aspect-ratio: 800 / 300; left: -15%; bottom: -2px; color: #23414A; opacity: .12; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.5em; border-radius: 999px;
  font-size: .95rem; font-weight: 500; letter-spacing: .02em; text-decoration: none;
  border: 1px solid var(--encre);
  transition: transform var(--micro) var(--courbe), background-color var(--micro) var(--courbe), color var(--micro) var(--courbe);
}
.bouton svg { width: 18px; height: 18px; fill: currentColor; }
.bouton--plein { background: var(--encre); color: var(--porcelaine); }
.bouton--plein:hover { background: var(--vert-eau-profond); border-color: var(--vert-eau-profond); }
.bouton--trait { background: transparent; color: var(--encre); }
.bouton--trait:hover { background: var(--encre); color: var(--porcelaine); }
.bouton:active { transform: scale(.97); }

.rond {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--encre); background: rgba(255,255,255,.5);
  display: grid; place-items: center; transition: background-color var(--micro) var(--courbe), transform var(--micro) var(--courbe);
}
.rond svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rond:hover { background: var(--encre); color: var(--porcelaine); }
.rond:active { transform: scale(.94); }

.lien-fleche { display: inline-flex; gap: .5em; font-weight: 500; text-decoration: none; color: var(--vert-eau-profond); }
.lien-fleche span { transition: transform var(--micro) var(--courbe); }
.lien-fleche:hover span { transform: translateX(5px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-inline: var(--gouttiere);
  transition: background-color 400ms var(--courbe), box-shadow 400ms var(--courbe);
}
.nav.est-defile { background: rgba(251,251,248,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(31,43,46,.08); }
.nav__logo { display: block; width: 118px; flex: none; }
.logo { width: 100%; height: auto; }

.nav__liens { display: flex; gap: clamp(1rem, 2vw, 2rem); }
.nav__liens > a { font-size: .92rem; text-decoration: none; position: relative; padding-block: .4em; }
.nav__liens > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--courbe); }
.nav__liens > a:hover::after { transform: scaleX(1); }
.nav__reseaux-mobile { display: none; }

.nav__actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.icone-reseau { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background-color var(--micro) var(--courbe); }
.icone-reseau:hover { background: var(--vert-eau); }
.icone-reseau svg, .pastille svg, .reseau-grand svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.icone-reseau svg path, .pastille svg path, .reseau-grand svg path { fill: currentColor; stroke: none; }
.icone-reseau .plein, .reseau-grand .plein { fill: currentColor; }
.bouton--appel { min-height: 44px; padding: .5em 1.1em; background: var(--vert-eau); border-color: transparent; margin-left: .3rem; }
.bouton--appel:hover { background: var(--encre); color: var(--porcelaine); }

.nav__burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--encre); transition: transform 300ms var(--courbe); }
.nav__burger span:first-child { transform: translateY(-4px); }
.nav__burger span:last-child { transform: translateY(4px); }
.nav__burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__liens {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw, 360px);
    flex-direction: column; gap: 0; padding: 96px 32px 32px;
    background: var(--porcelaine); box-shadow: -20px 0 60px rgba(31,43,46,.12);
    transform: translateX(105%); transition: transform 500ms var(--courbe); visibility: hidden;
  }
  .nav__liens.est-ouvert { transform: none; visibility: visible; }
  .nav__liens > a { font-family: var(--font-titre); font-size: 1.7rem; padding-block: .45em; border-bottom: 1px solid rgba(31,43,46,.08); }
  .nav__liens > a::after { display: none; }
  .nav__reseaux-mobile { display: flex; gap: .6rem; margin-top: 1.6rem; }
  .reseau { padding: .5em 1em; border: 1px solid var(--encre); border-radius: 999px; text-decoration: none; font-size: .9rem; }
  .nav__burger { display: block; z-index: 2; }
  .nav .icone-reseau { display: none; }
}
@media (max-width: 560px) {
  .bouton--appel span { display: none; }
  .bouton--appel { width: 44px; padding: 0; }
  .nav__logo { width: 96px; }
}
body.menu-ouvert { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  z-index: 2; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 120px var(--gouttiere) 100px;
}

.carte-visite { width: min(100%, 1060px); display: grid; justify-items: center; }
.carte-visite__logo { width: clamp(230px, 40vw, 460px); height: auto; margin-bottom: clamp(-10px, -1vw, 0px); }
.carte-visite__dessin { margin: 0; position: relative; width: 100%; }
.carte-visite__dessin img { width: 100%; height: auto; }
.carte-visite__nom {
  margin: clamp(14px, 2.5vw, 30px) 0 0; font-size: clamp(.95rem, .8rem + .5vw, 1.3rem);
  letter-spacing: .42em; text-indent: .42em; color: var(--encre-douce);
}

/* Entrée : le logo, puis le dessin */
.js .carte-visite__logo, .js .carte-visite__dessin, .js .carte-visite__nom { opacity: 0; }
.js .carte-visite__logo { transform: translateY(16px); }
.js .carte-visite__dessin { transform: translateY(22px); }
.js .est-pret .carte-visite__logo { animation: entree 1100ms var(--courbe) forwards; }
.js .est-pret .carte-visite__dessin { animation: entree 1200ms var(--courbe) 260ms forwards; }
.js .est-pret .carte-visite__nom { animation: entree 1000ms var(--courbe) 620ms forwards; }
@keyframes entree { to { opacity: 1; transform: none; } }

.hero__suite { position: absolute; left: 50%; bottom: 22px; width: 44px; height: 44px; margin-left: -22px; display: grid; place-items: center; }
.hero__suite span { width: 1px; height: 34px; background: var(--encre); transform-origin: top; animation: goutte 2.4s var(--courbe) infinite; }
@keyframes goutte { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Signature : l'envol */
.envol { position: absolute; inset: 0; pointer-events: none; z-index: 3; --p: 0; }
.envol__oiseau {
  position: absolute; left: var(--x); top: var(--y); width: 22px; height: 14px; overflow: visible;
  fill: var(--encre);
  transform: translate(calc(var(--dx) * var(--p)), calc(var(--dy) * var(--p))) rotate(calc(var(--r) * var(--p))) scale(calc(.5 + (var(--s) - .5) * var(--p)));
  opacity: calc(1 - var(--p) * var(--p));
  will-change: transform;
}
.envol__oiseau use { transform-box: fill-box; transform-origin: 50% 70%; }
.envol.en-vol .envol__oiseau use { animation: aile 700ms ease-in-out infinite alternate; animation-delay: calc(var(--b) * -63ms); }
@keyframes aile { to { transform: scaleY(.55); } }

@media (max-width: 900px) {
  .hero { padding-top: 116px; }
  .carte-visite__logo { width: min(68vw, 320px); }
}

/* ---------- Histoire ---------- */
.histoire { padding-block: var(--section); overflow: hidden; }
.gestes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); margin-top: clamp(64px, 9vw, 120px); }
.geste { margin: 0; }
.geste picture, .geste img { display: block; }
.geste img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rayon); }
.geste figcaption { margin-top: .8rem; font-family: var(--font-titre); font-style: italic; font-size: var(--t-h3); }
@media (max-width: 700px) { .gestes { grid-template-columns: 1fr; } .geste img { aspect-ratio: 4 / 3; } }
.histoire__grille { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.histoire__visuel { position: relative; padding-bottom: 12%; }
.arche { border-radius: 999px 999px var(--rayon) var(--rayon); overflow: hidden; background: var(--vert-eau); }
.arche img { width: 100%; height: 100%; object-fit: cover; }
.histoire__visuel > .arche:first-child { aspect-ratio: 4 / 5; }
.histoire__vignette { position: absolute !important; width: 42%; aspect-ratio: 3 / 4; right: -8%; bottom: 0; border: 6px solid var(--biscuit); }
.arche--petite { border-radius: 999px 999px 10px 10px; }
.histoire__texte { padding-top: clamp(0px, 4vw, 60px); }

.chiffre { display: flex; align-items: center; gap: 1rem; margin: 2rem 0 2.6rem; }
.chiffre__valeur { font-family: var(--font-titre); font-size: clamp(4.5rem, 3rem + 5vw, 7.5rem); line-height: .9; font-weight: 300; color: var(--vert-eau-profond); font-variant-numeric: tabular-nums; }
.chiffre__legende { font-size: .95rem; line-height: 1.35; color: var(--encre-douce); }

.parcours { list-style: none; margin: 0; padding: 0; border-left: 1px solid rgba(31,43,46,.25); }
.parcours li { position: relative; display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .7rem 0 .7rem 1.6rem; }
.parcours li::before { content: ""; position: absolute; left: -5px; top: 1.25rem; width: 9px; height: 9px; border-radius: 50%; background: var(--biscuit); border: 1px solid var(--encre); }
.parcours li:last-child::before { background: var(--vert-eau-profond); border-color: var(--vert-eau-profond); }
.parcours__lieu { font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase; color: var(--vert-eau-profond); font-weight: 500; padding-top: .25em; }

@media (max-width: 900px) {
  .histoire__grille { grid-template-columns: 1fr; }
  .histoire__visuel { max-width: 520px; width: 88%; }
  .parcours li { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Collections : décor x forme ---------- */
.collections { position: relative; padding-block: var(--section); overflow: hidden; transition: background-color 900ms var(--courbe); }
.coll__peinture { position: absolute; z-index: -1; pointer-events: none; right: -4%; top: 6%; width: min(46vw, 620px); aspect-ratio: 1; opacity: .2; color: var(--encre); transition: opacity 600ms var(--courbe); }
.collections.change .coll__peinture { animation: peinture 1100ms var(--courbe); }
@keyframes peinture { from { opacity: 0; transform: translateY(20px); } }

.collections__onglets { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.6rem; }
.collections__onglets button {
  border: 1px solid rgba(31,43,46,.22); background: rgba(255,255,255,.5); color: var(--encre);
  border-radius: 999px; padding: .5em 1.3em; min-height: 44px; font-size: .95rem;
  transition: background-color var(--micro) var(--courbe), color var(--micro) var(--courbe), border-color var(--micro) var(--courbe);
}
.collections__onglets button:hover { border-color: var(--encre); }
.collections__onglets button[aria-selected="true"] { background: var(--encre); border-color: var(--encre); color: var(--porcelaine); }

.collections__entete { max-width: 46ch; margin-bottom: 2rem; }
.coll__titre { font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem); font-style: italic; font-weight: 300; line-height: .98; margin-bottom: .7rem; }
.coll__desc { font-size: var(--t-chapeau); line-height: 1.55; color: var(--encre-douce); }
.collections.change .coll__titre { animation: entree-piece 800ms var(--courbe) both; }
.collections.change .coll__desc { animation: entree-piece 800ms var(--courbe) 80ms both; }

/* ---------- Catalogue : forme x décor ---------- */
.filtres { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .7rem; }
.filtres--formes { margin-bottom: 1.4rem; }
.puce {
  border: 1px solid rgba(31,43,46,.22); background: rgba(255,255,255,.5); color: var(--encre);
  border-radius: 999px; padding: .45em 1.05em; min-height: 40px; font-size: .9rem;
  transition: background-color var(--micro) var(--courbe), color var(--micro) var(--courbe), border-color var(--micro) var(--courbe);
}
.puce:hover { border-color: var(--encre); }
.puce[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: var(--porcelaine); }
.filtres--formes .puce { font-size: .85rem; padding: .4em .9em; min-height: 36px; }
.catalogue__compte { font-size: var(--t-label); letter-spacing: .18em; text-transform: uppercase; color: var(--vert-eau-profond); margin-bottom: 1.4rem; }

.catalogue__grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.piece-cat {
  display: grid; gap: .6rem; padding: 0; border: 0; background: transparent; text-align: left;
  transition: transform var(--micro) var(--courbe);
}
.piece-cat__image { display: block; overflow: hidden; border-radius: var(--rayon); background: #EFEEE9; aspect-ratio: 1; }
.piece-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--courbe); }
.piece-cat:hover img { transform: scale(1.05); }
.piece-cat:hover { transform: translateY(-3px); }
.piece-cat__legende { display: grid; line-height: 1.3; }
.piece-cat__legende strong { font-weight: 500; font-size: .95rem; }
.piece-cat__legende span { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--vert-eau-profond); }
.piece-cat[hidden] { display: none; }
.js .piece-cat { animation: entree-piece 600ms var(--courbe) both; }
.catalogue__vide { margin-top: 1.4rem; font-style: italic; color: var(--encre-douce); }

/* Visionneuse */
.visionneuse { border: 0; padding: 0; margin: auto; max-width: min(96vw, 1100px); max-height: 92svh; background: transparent; overflow: visible; }
.visionneuse::backdrop { background: rgba(31,43,46,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.visionneuse[open] { display: flex; align-items: center; gap: .6rem; animation: fiche-entree 500ms var(--courbe); }
.visionneuse__corps { margin: 0; flex: 1; background: var(--porcelaine); border-radius: var(--rayon); overflow: hidden; }
.visionneuse__corps img { width: 100%; height: auto; max-height: 76svh; object-fit: contain; background: #EFEEE9; }
.visionneuse__corps figcaption { padding: .9rem 1.2rem; font-size: .95rem; }
.visionneuse .rond { background: var(--porcelaine); flex: none; }
.visionneuse__fermer { position: absolute; top: -62px; right: 0; }
@media (max-width: 700px) {
  .visionneuse[open] { flex-wrap: wrap; justify-content: center; }
  .visionneuse__corps { flex: 1 0 100%; order: -1; }
  .visionneuse__fermer { top: -56px; }
}

/* ---------- Sur mesure ---------- */
.mesure { padding-block: var(--section); overflow: hidden; }
.mesure__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.engagements { list-style: none; padding: 0; margin: 2rem 0 2.2rem; display: grid; gap: 1rem; }
.engagements li { display: grid; gap: .2rem; padding: 1rem 1.2rem; background: rgba(255,255,255,.55); border-radius: 14px; border-left: 3px solid var(--vert-eau-profond); }
.engagements span { color: var(--encre-douce); font-size: .98rem; }
.mesure__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.mesure__visuels { position: relative; padding-bottom: 18%; }
.mesure__photo { margin: 0; }
.mesure__photo--grande { border-radius: var(--rayon); overflow: hidden; aspect-ratio: 3 / 2; position: relative; }
.mesure__photo--grande img { width: 100%; height: 100%; object-fit: cover; }
.mesure__photo figcaption { position: absolute; left: 12px; top: 12px; padding: .35em .8em; background: rgba(251,251,248,.9); border-radius: 999px; font-size: .82rem; }
.mesure__photo--petite { position: absolute; width: 46%; aspect-ratio: 4 / 3; left: -6%; bottom: 0; border: 6px solid var(--vert-eau); border-radius: calc(var(--rayon) + 6px); overflow: hidden; }
.mesure__photo--petite img, .mesure__photo--vase img { width: 100%; height: 100%; object-fit: cover; }
.mesure__photo--vase { position: absolute; width: 28%; aspect-ratio: 3 / 4; right: 4%; bottom: -4%; border: 6px solid var(--vert-eau); }
@media (max-width: 900px) {
  .mesure__grille { grid-template-columns: 1fr; }
  .mesure__visuels { padding-bottom: 30%; }
  .mesure__photo--petite { left: 0; width: 52%; }
  .mesure__photo--vase { right: 0; width: 32%; }
}

.commandes { margin-top: clamp(72px, 9vw, 130px); }
.commandes__titre { font-size: var(--t-h3); font-style: italic; margin-bottom: .6rem; }
.commandes__texte { color: var(--encre-douce); max-width: 46ch; margin-bottom: 1.8rem; }
.commandes__grille { columns: 2 340px; column-gap: clamp(10px, 1.6vw, 20px); }
.commande { margin: 0 0 clamp(10px, 1.6vw, 20px); break-inside: avoid; border-radius: var(--rayon); overflow: hidden; }
.commande img { width: 100%; height: auto; display: block; }
.commande--vide { display: grid; place-items: center; aspect-ratio: 4 / 3; background: rgba(255,255,255,.35); border: 1px dashed rgba(31,43,46,.25); }
.commande--vide svg { width: 56px; height: 56px; fill: var(--encre); opacity: .15; }

/* ---------- Joyeuse ---------- */
.joyeuse { padding-block: var(--section); }
.joyeuse__grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.arche--large { aspect-ratio: 4 / 5; }
.joyeuse__visuel { position: relative; }
.joyeuse__vignette { position: absolute; z-index: 2; width: 46%; right: -8%; bottom: 6%; border-radius: var(--rayon); overflow: hidden; border: 6px solid var(--porcelaine); box-shadow: 0 30px 50px -30px rgba(31,43,46,.4); }
.joyeuse__vignette img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.label-vma { display: grid; grid-template-columns: 150px 1fr; gap: 1.4rem; align-items: center; margin: 2.2rem 0; padding: 1.2rem; background: #fff; border-radius: var(--rayon); box-shadow: 0 1px 0 rgba(31,43,46,.06), 0 20px 40px -30px rgba(31,43,46,.3); }
.label-vma p { margin: 0; font-size: .98rem; }
.vma { width: 100%; height: auto; }
.polinno { padding-top: 1.6rem; border-top: 1px solid rgba(31,43,46,.12); }
.polinno h3 { font-size: var(--t-h3); margin-bottom: .7rem; }
.polinno p { color: var(--encre-douce); max-width: 50ch; }
@media (max-width: 900px) {
  .joyeuse__grille { grid-template-columns: 1fr; }
  .joyeuse__visuel { max-width: 460px; width: 86%; }
  .joyeuse__vignette { right: -12%; }
  .label-vma { grid-template-columns: 1fr; }
  .vma { max-width: 180px; }
}

/* ---------- Associées ---------- */
.associees { padding-block: var(--section); overflow: hidden; }
.associees__entete { margin-bottom: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.associees__boutique { aspect-ratio: 4 / 5; }
.associee { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.associee + .associee { margin-top: clamp(64px, 9vw, 130px); }
.associee--inverse .associee__texte { order: 2; }
.associee__marque { font-size: var(--t-label); letter-spacing: .2em; text-transform: uppercase; color: var(--vert-eau-profond); font-weight: 500; margin-bottom: .4rem; }
.associee__nom { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-style: italic; margin-bottom: 1.2rem; }
.associee__texte > p { color: var(--encre-douce); max-width: 46ch; }
.produits { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.produits li { padding: .3em .85em; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid rgba(31,43,46,.12); font-size: .88rem; }
.associee__liens { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; margin-top: 1.4rem; }

/* Fenêtre de navigateur : aperçu du site partenaire */
.fenetre { display: block; text-decoration: none; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -40px rgba(31,43,46,.45), 0 0 0 1px rgba(31,43,46,.08); transition: transform 500ms var(--courbe); }
.fenetre:hover { transform: translateY(-6px); }
.fenetre__barre { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F1F4F3; border-bottom: 1px solid rgba(31,43,46,.08); }
.fenetre__barre i { width: 10px; height: 10px; border-radius: 50%; background: #D5DCDA; }
.fenetre__url { margin-left: 10px; flex: 1; padding: 4px 12px; border-radius: 999px; background: #fff; font-size: .82rem; color: var(--encre-douce); }
.fenetre__url::after { content: "  ↗"; }
.fenetre__ecran { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; padding: 6px; aspect-ratio: 16 / 11; }
.fenetre__img { display: block; overflow: hidden; border-radius: 8px; }
.fenetre__img--a { grid-row: span 2; }
.fenetre__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--courbe); }
.fenetre:hover .fenetre__img img { transform: scale(1.04); }
@media (max-width: 900px) {
  .associee, .associees__entete { grid-template-columns: 1fr; }
  .associees__boutique { max-width: 420px; width: 80%; }
  .associee--inverse .associee__texte { order: 0; }
}

/* ---------- Contact ---------- */
.contact { padding-block: var(--section) calc(var(--section) + 60px); overflow: hidden; }
.contact__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.coordonnees { margin: 2rem 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 2rem; }
.coordonnees dt { font-size: var(--t-label); letter-spacing: .18em; text-transform: uppercase; color: var(--vert-eau-profond); font-weight: 500; margin-bottom: .2rem; }
.coordonnees dd { margin: 0; font-size: 1.08rem; overflow-wrap: anywhere; }
.lien-trace { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.suivre__titre { font-family: var(--font-titre); font-size: var(--t-h3); margin-bottom: .9rem; }
.suivre__liens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.reseau-grand {
  display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; border-radius: 16px; background: var(--encre); color: var(--porcelaine); text-decoration: none;
  transition: transform var(--micro) var(--courbe), background-color var(--micro) var(--courbe);
}
.reseau-grand:hover { background: var(--vert-eau-profond); transform: translateY(-3px); }
.reseau-grand svg { width: 30px; height: 30px; flex: none; }
.reseau-grand span { display: grid; line-height: 1.25; }
.reseau-grand small { opacity: .75; font-size: .82rem; }

.carte { position: relative; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--eau-pale); margin-bottom: 1rem; }
.carte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.55); transition: filter 600ms var(--courbe); }
.carte iframe:hover { filter: none; }
@media (max-width: 900px) {
  .contact__grille { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .coordonnees, .suivre__liens { grid-template-columns: 1fr; }
  .carte { aspect-ratio: 4 / 5; }
}

/* ---------- Pied de page ---------- */
.pied { background: var(--encre); color: #DCE6E3; padding: 28px 0 32px; font-size: .9rem; }
.pied__grille { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; }
.pied p { margin: 0; }
.pied a { color: inherit; }
.pied__liens { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }


/* ---------- Pages légales ---------- */
.legal { padding: 130px var(--gouttiere) var(--section); }
.legal__col { max-width: 720px; margin-inline: auto; }
.legal h1 { font-size: var(--t-h2); margin-bottom: 2rem; }
.legal h2 { font-size: var(--t-h3); margin: 2.2rem 0 .8rem; }

/* ---------- Overlay d'appel ---------- */
.appel {
  --fond: var(--vert-eau);
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: var(--gouttiere); border: 0; color: var(--encre);
  display: none; place-items: center; overflow-y: auto;
}
.appel[open] { display: grid; }
.appel::backdrop { background: transparent; }
.appel.est-ouvert { animation: appel-fond 500ms var(--courbe) both; }
@keyframes appel-fond { from { opacity: 0; } }
.appel__fermer { position: absolute; top: 16px; right: var(--gouttiere); }
.appel__contenu { text-align: center; display: grid; justify-items: center; }
.appel__label { justify-content: center; }
.appel__label::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.appel__numero {
  font-family: var(--font-titre); font-weight: 300; font-variation-settings: "SOFT" 100, "opsz" 144;
  font-size: clamp(3rem, 1rem + 10vw, 10rem); line-height: 1; letter-spacing: -.02em;
  text-decoration: none; white-space: nowrap; margin: .2em 0 .35em; font-variant-numeric: tabular-nums;
}
.appel__paire { display: inline-block; }
.appel.est-ouvert .appel__paire { animation: appel-chiffre 900ms var(--courbe) both; animation-delay: calc(120ms + var(--i) * 70ms); }
@keyframes appel-chiffre { from { opacity: 0; transform: translateY(.35em); } }
.appel__numero:hover .appel__paire { color: var(--vert-eau-profond); }
.appel__texte { color: var(--encre-douce); font-size: var(--t-chapeau); line-height: 1.45; }
.appel__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin: 1rem 0 1.6rem; }
.appel.est-ouvert .appel__label, .appel.est-ouvert .appel__texte, .appel.est-ouvert .appel__actions, .appel.est-ouvert .appel__alt { animation: appel-chiffre 900ms var(--courbe) 480ms both; }
.appel__alt { font-size: .95rem; color: var(--encre-douce); margin: 0; }
@media (max-width: 480px) {
  .appel__numero { font-size: 13.5vw; }
  .appel__actions { flex-direction: column; width: 100%; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .js .hero__logo, .js .hero__dessin .piece, .js .hero__dessin .etagere { opacity: 1; transform: none; }
  .envol { --p: 0 !important; }
  .envol__oiseau use { animation: none !important; }
  .hero__suite span { animation: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
