/*bords*/:root { --bord-b1: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAABCAYAAACv43fXAAAATElEQVR4nGP8//8/A5UByEBGIuWxsXHJ49OP7AlkM3B5Dped6PrwmYELkKNnFIyCgQCMWPIOCGBLv9jyCTaALocrj+IChMoPStWjAABr8Rz/8jJHQwAAAABJRU5ErkJggg==); }/*fin bords*/
/* Couche du site par-dessus le kit design/web : police locale, nuit seule, vide à la place des filets, rangées asymétriques. Aucune couleur écrite ici. */
@font-face { font-family: 'Hanken Grotesk'; src: url("fonts/HankenGrotesk.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

/* Échelle d'espacement (tour 5). Trois écarts, chacun le double du précédent, au-dessus de l'interligne (environ 10 px de vide entre deux lignes d'un même texte) :
   e1, ce qui va ensemble : un titre et ce qui le prolonge (chapeau, adresse, texte d'une section empilée), deux items d'une liste, un nom et sa description ;
   e2, deux groupes d'une même section : deux formats, une liste et la note qui la suit, le chapeau et le contact, l'adresse et le bouton copier ;
   e3, deux sections. Rien d'autre que ces trois valeurs ne sépare des blocs. */
:root { --e1: 1.5rem; --e2: 3rem; --e3: 6rem; --gouttiere: clamp(1.5rem, 6vw, 6rem);
  --masque-pied: linear-gradient(to top, canvastext 0, canvastext 30%, color-mix(in srgb, canvastext 97.2%, transparent) calc(30% + (100% - 30%) * 0.1), color-mix(in srgb, canvastext 89.6%, transparent) calc(30% + (100% - 30%) * 0.2), color-mix(in srgb, canvastext 78.4%, transparent) calc(30% + (100% - 30%) * 0.3), color-mix(in srgb, canvastext 64.8%, transparent) calc(30% + (100% - 30%) * 0.4), color-mix(in srgb, canvastext 50.0%, transparent) calc(30% + (100% - 30%) * 0.5), color-mix(in srgb, canvastext 35.2%, transparent) calc(30% + (100% - 30%) * 0.6), color-mix(in srgb, canvastext 21.6%, transparent) calc(30% + (100% - 30%) * 0.7), color-mix(in srgb, canvastext 10.4%, transparent) calc(30% + (100% - 30%) * 0.8), color-mix(in srgb, canvastext 2.8%, transparent) calc(30% + (100% - 30%) * 0.9), transparent 100%);
  --rapide: 220ms; --entree: 560ms; --courbe: cubic-bezier(0.2, 0.9, 0.25, 1); }
@media (max-width: 52rem) { :root { --e1: 1.25rem; --e2: 2.5rem; --e3: 5rem; } }
/* Les écarts sont des vides visibles, d'encre à encre : une marge CSS en retire l'interlignage qui s'ajoute déjà au-dessus et au-dessous d'un texte (c1 entre deux lignes proches, c2 entre deux blocs), mesuré sur les captures. */
:root { --c1: 0.75rem; --c2: 1.25rem; }
@media (max-width: 52rem) { :root { --c1: 0.6rem; --c2: 0.9rem; } }

/* Les marges du kit (h2 + *, p, h2 margin-top) sont remises à zéro : seule l'échelle ci-dessus place les blocs. */
main h2, main h3, main p, main ul, main ol, main dl, main figure, .pied-fond h2, .pied-fond p, .bandeau h1, .bandeau p { margin: 0; }
main h1 + *, main h2 + *, main h3 + *, .bandeau h1 + * { margin-top: 0; }

/* Logo : un seul fichier (logo.js), le SVG prend la couleur du texte. */
.nav { padding: var(--e1) 0 0; align-items: center; }
.nav .marque { display: flex; align-items: center; }
.nav .marque, .pied [data-logo] { color: var(--encre-papier); }
.nav .marque [data-logo] svg { display: block; height: 1.35rem; width: auto; }
.nav ul { gap: var(--e1) var(--e2); }
.pied [data-logo] svg { display: block; height: 2.4rem; width: auto; }
.nav li { white-space: nowrap; }
@media (max-width: 52rem) { .nav { flex-direction: column; align-items: flex-start; gap: var(--e1); } .nav .marque [data-logo] svg { height: 1.2rem; } .nav ul { gap: var(--e1); } }

/* Bandeau : nav, puis le titre à e2, le chapeau à e1, le contact à e2. */
.bandeau .titre, .bandeau.texte-haut .titre { margin: calc(var(--e2) - var(--c2)) 0 0; padding: 0 0 var(--e3); position: relative; z-index: 1; }
.bandeau h1 { max-width: 13em; }
.bandeau h1 + .chapeau { margin-top: calc(var(--e1) - var(--c1)); }
.bandeau .chapeau { max-width: 30rem; }
.bandeau .chapeau + * { margin-top: calc(var(--e2) - var(--c1)); }
@media (max-width: 52rem) { .bandeau .chapeau + * { margin-top: calc(var(--e2) - 1rem); } }
.bandeau .note { color: var(--encre-ciel); max-width: 30rem; margin-top: var(--e1); }
/* Bandeau court (article) : le fond y prend le cadrage « bannière » (data-cadrage, fond.js) sur grand écran, l'arc passe en bas à droite, loin du titre ; au cadrage 16-9 du tour 4 il traversait le titre et le chapeau. */
.bandeau.court { min-height: clamp(22rem, 52vh, 30rem); }
.bandeau.grand { min-height: clamp(34rem, 100vh, 46rem); }
/* Bandeau grand (accueil, offre) : la première section remonte dans le bas fondu du bandeau, pour que le vide sous le contact reste près de deux e3. */
@media (min-width: 52rem) { .grand + main.page { margin-top: calc(var(--e3) * -1.5); } .accueil + main.page { margin-top: calc(var(--e3) * -2); } .court + main.page { margin-top: calc(var(--e3) * -1); } }
/* Téléphone : l'arc de la planète passe à e2 sous le bouton copier, la première section remonte dans le bas fondu du bandeau. */
@media (max-width: 52rem) { .bandeau.court { min-height: 30rem; } .bandeau.grand { min-height: 0; } .bandeau.grand .titre { padding-bottom: 27rem; } .grand + main.page { margin-top: -15rem; } }
/* Le fond d'un bandeau se fond dans la page par le bas : aucune arête de canvas. */
.bandeau > .fond-plan { -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 55%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0.3) 84%, rgba(0,0,0,0.06) 92%, transparent 97%); mask-image: linear-gradient(to bottom, #000 0, #000 55%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0.3) 84%, rgba(0,0,0,0.06) 92%, transparent 97%); }

/* Sections : e3 entre deux, titre à gauche et contenu à droite sur grand écran (e3 entre les colonnes), empilés à e1 sur téléphone. */
main.page { position: relative; z-index: 1; padding-top: var(--e2); }
main > section + section { margin-top: calc(var(--e3) - var(--c2)); }
.rangee { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: calc(var(--e1) - 0.5rem); }
@media (min-width: 52rem) { .rangee { grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); column-gap: var(--e3); align-items: start; } }
.rangee .corps { min-width: 0; }
.corps > * + * { margin-top: calc(var(--e1) - var(--c1)); }
.corps > ul + *, .corps > ol + *, .corps > dl + *, .corps > figure + *, .corps > * + h3 { margin-top: calc(var(--e2) - var(--c2)); }
.rangee .entete h3 + .prix { margin-top: calc(var(--e1) - var(--c1)); }
.second { color: var(--texte-second); }
.second a { white-space: nowrap; }

/* Listes L1 : numéros en chiffres tabulaires dans la marge (dans l'écart des colonnes sur grand écran, dans une gouttière étroite sur téléphone), e1 entre deux items. */
.corps ul { max-width: 40rem; counter-reset: n; }
.corps ul > li { counter-increment: n; position: relative; padding: 0; margin: 0; line-height: 1.5; }
.corps ul > li + li { margin-top: calc(var(--e1) - var(--c1)); }
.corps ul > li::before { display: block; content: counter(n, decimal-leading-zero); position: absolute; left: auto; right: calc(100% + var(--e1)); top: 0.28em; width: auto; height: auto; background: none; font-size: var(--t-etiquette); font-weight: 500; color: var(--texte-second); font-variant-numeric: tabular-nums; }
@media (max-width: 52rem) { .corps ul > li { padding-left: 2.25rem; } .corps ul > li::before { right: auto; left: 0; } }

/* Formats : nom et prix sur une ligne, description à e1, e2 entre deux formats. */
.prix { color: var(--accent); font-weight: 700; font-size: calc(var(--t-corps) * 1.05); line-height: 1.25; font-variant-numeric: tabular-nums; }
.lignes > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--e1); align-items: baseline; }
.lignes > div + div { margin-top: calc(var(--e2) - var(--c2)); }
.lignes dd { margin: 0; }
.lignes dd:last-child { grid-column: 1 / -1; margin-top: calc(var(--e1) - var(--c1)); color: var(--texte-second); }
@media (max-width: 40rem) { .lignes > div { grid-template-columns: minmax(0, 1fr); } }
.lignes dt { font-weight: 700; } .lignes dt a { color: inherit; text-decoration: none; } .lignes dt a:hover { color: var(--accent); }

