/* Le Raccord : accueil (nouvelle apparence, 06.12.2026), repris de la maquette « nouveau » (maquettes/nouveau/page.html).
   Charge seulement sur l'accueil, apres site.css (couleurs, police, en-tete, pied de page : site.css). */
/* l'en-tete flotte sur la photo, transparent, puis devient plein (accueil.js : entete()) */
body.home .hd{position:fixed;left:0;right:0;top:0;background:transparent;border-color:transparent;transition:background .35s,border-color .35s,opacity .6s ease .9s}
body.home .hd.plein,body.home .hd:has(.open){background:var(--papier);border-color:var(--ligne)}
body.home main{display:block}
/* la maquette remettait tout a zero (marges, soulignement) : pareil ici, sans peser sur les regles qui suivent (:where = priorite nulle) */
.acc :where(p,h1,h2,ul,li){margin:0;padding:0}
.acc :where(ul){list-style:none}
.acc :where(a){text-decoration:none;color:inherit}
#commander{padding-bottom:clamp(64px,7vw,110px)}
.hero{padding:0;z-index:auto}
.sec{position:static}
/* boutons de l'accueil (site.css a deja une .pill : les pastilles de remise). La vue plein ecran d'une piece (.e2-vue) est
   ajoutee a body, hors de .acc : elle prend les memes boutons (sinon « Voir la famille » etait vert et souligne, 06.12.2026) */
