/* =====================================================================
   Pages technologie, socle des nouvelles formes (28 octobre 2026). Chaque forme a sa racine .tf.tf--<clé> et sa
   feuille formes/<clé>.css. Les écrans du produit (.rt-app, techno/style.css) lisent les jetons posés ici.
   ===================================================================== */
.tf {
  --pap: var(--r-papier); --pap2: var(--r-papier-2); --encre: var(--r-encre); --t2: var(--r-texte-2); --t3: var(--r-texte-3);
  --ligne: var(--r-ligne); --ligne2: var(--r-ligne-2); --o: var(--r-orange); --o-f: var(--r-orange-fonce); --o-p: var(--r-orange-pale); --o-b: var(--r-orange-bord);
  --mono: var(--r-mono); --sh: var(--r-ombre); --e: var(--r-easing);
  position: relative;
  overflow-x: clip;
  color: var(--encre);
  font-family: var(--r-police);
  font-size: 16px;
  line-height: 1.55;
  background: var(--pap);
  -webkit-font-smoothing: antialiased;
}
.tf *, .tf *::before, .tf *::after { box-sizing: border-box; }
:where(.tf) :where(h1, h2, h3, p, ul, ol, dl, dd, figure, table) { margin: 0; padding: 0; }
:where(.tf) :where(ul, ol) { list-style: none; }
:where(.tf) :where(a) { color: inherit; }
.tf [id] { scroll-margin-top: 96px; }
.tf :focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; border-radius: 6px; }
.tf-in { position: relative; width: min(var(--r-largeur), calc(100% - 2 * var(--r-marge))); margin: 0 auto; }
.tf-large { position: relative; width: min(1600px, calc(100% - 2 * var(--r-marge))); margin: 0 auto; }
.tf-points { background-image: radial-gradient(circle, rgba(11, 11, 12, .10) 1px, transparent 1.35px); background-size: 24px 24px; background-position: 12px 12px; }

.tf-ariane { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.tf-ariane a { color: var(--t3); text-decoration: none; }
.tf-ariane a:hover { color: var(--encre); text-decoration: underline; text-decoration-color: var(--o); }
.tf-ariane span { color: var(--ligne2); }
.tf h1 { font-weight: 600; letter-spacing: -.05em; line-height: .94; text-wrap: balance; }
.tf h1 > span { display: inline; }
.tf-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.tf-pas { font: 600 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--t3); }
.tf-num { font-family: var(--mono); font-weight: 500; letter-spacing: -.04em; color: var(--o-f); font-variant-numeric: tabular-nums; }

/* les lignes d'une donnée, en mono */
.tf-lignes { display: grid; gap: 0; font-family: var(--mono); font-size: 13.5px; }
.tf-lignes > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--ligne2); }
.tf-lignes > div:first-child { border-top: 1px dashed var(--ligne2); }
.tf-lignes dt { color: var(--t3); }
.tf-lignes dd { color: var(--encre); font-weight: 500; text-align: right; overflow-wrap: anywhere; }