/* Qui je suis : une cote de durée, le texte à e2 dessous. Trait fin, traits d'attache, petites obliques aux extrémités, valeur au-dessus, bornes dessous. */
.presentation .corps > p { font-size: calc(var(--t-corps) * 1.15); }
.duree { display: block; max-width: 36rem; font-size: var(--t-note); }
.duree-valeur { display: block; font-weight: 600; color: var(--texte); }
.duree-trait { position: relative; display: block; height: 1.1rem; margin-top: calc(var(--e1) * 0.5); color: var(--trait); }
.duree-trait i { position: absolute; display: block; background: currentColor; }
.duree-trait .t { left: 0; right: 0; top: 50%; height: var(--trait-filet); transform-origin: left center; }
.duree-trait .a { top: 0; bottom: 0; width: var(--trait-filet); transform-origin: center bottom; }
.duree-trait .a0 { left: 0; } .duree-trait .a1 { left: var(--x); } .duree-trait .a2 { right: 0; }
.duree-trait .o { top: 50%; width: var(--trait-filet); height: 0.7rem; margin-top: -0.35rem; transform: rotate(45deg); }
.duree-trait .o0 { left: 0; } .duree-trait .o1 { left: var(--x); } .duree-trait .o2 { right: 0; }
.duree-bornes { display: grid; grid-template-columns: var(--x) minmax(0, 1fr); margin-top: calc(var(--e1) * 0.5); color: var(--texte-second); line-height: 1.4; }
.duree-bornes span { padding-right: var(--e1); }
.duree-bornes span + span { padding: 0 0 0 0.6rem; }
.duree-bornes span:first-child { padding-left: 0.6rem; }
.duree + p { margin-top: calc(var(--e2) - var(--c1)); }