.acc .pill,.e2-vue .pill{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 20px;border-radius:99px;background:var(--encre);color:#fff;font-size:15px;font-weight:500;white-space:nowrap;transition:background .2s;text-decoration:none;border:0}
.acc .pill:hover,.e2-vue .pill:hover{background:var(--bleu)}
.acc .pill.clair,.e2-vue .pill.clair{background:transparent;color:inherit;border:1px solid currentColor}
.acc .pill.clair:hover,.e2-vue .pill.clair:hover{background:rgba(255,255,255,.08)}
.chip{display:inline-flex;align-items:center;gap:9px;height:40px;padding:0 16px 0 13px;border-radius:99px;background:rgba(255,255,255,.6);font-size:14.5px;transition:background .2s;text-decoration:none;color:var(--encre)}
.chip:hover{background:#fff}
.chip .ic{width:18px;height:18px}

/* ---------- accueil plein ecran ---------- */
.hero{position:relative;height:100svh;min-height:540px;overflow:hidden;background:#C9C8C4}
.sl{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease}
.sl.on{opacity:1}
.sl img{width:100%;height:100%;object-fit:cover;transform:scale(1.001);transition:transform 7.5s cubic-bezier(.3,0,.5,1)}
.sl.on img{transform:scale(1.06)}
.hero-b{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:0 var(--g) clamp(14px,2vh,24px)}
.hero-haut{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:clamp(14px,3vh,34px);transition:opacity .6s ease 1s}
.phrase{max-width:31ch;font-size:clamp(19px,1.9vw,27px);line-height:1.22;letter-spacing:-.012em;text-wrap:balance}
.vg{display:flex;align-items:center;gap:10px}
.vg-cap{font-size:14px;margin-right:6px;white-space:nowrap}
/* 05.12.2026 (nuit) : rond plus grand (46 -> 60 px) et piece entiere a ~72 % du diametre, avec de l'air (« elle respire pas ») */
.vg button{width:60px;height:60px;border-radius:50%;overflow:hidden;border:2px solid transparent;padding:0;background:#E4E1DB;transition:border-color .3s,transform .3s}
.vg button img{width:100%;height:100%;object-fit:cover}
.vg button.on{border-color:var(--encre)}
.vg button:hover{transform:scale(1.06)}
.nom{display:block;font-weight:560;font-stretch:125%;font-size:calc((100vw - 2 * var(--g)) / 7.1);line-height:.8;letter-spacing:-.045em;white-space:nowrap}
.nom-in{display:inline-flex;align-items:center;gap:.09em}
.nom-le,.nom-rac{display:inline-block;transition:transform 1.05s cubic-bezier(.16,1,.3,1)}
.nom .pt{width:.2em;height:.2em;transform:translateY(.02em);transition:transform .55s cubic-bezier(.34,1.56,.64,1) .72s}
html.intro .nom-le{transform:translateX(-125%)}
html.intro .nom-rac{transform:translateX(125%)}
html.intro .hero .pt{transform:scale(0)}
html.intro .hd,html.intro .hero-haut{opacity:0}
html.intro-img .sl.on{opacity:0}
/* ---------- sections ---------- */
.sec{padding:clamp(84px,11vw,170px) var(--g)}
.enonce{font-size:clamp(28px,4.3vw,66px);line-height:1.06;letter-spacing:-.028em;font-weight:440;max-width:29ch;text-wrap:pretty}
.enonce .pt{width:.24em;height:.24em;vertical-align:.05em;margin:0 .06em}
.trois{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--g);margin-top:clamp(56px,8vw,120px)}
.trois>div{padding-top:18px;border-top:1px solid var(--encre)}
.trois b{display:block;font-weight:540;font-size:clamp(30px,3.3vw,52px);line-height:1;margin-bottom:12px;white-space:nowrap}
.trois p{font-size:15px;color:var(--gris);max-width:30ch}

.cat-h{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:clamp(24px,3vw,40px)}
.h2{font-size:clamp(38px,5vw,76px);font-weight:540;line-height:.92}
.cat-h p{font-size:15px;color:var(--gris);max-width:32ch;text-align:right}
.rows{border-bottom:1px solid var(--ligne)}
.row{display:grid;grid-template-columns:clamp(44px,4vw,58px) minmax(0,1fr);align-items:center;gap:clamp(14px,1.8vw,26px);padding:12px 0;border-top:1px solid var(--ligne);transition:opacity .25s}
.row img{width:100%;aspect-ratio:1;object-fit:contain;background:#fff;border-radius:50%;padding:16%}
.row b{font-size:clamp(22px,2.55vw,38px);font-weight:470;letter-spacing:-.022em;line-height:1.1}
.row.fait b::after{content:'';display:inline-block;width:.22em;height:.22em;border-radius:50%;background:var(--rouge);margin-left:.3em;vertical-align:.1em}
@media (hover:hover) and (pointer:fine){.rows:hover .row{opacity:.42}.rows .row:hover{opacity:1}}
.flot{position:fixed;left:0;top:0;z-index:40;width:230px;height:170px;padding:12px;background:#fff;border-radius:10px;pointer-events:none;opacity:0;transition:opacity .25s;will-change:transform}
.flot.on{opacity:1}
.flot img{width:100%;height:100%;object-fit:contain}
.note{font-size:14px;color:var(--gris);margin-top:16px;display:flex;align-items:center;gap:8px}
.note .pt{width:7px;height:7px}
/* ---------- sertisseuse, facon page de montre ---------- */
/* images faites avec Gemini a partir des photos Tiemme : la video de la machine qui tourne, decoupee en images, puis le gros plan
   du sertissage ; nos chiffres et textes par-dessus. Depuis le 05.12.2026 (nuit) : PAR ETAPES (un cran de molette ou un geste = l'animation
   se joue toute seule jusqu'a l'etape suivante, comme la page Fabrication de l'ancien site) ; voir le script plus bas */
.sx{position:relative;height:620vh;background:#04122a;color:#fff}
.sx-stage{position:sticky;top:0;height:100svh;overflow:hidden}
.sx canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.sx-stage::before{content:'';position:absolute;top:0;bottom:0;left:0;width:52%;background:linear-gradient(90deg,rgba(4,18,42,.9),rgba(4,18,42,.62) 45%,rgba(4,18,42,0));z-index:1;pointer-events:none}
.sx-flash{position:absolute;inset:0;pointer-events:none;opacity:0;mix-blend-mode:screen;background:radial-gradient(circle at var(--fx,60%) var(--fy,50%),rgba(255,214,200,.9),rgba(235,60,45,.7) 3%,rgba(200,24,24,.28) 9%,rgba(200,24,24,0) 22%)}
.sx-txt{position:absolute;left:var(--g);top:0;bottom:0;width:min(40vw,540px);z-index:2;pointer-events:none}
.sx-step{position:absolute;left:0;right:0;top:50%;transform:translateY(calc(-50% + 22px));opacity:0;transition:opacity .45s,transform .7s cubic-bezier(.16,1,.3,1)}
.sx-step.on{opacity:1;transform:translateY(-50%);pointer-events:auto}
.sx-k{font-size:15px;color:rgba(255,255,255,.66);margin-bottom:16px;display:flex;align-items:center;gap:10px}
.sx-k .pt{width:8px;height:8px}
.sx-big{font-size:clamp(66px,9.4vw,156px);font-weight:560;line-height:.86}
.sx-big small{font-size:.3em;letter-spacing:-.01em;font-weight:450;margin-left:.12em}
.sx-mid{font-size:clamp(40px,4.6vw,74px);font-weight:540;line-height:.98;text-wrap:balance}
.sx-p{font-size:clamp(16px,1.35vw,19px);line-height:1.45;color:rgba(255,255,255,.76);margin-top:20px;max-width:34ch}
.sx-of div{display:grid;grid-template-columns:minmax(0,auto) minmax(0,1fr);align-items:baseline;gap:18px;padding:12px 0;border-top:1px solid rgba(255,255,255,.16)}
.sx-of b{font-size:clamp(34px,3.6vw,58px);font-weight:540;font-stretch:125%;letter-spacing:-.04em;white-space:nowrap;min-width:3.3em}
.sx-of span{font-size:15px;color:rgba(255,255,255,.8)}
.sx-fin{display:flex;flex-wrap:wrap;align-items:center;gap:14px 20px;margin-top:22px}
.sx-fin small{font-size:13px;color:rgba(255,255,255,.6);max-width:36ch}
.sx-bar{position:absolute;left:var(--g);right:var(--g);bottom:24px;height:2px;background:rgba(255,255,255,.14);z-index:2}
.sx-bar i{display:block;height:100%;background:var(--rouge);transform-origin:left;transform:scaleX(0)}
.sx-sans3d{height:auto}
.sx-sans3d .sx-stage{position:relative;height:auto;padding:110px var(--g) 80px}
.sx-sans3d canvas,.sx-sans3d .sx-bar{display:none}
.sx-sans3d .sx-txt{position:static;width:auto}
.sx-sans3d .sx-step{position:static;opacity:1;transform:none;margin-bottom:60px}
/* ---------- le catalogue dans l'espace (version 2) ---------- */
.es-halo{position:absolute;left:0;top:0;width:var(--hw,800px);height:var(--hw,800px);margin:calc(var(--hw,800px) / -2) 0 0 calc(var(--hw,800px) / -2);border-radius:50%;background:radial-gradient(closest-side,rgba(70,120,205,.28),rgba(36,72,140,.12) 48%,rgba(4,18,42,0));pointer-events:none;will-change:transform}
@keyframes es-flotte{0%,100%{transform:translate3d(0,-4px,0) rotate(-.8deg)}50%{transform:translate3d(0,5px,0) rotate(1deg)}}
.es-k{position:absolute;left:var(--g);top:calc(var(--hd) + 26px);z-index:3;margin:0}
.es-txt{position:absolute;left:var(--g);top:0;bottom:0;width:min(38vw,520px);z-index:3;pointer-events:none;display:flex;flex-direction:column;justify-content:center}
.es-noms{position:relative;font-size:clamp(36px,3.9vw,62px);height:calc(3 * .98em)}
.es-nom{position:absolute;left:0;right:0;bottom:0;margin:0;font-weight:540;line-height:.98;text-wrap:balance;opacity:0;transform:translateY(-10px);transition:opacity .18s,transform .3s}
.es-nom.on{opacity:1;transform:none;transition:opacity .45s .14s,transform .7s .1s cubic-bezier(.16,1,.3,1)}
.es-nom.on~.es-nom,.es-nom:has(~.es-nom.on){transform:translateY(-10px)}
.es-nom.on~.es-nom{transform:translateY(16px)}
.es-act{display:flex;align-items:center;flex-wrap:wrap;gap:14px 20px;margin-top:28px;pointer-events:auto}
.es-n{font-size:14px;color:rgba(255,255,255,.58);font-variant-numeric:tabular-nums;letter-spacing:.02em}
.es-n b{color:#fff;font-weight:500}
.es-tout{position:absolute;right:var(--g);bottom:44px;z-index:3;font-size:14px;color:rgba(255,255,255,.72);border-bottom:1px solid rgba(255,255,255,.28);padding-bottom:2px;transition:color .2s,border-color .2s}
.es-tout:hover{color:#fff;border-color:#fff}
/* ---------- le catalogue dans l'espace, VERSION 2 (06.12.2026, sa precision : « comme le graphe d'Obsidian ») ----------
   Les pieces ne suivent plus une ligne : elles flottent dans l'espace, reliees par des fils fins. Un cran = on avance vers la
   piece suivante (camera). On en attrape une : elle suit la main, ses voisines suivent un peu, tout revient. Appui maintenu =
   on la tourne (la sertisseuse tourne pour de vrai, les autres s'inclinent un peu). Clic court = son catalogue s'ouvre.
   La version 1 reste dans la page (cachee), selecteur « Version 1 · 2 » pour comparer. */
.e2{position:relative;height:calc(100svh + 10 * 62svh);background:#04122a;color:#fff}
.e2-stage{position:sticky;top:0;height:100svh;overflow:hidden}
.e2-fils{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none}
.e2-scene{position:absolute;inset:0;z-index:1}
.e2-p{position:absolute;left:0;top:0;display:block;transform-origin:50% 50%;will-change:transform,opacity;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none;outline-offset:6px;border-radius:8px}
.e2:not(.pret) .e2-p{visibility:hidden}
.e2-p b{position:relative;display:block;width:100%;height:100%;transform-origin:50% 50%}
.e2-p i{display:block;width:100%;height:100%;animation:es-flotte 7s ease-in-out infinite;animation-delay:calc(var(--k) * -1.7s)}
.e2-p img,.e2-p canvas{display:block;width:100%;height:100%;pointer-events:none;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.e2-p canvas{position:absolute;left:0;top:0;opacity:0;transition:opacity .5s}
.e2-p.film canvas{opacity:1}
.e2-p.film img{opacity:0;transition:opacity .5s}
.e2:not(.vu) .e2-p i{animation-play-state:paused}
@media (hover:hover) and (pointer:fine){.e2-p{cursor:grab}.e2-p.tire{cursor:grabbing}.e2-p.tourne{cursor:ew-resize}}
.e2-txt{top:auto;bottom:92px;justify-content:flex-end;width:min(50vw,680px)}
.e2-sous{position:absolute;inset:0;z-index:2;pointer-events:none}
.e2-sf{position:absolute;left:0;top:0;opacity:0;visibility:hidden;transition:opacity .3s,visibility 0s .3s}
.e2-sf.on{opacity:1;visibility:visible;transition:opacity .35s}
.e2-d{position:absolute;left:0;top:0;display:flex;align-items:center;gap:9px;font-size:13px;line-height:1.1;color:rgba(255,255,255,.68);white-space:nowrap;pointer-events:auto;padding:6px;margin:-12px 0 0 -9.5px;transition:color .2s;-webkit-tap-highlight-color:transparent}
.e2-d.g{flex-direction:row-reverse;margin-left:0}
.e2-d i{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.8);box-shadow:0 0 0 4px rgba(255,255,255,.07);flex:none;transition:background .2s,transform .2s}
.e2-d:hover,.e2-d:focus-visible{color:#fff}
.e2-d:hover i,.e2-d:focus-visible i{background:#C81818;transform:scale(1.35)}
/* ---------- commander ---------- */
.cmd{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(28px,5vw,80px);align-items:center}
.cmd .h2{font-size:clamp(34px,3.9vw,60px);line-height:1;text-wrap:balance}
.cmd-t>p{font-size:clamp(17px,1.4vw,20px);margin-top:22px;max-width:36ch}
.conds{list-style:none;margin-top:30px;border-top:1px solid var(--ligne)}
.conds li{padding:11px 0;border-bottom:1px solid var(--ligne);font-size:15px;display:flex;gap:12px;align-items:center}
.conds .ic{width:18px;height:18px;color:var(--gris)}
.cmd-ph{position:relative;aspect-ratio:5/4;border-radius:12px;overflow:hidden;background:#d3d1cc}
.cmd-ph>img{width:100%;height:100%;object-fit:cover}
.bulle{position:absolute;display:flex;gap:12px;align-items:center;background:#fff;color:var(--encre);padding:11px 18px 11px 11px;border-radius:16px;box-shadow:0 12px 32px rgba(8,40,88,.16);max-width:min(330px,80%);opacity:0;transform:translateY(16px) scale(.96);transition:opacity .5s,transform .7s cubic-bezier(.16,1,.3,1)}
.bulle i{width:38px;height:38px;border-radius:11px;background:var(--encre);color:#fff;display:grid;place-items:center;flex:none}
.bulle i .ic{width:19px;height:19px}
.bulle:nth-of-type(3) i{background:var(--ok,#1A7A4A)}   /* « Pret a Moudon » : vert (en stock), jamais rouge : avis du 06.12.2026 soir, « ca fait bizarre, juste l'inverse » */
.bulle b{display:block;font-size:15px;font-weight:600;line-height:1.25}
.bulle span{display:block;font-size:13.5px;color:var(--gris);line-height:1.35}
.bulle:nth-of-type(1){left:6%;top:9%}
.bulle:nth-of-type(2){right:5%;top:39%;transition-delay:.7s}
.bulle:nth-of-type(3){left:9%;bottom:10%;transition-delay:1.4s}
.cmd-ph.vu .bulle{opacity:1;transform:none}
.ex{position:absolute;right:12px;bottom:10px;font-size:12px;color:rgba(8,40,88,.7)}
/* ---------- telephone ---------- */
@media (max-width:760px){
  .hero-b{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
  .hero-haut{flex-direction:column;align-items:flex-start;gap:14px}
  .vg-cap{order:2}
  .trois{grid-template-columns:1fr;gap:18px}
  .cat-h{flex-direction:column;align-items:flex-start}
  .cat-h p{text-align:left}
  .row{grid-template-columns:48px minmax(0,1fr);gap:14px;padding:10px 0}
  .row b{font-size:21px}
  .sx{height:560vh}
  .sx-stage::before{display:none}
  .sx-stage::after{content:'';position:absolute;left:0;right:0;bottom:0;height:60%;background:linear-gradient(rgba(6,22,51,0),rgba(6,22,51,.88) 38%,var(--nuit));pointer-events:none;z-index:1}
  .sx-txt{left:var(--g);right:var(--g);width:auto;top:auto;bottom:calc(98px + env(safe-area-inset-bottom));height:44%}
  .sx-step{top:auto;bottom:0;transform:translateY(22px)}
  .sx-step.on{transform:none}
  .sx-big{font-size:clamp(58px,19vw,96px)}
  .sx-mid{font-size:clamp(32px,9vw,46px)}
  .sx-p{margin-top:12px;font-size:15.5px}
  .sx-of div{padding:7px 0;gap:12px}
  .sx-of b{font-size:clamp(26px,8vw,36px)}
  .sx-of span{font-size:13.5px}
  .sx-fin{margin-top:12px}
  .sx-bar{bottom:calc(78px + env(safe-area-inset-bottom))}
  .es-k{top:calc(var(--hd) + 16px)}
  .es-txt{left:var(--g);right:var(--g);width:auto;top:auto;bottom:calc(100px + env(safe-area-inset-bottom));justify-content:flex-end}
  .es-noms{font-size:clamp(28px,8vw,38px)}
  .es-act{margin-top:16px}
  .es-tout{top:calc(var(--hd) + 16px);bottom:auto;font-size:13.5px}
  .e2-d{font-size:12.5px}
  .cmd{grid-template-columns:1fr}
  .cmd-ph{aspect-ratio:4/5}
  .bulle:nth-of-type(2){top:42%}
  .bulle{padding:9px 14px 9px 9px;border-radius:14px}
  .bulle i{width:32px;height:32px}
}
/* entre 761 et 900 px, la barre du bas du site (site.css) est deja la : on remonte ce qui est colle en bas */
@media (min-width:761px) and (max-width:900px){
  .hero-b{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
  .sx-bar{bottom:calc(86px + env(safe-area-inset-bottom))}
  .es-tout{bottom:calc(100px + env(safe-area-inset-bottom))}
  .e2-txt{bottom:calc(150px + env(safe-area-inset-bottom))}
}
@media (prefers-reduced-motion: reduce){
  .es-p i{animation:none}
  .e2-p i{animation:none}
  .es-nom{transition:none}
  .sl img,.sl.on img{transform:none;transition:none}
  .sl{transition:opacity .3s}
  .bulle{transition:opacity .3s;transform:none}
}
/* Commander : la photo dans un <picture> (telephone : version en hauteur), lien vers Comment commander */
.cmd-ph picture{display:block;width:100%;height:100%}
.cmd-ph img{width:100%;height:100%;object-fit:cover}
.cmd-l{margin-top:28px}
/* page Offres (06.12.2026) : la scene de la sertisseuse suit directement le titre, puis les formules */
body.offres .page:has(+ .of-sx){min-height:0;padding-bottom:clamp(28px,4vw,48px)}
body.offres .of-suite{padding-top:clamp(40px,5vw,72px)}
/* espace au doigt (06.12.2026) : la piece prise par un appui maintenu grossit un peu (signe visible avant de la deplacer) */
.e2-p img{transition:transform .18s ease-out}.e2-p canvas{transition:opacity .5s,transform .18s ease-out}
.e2-p.prise img,.e2-p.prise canvas{transform:scale(1.08)}
.e2-p.prise{filter:drop-shadow(0 0 18px rgba(150,190,255,.45))}
/* au doigt (ecran tactile, 06.12.2026 soir) : la sertisseuse et l'espace font un ecran chacun, plus de longue section collante ;
   un glissement = une etape (accueil.js, pasDoigt, meme condition). La bande du bas (difference entre l'ecran avec et sans les
   barres du navigateur) garde le fond nuit quand les barres se cachent. */
@media (hover:none) and (pointer:coarse) and (prefers-reduced-motion:no-preference){
  .sx,.e2{height:auto;padding-bottom:calc(100lvh - 100svh)}
  .sx-stage,.e2-stage{position:relative}
}
/* au doigt : la vue plein ecran d'une piece de l'espace (on la tourne au doigt) */
.e2-vue{position:fixed;inset:0;z-index:200;background:#04122a;color:#fff;display:flex;flex-direction:column;align-items:stretch;opacity:0;visibility:hidden;transition:opacity .28s,visibility 0s .28s;touch-action:none;overscroll-behavior:contain;-webkit-user-select:none;user-select:none}
.e2-vue.on{opacity:1;visibility:visible;transition:opacity .28s}
.e2-vue-sc{position:relative;flex:1;min-height:0;display:grid;place-items:center;transform:scale(.94);transition:transform .5s cubic-bezier(.16,1,.3,1)}
.e2-vue.on .e2-vue-sc{transform:none}
.e2-vue-sc::before{content:'';position:absolute;left:50%;top:50%;width:min(110vw,720px);aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(closest-side,rgba(70,120,205,.3),rgba(36,72,140,.12) 48%,rgba(4,18,42,0));pointer-events:none}
.e2-vue-sc b{position:relative;display:block;will-change:transform}
.e2-vue-sc img,.e2-vue-sc canvas{display:block;pointer-events:none;-webkit-user-drag:none}
.e2-vue-aide{position:absolute;left:0;right:0;top:calc(env(safe-area-inset-top) + 76px);margin:0;text-align:center;font-size:13.5px;color:rgba(255,255,255,.62);transition:opacity .4s;pointer-events:none}
.e2-vue.tourne .e2-vue-aide{opacity:0}
.e2-vue-bas{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 clamp(20px,5vw,48px) calc(34px + env(safe-area-inset-bottom))}
.e2-vue-nom{margin:0;font-size:clamp(26px,7.4vw,40px);font-weight:540;line-height:1;text-wrap:balance}
.e2-vue-va{flex:none}
/* tres petit ecran (320 px) : « Raccords a compression » et le bouton debordaient a droite (controle du 06.12.2026) */
@media (max-width:359px){.e2-vue-bas{gap:12px}.e2-vue .pill{height:42px;padding:0 14px;font-size:14px}}
.e2-vue-x{position:absolute;top:calc(env(safe-area-inset-top) + 14px);right:14px;width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.32);background:rgba(4,18,42,.6);color:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
.e2-vue-x:focus-visible{outline:2px solid #fff;outline-offset:3px}

/* ================= ACCUEIL VITRINE COURTE (06.12.2026 soir, sa decision) =================
   Une seule grande animation (le catalogue dans l'espace), puis 4 portes a photo FIXE vers les pages. Retour a l'accueil complet :
   ACCUEIL_VITRINE = False dans construire.py. */
.enonce-l{margin-top:clamp(22px,3vw,36px)}
.enonce-l a{display:inline-flex;align-items:center;gap:8px;font-size:15px;color:var(--encre);border-bottom:1px solid var(--ligne);padding-bottom:3px;transition:border-color .2s}
.enonce-l a:hover{border-color:var(--encre)}
.enonce-l .ic{width:15px;height:15px}
.portes-g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,1.6vw,24px)}
.porte{display:flex;flex-direction:column;gap:6px;color:var(--encre)}
.porte-ph{display:block;aspect-ratio:4/5;border-radius:12px;overflow:hidden;background:#d3d1cc;margin-bottom:10px}
.porte-ph img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.porte-t{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:clamp(22px,2vw,30px);font-weight:500;letter-spacing:-.02em;line-height:1.1}
.porte-t .ic{width:18px;height:18px;flex:none;transition:transform .25s}
.porte-l{font-size:15px;color:var(--gris);line-height:1.4}
@media (hover:hover) and (pointer:fine){.porte:hover .porte-ph img{transform:scale(1.03)}.porte:hover .porte-t .ic{transform:translateX(4px)}}
@media (max-width:900px){.portes-g{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
  .porte-ph{aspect-ratio:1/1;margin-bottom:6px}
  .porte-t{font-size:19px}
  .porte-l{font-size:13.5px}
}
/* « Passer » : petit lien discret qui saute a la suite de la page (espace, sertisseuse) ; zones de la souris dans l'espace :
   la bande ou la molette fait defiler la page s'eclaircit a peine, et « Passer » s'allume. Sans texte de mode d'emploi. */
.e2.z-bas .e2-passer,.e2.z-haut .e2-passer{color:#fff;border-color:#fff}
.e2-stage::after{content:'';position:absolute;left:0;right:0;height:25%;pointer-events:none;opacity:0;transition:opacity .35s;z-index:2}
.e2.z-bas .e2-stage::after{bottom:0;opacity:1;background:linear-gradient(rgba(255,255,255,0),rgba(255,255,255,.045))}
.e2.z-haut .e2-stage::after{top:0;opacity:1;background:linear-gradient(rgba(255,255,255,.045),rgba(255,255,255,0))}
/* Comment commander : la photo et les bulles (venues de l'accueil d'avant) */
.cc-ph{margin:0 0 clamp(28px,4vw,48px)}
.cc-ph .cmd-ph{max-width:880px;aspect-ratio:16/9}
@media (max-width:760px){.cc-ph .cmd-ph{aspect-ratio:4/5}}

/* ---- accueil : phrase « rénovation » + ligne calme vers l'offre sertisseuse (06.12.2026 soir) ---- */
.enonce-s{margin-top:clamp(12px,1.6vw,20px);font-size:15px;line-height:1.45;color:var(--muted)}
.enonce-s + .enonce-2{margin-top:clamp(14px,1.8vw,22px)}
.enonce-2{margin-top:clamp(18px,2.4vw,30px);max-width:54ch;font-size:clamp(16px,1.35vw,20px);line-height:1.5;color:var(--encre)}
.enonce-o{margin-top:clamp(20px,2.6vw,32px);max-width:600px}
.enonce-o a{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 0;border-top:1px solid var(--ligne);border-bottom:1px solid var(--ligne);font-size:16px;font-weight:500;color:var(--encre);transition:border-color .2s}
.enonce-o a:hover{border-color:var(--encre)}
.enonce-o .ic{width:16px;height:16px;flex:none}
.enonce-o + .enonce-l{margin-top:clamp(18px,2.2vw,28px)}
.enonce-o + .enonce-o{margin-top:0}.enonce-o + .enonce-o a{border-top:0}
.enonce-c a{font-weight:400;font-size:15px;line-height:1.45;color:var(--encre)}