/* la fin : commune, chaque forme la retouche */
.tf-fin { width: min(var(--r-largeur), calc(100% - 2 * var(--r-marge))); margin: var(--r-section) auto 0; padding-bottom: var(--r-section); }
.tf-fin-tete { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: clamp(36px, calc(4 * var(--vw, 1vw)), 64px); background: #fff; border: 1px solid var(--ligne); border-radius: 18px; box-shadow: var(--sh); }
.tf-fin h2 { font-size: var(--r-titre-2); line-height: 1; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; max-width: 16ch; }
.tf-fin-tete > p { font-size: var(--r-texte); line-height: 1.6; color: var(--t2); max-width: 560px; }
.tf-fin .r-btn { margin-top: 8px; }
.tf-suite { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.tf-suite a { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 48px 16px 18px; border: 1px solid var(--ligne); border-radius: 12px; background: #fff; text-decoration: none; transition: border-color .25s var(--e); }
.tf-suite b { font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.tf-suite span { font-size: 14px; line-height: 1.45; color: var(--t2); }
.tf-suite .r-ico { position: absolute; right: 16px; top: 50%; margin-top: -9px; transition: transform .35s var(--e); }
.tf-suite a:hover { border-color: var(--encre); }
.tf-suite a:hover .r-ico { transform: translateX(3px); color: var(--o-f); }

/* une fenêtre réduite dans un emplacement étroit : l'écran garde sa mise en page d'ordinateur, à l'échelle */
.tf-reduit { --z: .7; }
.tf-reduit > .rt-fenetre { zoom: var(--z); width: 100%; }   /* zoom : la fenêtre garde la largeur de l'emplacement, son contenu se met en page à 1 / z */

/* le sélecteur des formes, en préprod seulement : une bande en haut de la page, qui défile avec elle */
.tf-sel { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 16px; padding: 10px var(--r-marge); background: #fff; border-bottom: 1px dashed var(--r-ligne-2); font-family: var(--r-police); }
.tf-sel-t { display: flex; align-items: baseline; gap: 10px; min-width: 0; font-size: 13px; line-height: 1.3; color: var(--r-texte-2); }
.tf-sel-t span { font: 500 11px/1.2 var(--r-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--r-texte-3); }
.tf-sel ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.tf-sel a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 12px; border: 1px solid var(--r-ligne); border-radius: 9px; font-size: 13.5px; font-weight: 500; color: var(--r-texte-2); text-decoration: none; white-space: nowrap; }
.tf-sel a i { font: 600 11px/1 var(--r-mono); font-style: normal; color: var(--r-texte-3); }
.tf-sel a:hover { border-color: var(--r-encre); color: var(--r-encre); }
.tf-sel a[aria-current] { background: var(--r-orange); border-color: var(--r-orange); color: #0A0A0A; font-weight: 600; }
.tf-sel a[aria-current] i { color: #0A0A0A; }

@media (max-width: 1100px) {
  .tf-sel-t { display: none; }
}
@media (max-width: 900px) {
  .tf-suite { grid-template-columns: minmax(0, 1fr); }
  .tf-reduit { --z: 1; }
  .tf-sel a { padding: 0 10px; font-size: 13px; }
}

/* le dessin isométrique (partagé avec « La pile ») */
.tf-iso { display: block; width: 100%; height: auto; overflow: visible; }
.tf-iso polygon { stroke: var(--encre); stroke-width: 1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.tf-f-h { fill: #fff; }
.tf-f-g { fill: #F1EEE7; }
.tf-f-d { fill: #E4DFD5; }
.is-socle .tf-f-h { fill: #F6F5F1; }
.is-socle polygon { stroke: var(--ligne2); }
.is-o .tf-f-h { fill: var(--o); }
.is-o .tf-f-g { fill: #F4661C; }
.is-o .tf-f-d { fill: #D94A05; }
.is-ombre polygon { fill: none; stroke: var(--t3); stroke-dasharray: 4 4; }
.tf-iso-t { fill: none; stroke: var(--o); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.tf-iso-ok { fill: none; stroke: #0A0A0A; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.tf-iso-e path { fill: none; stroke: var(--encre); stroke-width: .9; vector-effect: non-scaling-stroke; }
.tf-iso-e circle { fill: var(--encre); }
.tf-iso-e text { font: 500 13px var(--mono); fill: var(--t2); letter-spacing: -.01em; }
.tf-iso-e--o text { fill: var(--o-f); font-weight: 600; }
.tf-iso-e--pas text { font-size: 15px; font-weight: 600; fill: var(--encre); }
/* la donnée qui se trace quand le dessin arrive */
.rt-js [data-tf-vu] .tf-iso-t { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--e) .3s; }
.rt-js [data-tf-vu].is-vu .tf-iso-t { stroke-dashoffset: 0; }
.rt-js [data-tf-vu] .tf-iso-b.is-o { opacity: 0; transition: opacity .6s var(--e) 1s; }
.rt-js [data-tf-vu].is-vu .tf-iso-b.is-o { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .rt-js [data-tf-vu] .tf-iso-t { stroke-dasharray: none; transition: none; }
  .rt-js [data-tf-vu] .tf-iso-b.is-o { opacity: 1; transition: none; }
}