/* Boutons : vides, contour très fin, tracé comme une cote au survol (quatre côtés l'un après l'autre, 220 ms) ; pression : un verre fin au reflet irisé très discret (design/web/composants.css). */
.bouton, .fleche { position: relative; isolation: isolate; display: inline-block; background-color: transparent; color: inherit; font-weight: 500; font-size: var(--t-note); line-height: 1.4; padding: calc(var(--e1) * 0.4) var(--e1); cursor: pointer; text-decoration: none;
  border: var(--trait-filet) solid color-mix(in srgb, currentColor 32%, transparent); background-origin: border-box; background-repeat: no-repeat;
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-position: left top, right top, right bottom, left bottom; background-size: 0 var(--trait-filet), var(--trait-filet) 0, 0 var(--trait-filet), var(--trait-filet) 0;
  transition: background-size 55ms linear 0ms, transform 150ms ease; }
.bouton:hover, .fleche:hover, .bouton:focus-visible, .fleche:focus-visible { background-color: transparent; background-size: 100% var(--trait-filet), var(--trait-filet) 100%, 100% var(--trait-filet), var(--trait-filet) 100%; }
.bouton:hover, .fleche:hover { transition-delay: 0ms, 55ms, 110ms, 165ms; }
.bandeau .bouton { color: var(--encre-papier); background-color: transparent; }
.fleche { padding: 0; display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; color: var(--texte); }
.fleche svg { width: 1rem; height: 1rem; stroke: currentColor; fill: none; stroke-width: 1.4; }
.fleche[disabled] { opacity: 0.35; cursor: default; }
.bouton::before, .fleche::before, .copier .verre { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: linear-gradient(112deg, transparent 24%, color-mix(in srgb, var(--serie-4) 26%, transparent) 40%, color-mix(in srgb, var(--serie-3) 20%, transparent) 51%, color-mix(in srgb, var(--serie-1) 26%, transparent) 62%, transparent 76%) 100% 0 / 320% 100% no-repeat, linear-gradient(180deg, color-mix(in srgb, var(--encre-papier) 7%, transparent), color-mix(in srgb, var(--encre-papier) 2%, transparent));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--encre-papier) 28%, transparent), inset 0 -8px 14px -8px color-mix(in srgb, var(--serie-1) 30%, transparent);
  transition: opacity 260ms ease-out, background-position 260ms ease-out; }
.bouton:active, .fleche:active:not([disabled]), .copier:active { transform: translateY(2px); transition-duration: 100ms; }
.bouton:active::before, .fleche:active:not([disabled])::before, .copier:active .verre, .presse::before, .presse .verre { opacity: 1; background-position: 36% 0, 0 0; transition-duration: 100ms; }

/* Copier, B1 et K1 : deux filets haut et bas dont les bouts se dissolvent en grain, à e2 de l'adresse (e1 dessous sur téléphone, le bouton aligné sur l'adresse). Au survol les filets s'étendent ; à la copie le cadre se ferme d'un cran et le bouton devient « Copié » avec une coche tracée. */
.contact { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: var(--e1) var(--e2); }
.contact .adresse { display: inline-block; font-weight: 600; color: var(--encre-papier); }
.copier { position: relative; isolation: isolate; display: inline-grid; place-items: center; padding: calc(var(--e1) * 0.4) var(--e1); background: none; color: var(--encre-papier); font: 500 var(--t-note) / 1.4 var(--police-texte); cursor: pointer; border: var(--trait-filet) solid transparent; transition: border-color 140ms, transform 150ms ease; }
.copier::before, .copier::after { content: ""; position: absolute; left: -0.2rem; right: -0.2rem; height: var(--trait-filet); background: currentColor; pointer-events: none; -webkit-mask: var(--bord-b1) 0 0 / 100% 100% no-repeat; mask: var(--bord-b1) 0 0 / 100% 100% no-repeat; transition: left 220ms var(--courbe), right 220ms var(--courbe), opacity 160ms; }
.copier::before { top: calc(var(--trait-filet) * -1); } .copier::after { bottom: calc(var(--trait-filet) * -1); }
.copier:hover::before, .copier:hover::after, .copier:focus-visible::before, .copier:focus-visible::after { left: -0.9rem; right: -0.9rem; }
.copier.ok { border-color: currentColor; }
.copier.ok::before, .copier.ok::after { opacity: 0; }
.copier .etats { display: grid; }
.copier .etats > span { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; }
.copier .fait { opacity: 0; }
.copier.ok .txt { opacity: 0; } .copier.ok .fait { opacity: 1; }
.ico-coche { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
.ico-coche path { stroke-dasharray: 20; stroke-dashoffset: 20; }
.copier.ok .ico-coche path { stroke-dashoffset: 0; transition: stroke-dashoffset 220ms cubic-bezier(0.3, 0.7, 0.2, 1); }
.copie-etat { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fantome { position: absolute; pointer-events: none; white-space: nowrap; font-weight: 600; color: var(--encre-lavande); -webkit-mask-image: radial-gradient(circle at 1px 1px, #000 0.6px, transparent 0.95px); -webkit-mask-size: 2px 2px; mask-image: radial-gradient(circle at 1px 1px, #000 0.6px, transparent 0.95px); mask-size: 2px 2px; transform-origin: 0 50%; }
@media (max-width: 52rem) { .contact { flex-direction: column; align-items: flex-start; } .contact .copier { margin-left: calc(var(--e1) * -1); } }

/* Pied de page : un fond brume ou aurore qui émerge de la page par un fondu ; titre, adresse à e1, liens et monogramme à e3. */
.pied-fond { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; margin-top: var(--e3); color: var(--encre-papier); }
.pied-fond > .fond-plan { -webkit-mask-image: var(--masque-pied); mask-image: var(--masque-pied); }
.pied-fond > .page { position: relative; width: 100%; padding-top: var(--e3); }
.pied-fond h2 { font-size: var(--t-titre-2); }
.pied-fond h2 + .contact { margin-top: calc(var(--e1) - 0.6rem); }
.pied-fond a { color: var(--encre-papier); }
.pied-fond .pied { padding: calc(var(--e3) - 2.5rem) 0 var(--e2); color: var(--encre-ciel); align-items: flex-end; }
.pied-fond .pied > span:first-child { display: flex; gap: var(--e1); }
.pied-fond .pied .signature { color: var(--encre-papier); }

/* Article */
.article .colonne { max-width: var(--largeur-texte); }
.article .colonne > * + * { margin-top: calc(var(--e1) - var(--c1)); }
.article .colonne > * + h2 { margin-top: var(--e3); }
.article .colonne > .chiffre, .article .colonne > .chiffre + * { margin-top: var(--e2); }
.figure-donnee { padding: var(--e2) 0; }
.figure-donnee .legende { margin-top: var(--e1); }

/* Diaporama des apps : une app par vue, défilement au doigt, flèches et clavier. Le rail est celui du tour 4. */
.apps-vue > h2 + .second { margin-top: calc(var(--e1) - 1rem); }
.diapo { margin-top: calc(var(--e2) - 2rem); }
.apps-vue .apres { margin-top: calc(var(--e2) - 0.6rem); }
.diapo-piste { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; overscroll-behavior-x: contain; }
.diapo-piste::-webkit-scrollbar { display: none; }
.diapo-piste:focus-visible { outline: var(--trait-fin) solid var(--accent); outline-offset: 6px; }
.slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--e2); align-items: center; }
@media (min-width: 52rem) { .slide { grid-template-columns: minmax(0, 0.62fr) minmax(0, 2fr); gap: var(--e2); } }
.slide .icone { width: 4rem; height: 4rem; border-radius: 0.95rem; display: block; transition: transform var(--rapide) var(--courbe); }
.slide:hover .icone { transform: scale(1.06) rotate(-2deg); }
.slide h3 { margin: var(--e1) 0 0; font-size: var(--t-sous-titre); }
.slide .ligne-app { color: var(--texte-second); margin: calc(var(--e1) * 0.25) 0 0; }
.slide .bouton { margin-top: var(--e1); }
.phones { display: flex; gap: var(--w-6); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: var(--w-2) 20% var(--w-2) 0; -webkit-mask-image: linear-gradient(to right, #000 78%, transparent 100%); mask-image: linear-gradient(to right, #000 78%, transparent 100%); overscroll-behavior-x: contain; }
.phones::-webkit-scrollbar { display: none; }
.tel { flex: 0 0 auto; scroll-snap-align: start; height: 26rem; aspect-ratio: 1320 / 2868; border-radius: 2.5rem; padding: 0.42rem; background: var(--encre-nuit-voile); box-shadow: 0 0 0 var(--trait-filet) color-mix(in srgb, var(--encre-papier) 28%, transparent); transition: transform 240ms var(--courbe), box-shadow 240ms var(--courbe); }
.tel img { display: block; width: 100%; height: 100%; border-radius: 2.1rem; object-fit: cover; }
.tel:hover { transform: translateY(-0.5rem); box-shadow: 0 0 0 var(--trait-filet) var(--encre-papier); }
.tel:nth-child(2) { margin-top: var(--w-6); }
@media (max-width: 52rem) { .tel { height: 22rem; border-radius: 2.1rem; } .tel img { border-radius: 1.75rem; } .phones { padding-right: 30%; } }
.diapo-ctrl { display: flex; align-items: center; gap: var(--e1); margin-top: 0; font-size: var(--t-note); color: var(--texte-second); }
.diapo-ctrl .compte { min-width: 3.5rem; text-align: center; font-variant-numeric: tabular-nums; }

/* Portrait : une seule fois, en haut à droite du bandeau (P2), dissous dans le fond de tous les côtés (masque radial croisé avec un fondu vertical), teinte et grain cuits dans l'image, sans halo. */
.portrait-h { position: absolute; margin: 0; pointer-events: none; z-index: 0; right: clamp(1rem, 5vw, 6rem); top: clamp(9rem, 24vh, 15rem); width: clamp(14rem, 25vw, 22rem); }
.portrait-h .cadre { position: relative; display: block; -webkit-mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 46%, rgba(0,0,0,0.78) 62%, rgba(0,0,0,0.25) 80%, transparent 100%), linear-gradient(to bottom, #000 0, #000 58%, rgba(0,0,0,0.5) 74%, transparent 90%); -webkit-mask-composite: source-in; mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 46%, rgba(0,0,0,0.78) 62%, rgba(0,0,0,0.25) 80%, transparent 100%), linear-gradient(to bottom, #000 0, #000 58%, rgba(0,0,0,0.5) 74%, transparent 90%); mask-composite: intersect; }
.portrait-h img, .portrait-h canvas { display: block; width: 100%; height: auto; }
.portrait-h canvas { position: absolute; inset: 0; height: 100%; }
@media (max-width: 52rem) { .portrait-h { right: -1rem; top: 4.5rem; width: 10rem; } .bandeau.accueil .titre { margin-top: 11rem; } .diapo { margin-top: calc(var(--e2) - 1.2rem); } .slide { gap: calc(var(--e2) - 1.5rem); } }

/* N1 : usure d'impression très discrète (poussière, rares éclats grainés, mouchetis) posée sur le fond du bandeau et du pied, sous le texte ; texture fixe tirée une fois de design/lib/usure.py (build_usure.py), jamais sous la colonne de texte (masque à gauche). ?n=1 la pose, N0 par défaut. */
[data-usure="n1"] .bandeau > .fond-plan::after, [data-usure="n1"] .pied-fond > .fond-plan::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("../img/usure-haut.png") center / cover no-repeat; opacity: 0.75; -webkit-mask-image: linear-gradient(to right, transparent 0, transparent 42%, #000 60%); mask-image: linear-gradient(to right, transparent 0, transparent 42%, #000 60%); }
[data-usure="n1"] .pied-fond > .fond-plan::after { background-image: url("../img/usure-pied.png"); }

/* Animations : la classe .anim n'est posée que si le mouvement est permis. Titres par ligne, apparitions, et les trois moments (portrait qui se condense, cote qui se trace, prix qui se verrouillent). */
.ligne { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; white-space: nowrap; }
.ligne-i { display: block; }
.anim .ligne-i { transform: translateY(108%); transition: transform var(--entree) var(--courbe); transition-delay: calc(var(--i) * 70ms); }
.anim .vu .ligne-i, .anim.vu .ligne-i { transform: none; }
.anim .apparait { opacity: 0; transform: translateY(0.6rem); transition: opacity 450ms ease-out, transform 450ms var(--courbe); transition-delay: calc(350ms + var(--i, 0) * 70ms); }
.anim .vu.apparait, .anim.vu .apparait { opacity: 1; transform: none; }
/* Cote : le trait se trace de gauche à droite (380 ms), les attaches et obliques tombent à son passage, la valeur et les bornes se posent ensuite ; 600 ms en tout. */
.anim .duree .t { transform: scaleX(0); transition: transform 380ms cubic-bezier(0.5, 0, 0.2, 1); }
.anim .duree .a { transform: scaleY(0); transition: transform 140ms var(--courbe); }
.anim .duree .o { opacity: 0; transition: opacity 90ms linear; }
.anim .duree .a0, .anim .duree .o0 { transition-delay: 0ms; }
.anim .duree .a1, .anim .duree .o1 { transition-delay: calc(380ms * 0.45); }
.anim .duree .a2, .anim .duree .o2 { transition-delay: 380ms; }
.anim .duree .duree-valeur, .anim .duree .duree-bornes { opacity: 0; transform: translateY(4px); transition: opacity 220ms ease-out 380ms, transform 220ms var(--courbe) 380ms; }
.anim .duree.vu .t { transform: none; } .anim .duree.vu .a { transform: none; } .anim .duree.vu .o { opacity: 1; }
.anim .duree.vu .duree-valeur, .anim .duree.vu .duree-bornes { opacity: 1; transform: none; }
/* Portrait : caché tant que le grain ne l’\a pas condensé (la classe .anim est posée dans le head, avant la première peinture). */
.anim .portrait-h:not(.pris) img { opacity: 0; }
/* Prix : chaque chiffre roule vers sa valeur et se verrouille avec un cran (site.js). */
.prix .d { display: inline-block; height: 1.25em; overflow: hidden; vertical-align: top; }
.prix .d > span { display: block; }
.prix .d i { display: block; height: 1.25em; line-height: 1.25em; font-style: normal; }

@media (prefers-reduced-motion: reduce) { .tel, .slide .icone, .bouton, .fleche, .copier, .bouton::before, .fleche::before, .copier .verre, .copier::before, .copier::after { transition: none !important; } .tel:hover, .slide:hover .icone { transform: none; } }
