/* Home de Versailles Entreprises : un dîner d'affaires lu objet par objet, puis une démonstration par section.
   Couleurs, polices et angles droits viennent de da.css (charte du site) ; bleu nuit = --c-voile. */

@media (max-width: 700px) { [data-bandeau], .announcement-bar { display: none !important; } }

.tn-home { color: var(--texte); font-family: var(--f-texte); }
.tn-home *, .tn-home *::before, .tn-home *::after { box-sizing: border-box; }
.tn-home :where(h1, h2, h3, p, ul, ol, dl, dd, figure, img, blockquote) { margin: 0; }
.tn-home :where(ul, ol) { list-style: none; padding: 0; margin: 0; }
.tn-home li::before { content: none; }
.tn-home img { display: block; max-width: 100%; height: auto; border: 0; padding: 0; border-radius: 0; }
.tn-home :is(.tn-table, .tn-parcours-cadre, .tn-une-photo, .tn-rub-photo) img { max-height: none !important; }
.tn-home blockquote { border: 0; padding: 0; font-style: normal; }
.tn-home blockquote::before, .tn-home blockquote::after { content: none; }
.tn-home a { text-underline-offset: 4px; }
.tn-home .bouton { font-size: .9rem; gap: .6rem; padding: .7rem 1.4rem; min-height: 48px; transition: background .2s, color .2s; }
.tn-home .bouton:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.tn-home .bouton--plein:hover { background: color-mix(in srgb, var(--accent) 86%, var(--texte)); color: #fff; }
.tn-fleche { flex: none; transition: transform .2s; }
.tn-home a:hover .tn-fleche { transform: translateX(3px); }

/* ---------- grammaire commune : pastille, H2 à fin accentuée, lead, carte, lien ---------- */
.tn-pastille { display: inline-flex; align-items: center; gap: .55rem; padding: .38rem .95rem .38rem .75rem; border: 1px solid var(--bord); background: #fff;
  font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--or); white-space: nowrap; }
.tn-pastille-point { width: 7px; height: 7px; background: var(--or-deco); flex: none; }
.tn-home h1, .tn-home h2 { font-family: 'Syne', var(--f-titre); font-weight: 700; color: var(--texte); letter-spacing: -.015em; }
.tn-home h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); line-height: 1.1; text-wrap: balance; }
.tn-home h1 em, .tn-home h2 em { font-style: normal; color: var(--accent); text-decoration: underline dotted var(--or-deco); text-decoration-thickness: 3px; text-underline-offset: .16em; }
.tn-home h3 { font-family: 'Syne', var(--f-titre); font-weight: 700; font-size: 1.2rem; line-height: 1.25; color: var(--texte); }
.tn-section { padding: 112px 0; }
.tn-fond { background: var(--surface); box-shadow: 0 0 0 100vmax var(--surface); clip-path: inset(0 -100vmax); }
.tn-tete { max-width: 800px; margin: 0 auto 56px; text-align: center; display: grid; justify-items: center; gap: 20px; }
.tn-lead { font-size: 1.12rem; line-height: 1.6; color: var(--texte-2); max-width: 640px; }
.tn-carte { background: #fff; border: 1px solid var(--bord); transition: border-color .2s, box-shadow .2s; }
.tn-lien { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .4rem; min-height: 44px; font-family: var(--mono); font-weight: 500; font-size: .84rem; color: var(--accent); text-decoration: none; }
.tn-lien:hover { text-decoration: underline dotted var(--or-deco); text-decoration-thickness: 2px; }
.tn-tag { font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--or); }
.tn-tag a { color: inherit; text-decoration: none; }
.tn-tag a:hover { text-decoration: underline dotted; }
.tn-num { font-family: var(--mono); font-weight: 500; font-size: .8rem; color: var(--or); letter-spacing: .04em; }
.tn-note { font-size: .88rem; color: var(--texte-2); }
.tn-centre { text-align: center; margin-top: 44px !important; }
.tn-case { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1.5px solid var(--accent); color: transparent; background: #fff; transition: background .3s, color .3s, border-color .3s; }
.tn-case svg { display: block; }
.tn-carte:is(.tn-rub, .tn-une-grand):hover { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }

/* temps forts pleine largeur en bleu nuit */
.tn-nuit { background: var(--c-voile); box-shadow: 0 0 0 100vmax var(--c-voile); clip-path: inset(0 -100vmax); color: #fff; }
.tn-nuit .tn-pastille { background: transparent; border-color: color-mix(in srgb, #fff 26%, transparent); color: var(--or-deco); }
.tn-nuit h2 { color: #fff; }
.tn-nuit h2 em { color: var(--or-deco); text-decoration-color: color-mix(in srgb, var(--or-deco) 70%, transparent); }
.tn-nuit .tn-lead { color: color-mix(in srgb, #fff 76%, transparent); }
.tn-nuit .tn-lien { color: #fff; }

/* ---------- hero : la table d'un dîner d'affaires, objet par objet ---------- */
.tn-hero { padding: 36px 0 76px; }
.tn-hero-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); column-gap: 96px; align-items: stretch; }
.tn-hero-texte { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; padding-top: 4px; }
.tn-hero h1 { font-family: 'Syne', var(--f-titre); font-size: clamp(2.4rem, 3.7vw, 3.35rem); line-height: 1.05; text-wrap: balance; max-width: 13em; }
.tn-hero h1 em { white-space: nowrap; }
.tn-chapo { font-size: 1.1rem; line-height: 1.6; color: var(--texte-2); max-width: 31em; }
.tn-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.tn-reperes { margin-top: auto !important; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--bord); }
.tn-reperes li { padding: 16px 16px 2px 0; display: grid; gap: 4px; }
.tn-reperes li + li { padding-left: 20px; border-left: 1px dotted var(--bord); }
.tn-reperes b { font-family: 'Syne', var(--f-titre); font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--accent); }
.tn-reperes span { font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; color: var(--texte-2); }

.tn-table-zone { position: relative; min-width: 0; }
.tn-table { position: relative; margin: 0 !important; border: 6px solid var(--accent); background: var(--accent); display: block; text-align: left; }
.tn-table img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin: 0 !important; }
.tn-table .tn-table-legende { position: absolute; right: 0; top: 0; margin: 0 !important; padding: 8px 14px !important; background: var(--accent) !important; color: #fff !important; text-align: left !important;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; }
.tn-objet { position: absolute; z-index: 2; width: 0; height: 0; text-decoration: none; }
.tn-objet-num { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); display: grid; place-items: center; width: 34px; height: 34px; background: #fff; color: var(--accent);
  font-family: var(--mono); font-size: .88rem; font-weight: 500; border: 2px solid var(--accent); box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--texte) 70%, transparent); transition: background .25s, color .25s; }
.tn-objet-num::after { content: ""; position: absolute; inset: -9px; border: 2px solid var(--or-deco); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s; }
.tn-objet-nom { position: absolute; top: 0; left: 24px; transform: translateY(-50%); white-space: nowrap; padding: .42rem .75rem; background: #fff; color: var(--texte);
  font-family: var(--mono); font-size: .86rem; font-weight: 500; border-left: 3px solid var(--or-deco); box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--texte) 70%, transparent); transition: background .25s, color .25s; }
.tn-objet.tn-actif .tn-objet-num, .tn-objet:hover .tn-objet-num, .tn-objet:focus-visible .tn-objet-num { background: var(--accent); color: #fff; border-color: #fff; }
.tn-objet.tn-actif .tn-objet-num::after, .tn-objet:hover .tn-objet-num::after { opacity: 1; transform: scale(1); }
.tn-objet.tn-actif .tn-objet-nom, .tn-objet:hover .tn-objet-nom { background: var(--accent); color: #fff; }
.tn-objet:focus-visible { outline: none; }

/* la fiche détachée, accrochée au coin bas gauche du cadre */
.tn-cartel { position: absolute; z-index: 3; left: -64px; bottom: -34px; width: 340px; background: #fff; border: 1px solid var(--bord); border-top: 3px solid var(--or-deco);
  box-shadow: 0 22px 44px -18px color-mix(in srgb, var(--c-voile) 55%, transparent); }
.tn-cartel-fiche { display: none; gap: 5px; padding: 13px 18px 10px; }
.tn-cartel-fiche.tn-actif { display: grid; }
.tn-cartel-num { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--or); }
.tn-cartel-num span { color: var(--accent); }
.tn-cartel-geste { font-family: 'Syne', var(--f-titre); font-weight: 700; font-size: 1.1rem; line-height: 1.22; color: var(--texte); }
.tn-cartel-guide { display: block; padding-top: 7px; margin-top: 2px; border-top: 1px dotted var(--bord); font-family: var(--mono); font-size: .76rem; font-weight: 500; line-height: 1.4; color: var(--accent); text-decoration: none; }
.tn-cartel-guide span { color: var(--or); }
.tn-cartel-guide:hover { text-decoration: underline dotted var(--or-deco); }
.tn-cartel-rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.tn-cartel-rail i { height: 3px; background: var(--surface); transition: background .3s; }
.tn-cartel-rail i.tn-actif { background: var(--accent); }

/* ---------- rubriques : un sommaire en trois chapitres ---------- */
.tn-rub-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tn-rub { display: flex; flex-direction: column; }
.tn-rub-photo { position: relative; }
.tn-rub-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tn-rub-chiffre { position: absolute; left: 0; bottom: 0; min-width: 64px; padding: 8px 16px; background: #fff; font-family: 'Syne', var(--f-titre); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--accent); text-align: center; }
.tn-rub-corps { padding: 24px 26px 10px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.tn-rub-corps h3 { font-size: 1.45rem; }
.tn-rub-jauge { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 22px; padding: 14px 0; border-top: 1px dotted var(--bord); border-bottom: 1px dotted var(--bord); }
.tn-rub-jauge p { font-family: var(--mono); font-size: .74rem; color: var(--texte-2); }
.tn-rub-jauge b { display: block; font-family: 'Syne', var(--f-titre); font-size: 1.45rem; line-height: 1.1; color: var(--accent); }
.tn-rub-barre { grid-column: 1 / -1; height: 4px; background: var(--surface); margin-top: 8px; }
.tn-rub-barre i { display: block; height: 100%; width: calc(var(--part) * 100%); background: var(--or-deco); transform-origin: left; }
.tn-rub-reflexe { font-size: .97rem; line-height: 1.5; color: var(--texte); }
.tn-rub-reflexe span { display: block; font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--or); margin-bottom: 4px; }
.tn-rub-guides { counter-reset: g; display: grid; background: var(--fond); padding: 4px 16px !important; }
.tn-rub-guides li { counter-increment: g; display: flex; gap: 10px; border-bottom: 1px dotted var(--bord); }
.tn-rub-guides li:last-child { border-bottom: 0; }
.tn-rub-guides li::before { content: counter(g, decimal-leading-zero) !important; font-family: var(--mono); font-size: .72rem; color: var(--or); padding-top: 13px; }
.tn-rub-guides a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; color: var(--texte); text-decoration: none; font-weight: 500; font-size: .92rem; line-height: 1.35; }
.tn-rub-guides a:hover { color: var(--accent); text-decoration: underline dotted var(--or-deco); }
.tn-rub-pied { margin-top: auto !important; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 12px; }

/* ---------- le fil de la réception (bleu nuit) : six temps sur une piste ---------- */
.tn-retro-corps { max-width: 1120px; margin: 0 auto; }
.tn-retro-piste { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: 36px !important; }
.tn-retro-piste li { position: relative; z-index: 1; display: flex; justify-content: center; }
.tn-retro-piste button { display: grid; justify-items: center; gap: 12px; padding: 0 4px; background: none; border: 0; cursor: pointer; color: color-mix(in srgb, #fff 70%, transparent); font: inherit; min-height: 44px; }
.tn-retro-noeud { display: grid; place-items: center; width: 52px; height: 52px; background: var(--c-voile); border: 2px solid color-mix(in srgb, #fff 34%, transparent);
  font-family: var(--mono); font-size: .9rem; font-weight: 500; color: #fff; transition: background .3s, border-color .3s, color .3s, transform .3s; }
.tn-retro-quand { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; text-align: center; line-height: 1.35; }
.tn-retro-piste button.tn-passe .tn-retro-noeud { border-color: var(--or-deco); color: var(--or-deco); }
.tn-retro-piste button.tn-actif .tn-retro-noeud { background: var(--or-deco); border-color: var(--or-deco); color: var(--c-voile); transform: scale(1.08); }
.tn-retro-piste button.tn-actif { color: #fff; }
.tn-retro-piste button:hover .tn-retro-noeud, .tn-retro-piste button:focus-visible .tn-retro-noeud { border-color: var(--or-deco); }
.tn-retro-piste button:focus-visible { outline: 2px solid var(--or-deco); outline-offset: 4px; }
.tn-retro-ligne { position: absolute; z-index: 0; top: 25px; left: calc(100% / 12); right: calc(100% / 12); height: 2px; background: color-mix(in srgb, #fff 20%, transparent); }
.tn-retro-ligne i { display: block; height: 100%; background: var(--or-deco); transform-origin: left; transform: scaleX(var(--avance, 0)); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.tn-retro-panneaux { display: grid; gap: 16px; }
.tn-retro-panneau { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); background: #fff; color: var(--texte); border-top: 3px solid var(--or-deco); }
.tn-js .tn-retro-panneau:not(.tn-actif) { display: none; }
.tn-retro-gauche { padding: 34px 36px; display: grid; gap: 18px; align-content: start; }
.tn-retro-etape { font-family: var(--mono); font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; color: var(--or); }
.tn-retro-points { display: grid; gap: 4px; }
.tn-retro-points li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dotted var(--bord); font-size: 1.06rem; font-weight: 500; line-height: 1.4; }
.tn-retro-points li:last-child { border-bottom: 0; }
.tn-retro-points li.tn-coche .tn-case, html:not(.tn-js) .tn-retro-points .tn-case { background: var(--accent); color: #fff; }
.tn-retro-droite { padding: 34px 36px; background: var(--fond); border-left: 1px solid var(--bord); display: grid; gap: 12px; align-content: start; }
.tn-retro-ref { font-family: var(--mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--or); }
.tn-retro-titre { font-family: 'Syne', var(--f-titre); font-weight: 700; font-size: 1.3rem; line-height: 1.25; color: var(--texte); }
.tn-retro-extrait { font-size: 1rem; line-height: 1.65; color: var(--texte-2); padding-left: 16px !important; border-left: 3px solid var(--or-deco) !important; }
.tn-retro-droite .tn-lien { color: var(--accent); }
.tn-retro-pied { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 28px; margin-top: 28px !important; }

/* ---------- calculateur : exemple chiffré visible d'emblée ---------- */
.tn-calcul-grille { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px; max-width: 1120px; margin: 0 auto; }
.tn-calcul-champs { padding: 30px; display: grid; gap: 20px; align-content: start; border-top: 3px solid var(--accent); }
.tn-calcul-tete, .tn-bord-titre { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--or); }
.tn-calcul-champs label { display: grid; gap: 8px; }
.tn-calcul-champs label span { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--texte-2); }
.tn-calcul-champs input { width: 100%; min-height: 54px; margin: 0; padding: 10px 14px; font-family: 'Syne', var(--f-titre); font-weight: 700; font-size: 1.5rem; color: var(--accent); background: var(--fond); border: 1px solid var(--bord); border-bottom: 2px solid var(--accent); border-radius: 0; }
.tn-calcul-champs input:focus-visible { outline: 3px solid var(--or-deco); outline-offset: 2px; }
.tn-bordereau { padding: 30px 34px; border-top: 3px solid var(--accent); display: grid; gap: 18px; align-content: start; }
.tn-bord-titre { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--bord); }
.tn-bord-paquets { display: grid; grid-template-columns: repeat(15, 1fr); gap: 5px; }
.tn-bord-paquets i { aspect-ratio: 1; border: 1.5px solid var(--bord); background: #fff; position: relative; transition: background .25s, border-color .25s; }
.tn-bord-paquets i.tn-plein { background: var(--accent); border-color: var(--accent); }
.tn-bord-paquets i.tn-plein::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--or-deco); }
.tn-bordereau dl { display: grid; }
.tn-bordereau dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px dotted var(--bord); }
.tn-bordereau dt { color: var(--texte-2); }
.tn-bordereau dd { font-family: var(--mono); font-size: 1.05rem; color: var(--texte); text-align: right; white-space: nowrap; }
.tn-bord-total { border-bottom: 0 !important; }
.tn-bord-total dt { font-weight: 600; color: var(--texte); }
.tn-bord-total output { font-family: 'Syne', var(--f-titre); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: var(--accent); }
.tn-bord-barre { display: flex; height: 14px; background: var(--surface); }
.tn-bord-barre i { display: block; height: 100%; transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.tn-bord-barre [data-part="cadeaux"] { background: var(--accent); }
.tn-bord-barre [data-part="envoi"] { background: var(--or-deco); }
.tn-bord-legende { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--mono); font-size: .76rem; color: var(--texte-2); }
.tn-bord-legende span { display: inline-flex; align-items: center; gap: 6px; }
.tn-bord-legende span:last-child { margin-left: auto; }
.tn-bord-legende b { color: var(--accent); font-size: .9rem; }
.tn-pt { width: 10px; height: 10px; display: inline-block; }
.tn-pt-a { background: var(--accent); } .tn-pt-b { background: var(--or-deco); }
.tn-liens-ligne { display: flex; flex-wrap: wrap; gap: 0 20px; }

/* ---------- commande à un atelier : photo collante, dossier qui se remplit ---------- */
/* vignette et non photo pleine hauteur : le cadre reste sous 480 px à 1440 (socle:images-hors-hero,
   garde 25/10/2026 — un 4/5 dans une colonne de 528 px faisait 660 px de haut). */
.tn-parcours-grille { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 64px; align-items: start; max-width: 1120px; margin: 0 auto; }
.tn-parcours-visuel { position: sticky; top: 24px; display: grid; gap: 16px; }
.tn-parcours-cadre { position: relative; aspect-ratio: 5 / 4; border: 6px solid var(--accent); background: var(--accent); overflow: hidden; }
.tn-parcours-cadre img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .7s, transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.tn-parcours-cadre img.tn-actif { opacity: 1; transform: none; }
.tn-parcours-badge { position: absolute; left: 0; bottom: 0; display: flex; align-items: baseline; gap: 6px; padding: 10px 16px; background: #fff; font-family: var(--mono); font-size: .8rem; color: var(--texte-2); }
.tn-parcours-badge b { font-family: 'Syne', var(--f-titre); font-size: 1.7rem; line-height: 1; color: var(--accent); }
.tn-dossier { background: #fff; border: 1px solid var(--bord); padding: 16px 20px 10px; }
.tn-dossier-tete { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--bord); font-family: var(--mono); font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--or); }
.tn-dossier-tete b { color: var(--accent); font-size: .9rem; }
.tn-dossier li { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: .92rem; color: color-mix(in srgb, var(--texte-2) 70%, transparent); transition: color .3s; }
.tn-dossier li.tn-plein { color: var(--texte); font-weight: 500; }
.tn-dossier li.tn-plein .tn-case { background: var(--accent); color: #fff; }
.tn-parcours-liste { position: relative; display: grid; }
.tn-parcours-liste li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; padding: 30px 0 36px; border-top: 1px solid var(--bord); }
.tn-parcours-liste li.tn-actif { border-top: 2px solid var(--accent); }
.tn-parcours-liste li.tn-actif h3 { color: var(--accent); }
.tn-parcours-n { display: grid; place-items: center; width: 56px; height: 56px; border: 2px solid var(--accent); font-family: 'Syne', var(--f-titre); font-weight: 700; font-size: 1.3rem; color: var(--accent); background: #fff; transition: background .3s, color .3s; }
.tn-parcours-liste li.tn-actif .tn-parcours-n { background: var(--accent); color: #fff; }
.tn-parcours-liste li > div { display: grid; gap: 10px; justify-items: start; }
.tn-parcours-liste h3 { font-size: 1.45rem; }
.tn-parcours-liste p { font-size: 1.02rem; line-height: 1.6; color: var(--texte-2); }

/* ---------- visite d'atelier : fiche, bascule, six questions ---------- */
.tn-fiche { max-width: 1120px; margin: 0 auto; border-top: 3px solid var(--accent); }
.tn-fiche-tete { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 24px; padding: 18px 30px; border-bottom: 1px solid var(--bord); }
.tn-fiche-tete p { display: flex; gap: 10px; font-family: var(--mono); font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; color: var(--or); }
.tn-bascule { display: inline-flex; border: 2px solid var(--accent); }
.tn-bascule button { min-height: 44px; padding: 8px 20px; background: #fff; border: 0; font-family: var(--mono); font-size: .84rem; font-weight: 500; color: var(--accent); cursor: pointer; transition: background .25s, color .25s; }
.tn-bascule button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.tn-bascule button:focus-visible { outline: 3px solid var(--or-deco); outline-offset: 2px; }
.tn-fiche-corps { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.tn-fiche-profil { background: var(--fond); border-right: 1px solid var(--bord); padding: 30px; display: grid; gap: 28px; align-content: start; }
.tn-js .tn-fiche[data-tn-choix="unique"] .tn-profil-serie, .tn-js .tn-fiche[data-tn-choix="serie"] .tn-profil-unique { display: none; }
.tn-profil { display: grid; gap: 14px; justify-items: start; }
.tn-profil-titre { font-family: 'Syne', var(--f-titre); font-weight: 700; font-size: 1.4rem; line-height: 1.2; color: var(--accent); }
.tn-profil-pour { font-size: 1rem; line-height: 1.55; color: var(--texte); }
.tn-profil dl { display: grid; gap: 12px; width: 100%; }
.tn-profil dl > div { display: grid; gap: 4px; padding-top: 12px; border-top: 1px dotted var(--bord); }
.tn-profil dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--or); }
.tn-profil dd { font-size: .96rem; line-height: 1.5; color: var(--texte-2); }
/* la définition et la question s'empilent dans UNE colonne de lecture : deux colonnes de 252 px
   mettaient les textes de 69 caractères sous les 300 px (page-cassee:colonne_etroite, garde 25/10/2026). */
.tn-criteres { display: grid; }
.tn-criteres li { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) 48px; gap: 6px 22px; align-items: start; padding: 20px 30px; border-bottom: 1px dotted var(--bord); }
.tn-criteres li > div, .tn-criteres li > .tn-question { grid-column: 2; }
.tn-criteres li > .tn-tampon { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
.tn-criteres li:last-child { border-bottom: 0; }
.tn-criteres h3 { font-size: 1.08rem; margin-bottom: 4px; }
.tn-criteres li > div p { font-size: .92rem; line-height: 1.5; color: var(--texte-2); }
.tn-question { font-size: .95rem; line-height: 1.45; color: var(--texte); font-style: italic; }
.tn-question span { display: block; font-style: normal; font-family: var(--mono); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; color: var(--or); margin-bottom: 4px; }
.tn-tampon { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--bordeaux); color: var(--bordeaux); font-family: var(--mono); font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; transform: rotate(-12deg); }
.tn-fiche-pied { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 26px; padding: 10px 30px; border-top: 1px solid var(--bord); }

/* ---------- à la une ---------- */
.tn-une-grand { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 1120px; margin: 0 auto; }
.tn-une-photo { position: relative; }
/* la photo remplit la cellule, mais jamais au-delà du socle : la cellule étant étirée par le texte
   d'à côté, `height: 100%` seul la faisait grandir avec lui (571 px mesurés le 25/10/2026). */
.tn-une-photo img { width: 100%; height: 100% !important; min-height: 100%; max-height: 470px; aspect-ratio: 3 / 2; object-fit: cover; }
.tn-une-numero { position: absolute; left: 0; top: 0; display: grid; padding: 12px 18px; background: var(--accent); color: #fff; font-family: 'Syne', var(--f-titre); font-weight: 700; font-size: 2rem; line-height: 1; }
.tn-une-numero span { font-family: var(--mono); font-weight: 500; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--or-deco); margin-bottom: 4px; }
.tn-une-corps { padding: 34px 38px 18px; display: grid; gap: 16px; align-content: start; justify-items: start; }
.tn-une-corps h3 { font-size: 1.65rem; line-height: 1.2; }
.tn-home .tn-une-corps h3 a, .tn-home .tn-une-liste h3 a { color: inherit; text-decoration: none; }
.tn-home .tn-une-corps h3 a:hover, .tn-home .tn-une-liste h3 a:hover { color: var(--accent); text-decoration: underline dotted var(--or-deco); }
.tn-extrait { font-size: 1.02rem; line-height: 1.6; color: var(--texte-2); padding-left: 16px !important; border-left: 3px solid var(--or-deco) !important; }
.tn-une-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; font-family: var(--mono); font-size: .8rem; color: var(--texte-2); }
.tn-une-meta b { font-family: 'Syne', var(--f-titre); font-size: 1.2rem; color: var(--accent); margin-right: 4px; }
/* pleine largeur de la carte : le sommaire d'une ligne par partie, hors de la colonne de texte
   (sinon la photo de la une suivait la hauteur du texte et dépassait 480 px, garde 25/10/2026). */
.tn-une-sommaire { grid-column: 1 / -1; display: grid; width: 100%; border-top: 1px solid var(--bord); }
.tn-une-sommaire li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px dotted var(--bord); font-size: .93rem; line-height: 1.4; color: var(--texte); }
/* deux colonnes : à quatre, chaque carte tombait à 265 px et sa description à 219 px
   (page-cassee:colonne_etroite, garde 25/10/2026). */
.tn-une-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 1120px; margin: 24px auto 0 !important; }
.tn-une-liste li { display: flex; flex-direction: column; gap: 12px; padding: 24px 22px 20px; border-top: 3px solid var(--accent); }
.tn-une-n { font-family: 'Syne', var(--f-titre); font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--or-deco); }
.tn-une-liste h3 { font-size: 1.12rem; }
.tn-une-desc { font-size: .93rem; line-height: 1.55; color: var(--texte-2); }
.tn-une-liste .tn-une-meta { margin-top: auto; padding-top: 12px; border-top: 1px dotted var(--bord); }
.tn-une-auteur { font-family: var(--mono); font-size: .74rem; color: var(--or); }

/* ---------- plumes (bleu nuit) : trois cartes de visite ---------- */
.tn-plumes-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1120px; margin: 0 auto; }
.tn-visite-carte { display: flex; flex-direction: column; gap: 12px; padding: 26px 22px 18px; background: #fff; color: var(--texte); border-top: 3px solid var(--or-deco); transition: transform .3s, box-shadow .3s; }
.tn-visite-carte:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -22px #000; }
.tn-visite-haut { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--bord); font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--or); }
.tn-visite-carte h3 { font-size: 1.7rem; letter-spacing: -.01em; margin-top: 6px; }
.tn-visite-role { font-family: var(--mono); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.tn-visite-mot { font-size: 1rem; line-height: 1.55; color: var(--texte-2); }
.tn-visite-chiffres { display: flex; gap: 22px; padding: 12px 0; border-top: 1px dotted var(--bord); border-bottom: 1px dotted var(--bord); font-family: var(--mono); font-size: .76rem; color: var(--texte-2); }
.tn-visite-chiffres b { display: block; font-family: 'Syne', var(--f-titre); font-size: 1.6rem; line-height: 1.1; color: var(--accent); }
.tn-visite-dernier { display: grid; gap: 4px; font-size: .95rem; line-height: 1.4; }
.tn-visite-dernier span { font-family: var(--mono); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; color: var(--or); }
.tn-visite-dernier a { color: var(--texte); font-weight: 500; text-decoration: none; }
.tn-visite-dernier a:hover { color: var(--accent); text-decoration: underline dotted var(--or-deco); }
.tn-visite-pied { margin-top: auto !important; display: flex; justify-content: space-between; align-items: center; gap: 0 12px; padding-top: 6px; border-top: 1px solid var(--bord); }
.tn-plumes h2 em { white-space: nowrap; }
.tn-visite-pied a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-family: var(--mono); font-size: .8rem; font-weight: 500; color: var(--accent); text-decoration: none; }
.tn-visite-pied a:first-child { color: var(--or); }
.tn-visite-pied a:hover { text-decoration: underline dotted var(--or-deco); }
/* deux colonnes (2 x 2) : à quatre, chaque item tombait à 259 px
   (page-cassee:colonne_etroite, garde 25/10/2026). */
.tn-charte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1120px; margin: 56px auto 0 !important; }
.tn-charte li { display: grid; gap: 6px; align-content: start; padding-top: 18px; border-top: 1px solid color-mix(in srgb, #fff 24%, transparent); }
.tn-charte .tn-num { color: var(--or-deco); }
.tn-charte strong { font-family: 'Syne', var(--f-titre); font-size: 1.1rem; color: #fff; }
.tn-charte li > span:last-child { font-size: .94rem; line-height: 1.5; color: color-mix(in srgb, #fff 72%, transparent); }

/* ---------- FAQ : la réponse, puis la partie exacte du guide ---------- */
.tn-faq-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1120px; margin: 0 auto; }
.tn-faq-carte { display: flex; flex-direction: column; gap: 16px; padding: 28px 30px 14px; border-top: 3px solid var(--accent); }
.tn-faq-q { display: flex; gap: 14px; align-items: baseline; font-family: 'Syne', var(--f-titre); font-weight: 700; font-size: 1.25rem; line-height: 1.3; color: var(--texte); }
.tn-faq-r { font-size: 1rem; line-height: 1.6; color: var(--texte); }
.tn-faq-renvoi { display: grid; gap: 8px; padding: 18px 20px; background: var(--fond); border-left: 3px solid var(--or-deco); }
.tn-faq-ref { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 14px; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--or); }
.tn-faq-ref span:last-child { color: var(--accent); }
.tn-faq-titre { font-weight: 600; font-size: .98rem; line-height: 1.4; color: var(--texte); }
.tn-faq-renvoi blockquote { font-size: .95rem; line-height: 1.6; color: var(--texte-2); }
.tn-faq-pied { margin-top: auto !important; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 14px; }
.tn-faq-pied .tn-lien:last-child { color: var(--or); }

/* ---------- contact ---------- */
.tn-contact { padding-bottom: 96px; }
.tn-contact-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; max-width: 1120px; margin: 0 auto; border: 3px solid var(--accent); padding: 56px; background: #fff; }
.tn-contact-texte { display: grid; gap: 22px; justify-items: center; text-align: center; }
.tn-contact-texte .tn-actions { justify-content: center; }
.tn-courriel { background: var(--fond); padding: 26px; display: grid; gap: 4px; }
.tn-courriel-tete { font-family: var(--mono); font-size: .8rem; color: var(--texte); padding: 6px 0; border-bottom: 1px dotted var(--bord); overflow-wrap: anywhere; }
.tn-courriel-tete span { color: var(--or); margin-right: 6px; }
.tn-courriel ul { display: grid; margin: 10px 0 8px !important; }
.tn-courriel li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px dotted var(--bord); }
.tn-courriel li b { font-family: var(--mono); font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .07em; color: var(--or); }
.tn-courriel li span { font-size: 1rem; color: var(--texte); min-height: 1.6em; }
.tn-courriel li span.tn-curseur::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: tn-clignote 1s steps(1) infinite; }
@keyframes tn-clignote { 50% { opacity: 0; } }

/* ---------- tablette et mobile ---------- */
@media (max-width: 1180px) {
  .tn-hero-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); column-gap: 80px; }
  .tn-cartel { left: -48px; width: 330px; }
  .tn-criteres li { grid-template-columns: 34px minmax(0, 1fr); }
  .tn-tampon { display: none; }
}
@media (max-width: 900px) {
  .tn-section { padding: 80px 0; }
  .tn-tete { margin-bottom: 40px; }
  .tn-hero { padding: 20px 0 56px; }
  .tn-hero-grille { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .tn-reperes { margin-top: 4px !important; }
  .tn-table-zone { max-width: 520px; width: 100%; justify-self: center; }
  .tn-cartel { position: relative; left: auto; bottom: auto; width: auto; margin: -44px 14px 0; }
  .tn-rub-grille, .tn-plumes-grille, .tn-faq-grille { grid-template-columns: minmax(0, 1fr); }
  .tn-calcul-grille, .tn-parcours-grille, .tn-contact-grille, .tn-une-grand, .tn-fiche-corps { grid-template-columns: minmax(0, 1fr); }
  .tn-retro-panneau { grid-template-columns: minmax(0, 1fr); }
  .tn-retro-droite { border-left: 0; border-top: 1px solid var(--bord); }
  .tn-parcours-visuel { position: relative; top: auto; }
  .tn-parcours-liste li { min-height: 0; padding-bottom: 28px; }
  .tn-fiche-profil { border-right: 0; border-bottom: 1px solid var(--bord); }
  .tn-une-photo img { height: auto !important; }
  .tn-charte { grid-template-columns: 1fr 1fr; }
  .tn-contact-grille { padding: 32px; gap: 32px; }
}
@media (max-width: 700px) {
  .tn-section { padding: 64px 0; }
  .tn-hero { padding-top: 10px; }
  .tn-hero-texte { gap: 18px; }
  .tn-hero h1 { font-size: 2.1rem; line-height: 1.08; }
  .tn-chapo { font-size: 1rem; }
  .tn-pastille { font-size: .62rem; letter-spacing: .05em; padding: .32rem .7rem .32rem .55rem; }
  .tn-reperes b { font-size: 1.6rem; }
  .tn-reperes li + li { padding-left: 12px; }
  .tn-reperes span { font-size: .66rem; }
  .tn-table { border-width: 4px; }
  .tn-objet-num { width: 28px; height: 28px; font-size: .76rem; }
  .tn-objet-nom { display: none; font-size: .7rem; padding: .3rem .5rem; left: 19px; }
  .tn-objet.tn-actif .tn-objet-nom { display: block; }
  .tn-table-legende { display: none; }
  .tn-cartel { margin: -36px 10px 0; }
  .tn-cartel-fiche { padding: 14px 16px 10px; }
  .tn-rub-corps { padding: 20px 20px 8px; }
  .tn-retro-piste { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: 24px !important; }
  .tn-retro-noeud { width: 40px; height: 40px; font-size: .78rem; }
  .tn-retro-ligne { top: 19px; }
  .tn-retro-quand { display: none; }
  .tn-retro-gauche, .tn-retro-droite { padding: 24px 20px; }
  .tn-retro-points li { font-size: .98rem; }
  .tn-retro-pied { flex-direction: column; align-items: center; }
  .tn-calcul-champs, .tn-bordereau { padding: 22px; }
  .tn-bord-paquets { grid-template-columns: repeat(10, 1fr); }
  .tn-bord-legende span:last-child { margin-left: 0; }
  .tn-parcours-liste li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .tn-parcours-n { width: 44px; height: 44px; font-size: 1.05rem; }
  .tn-parcours-liste h3 { font-size: 1.25rem; }
  .tn-fiche-tete { padding: 16px 18px; }
  .tn-bascule { width: 100%; }
  .tn-bascule button { flex: 1; padding: 8px 10px; }
  .tn-fiche-profil { padding: 22px 18px; }
  /* 390 px : plus de gouttière de numéro, aucune boîte ne doit repasser sous 300 px de lecture
     (une seule colonne utile — 278 px mesurés à la garde du 25/10/2026). */
  .tn-criteres li { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 18px 16px; }
  .tn-criteres li > div, .tn-criteres li > .tn-question { grid-column: 1; }
  .tn-fiche-pied { flex-direction: column; padding: 8px 18px; }
  /* la flèche restait sur la ligne du texte : à 390 px le libellé du dernier lien remplissait la
     ligne et poussait l'icône en dessous (« icône chassée », note portier constatée aussi en ligne). */
  .tn-fiche-pied .tn-lien { flex-wrap: nowrap; }
  .tn-une-corps { padding: 22px 20px 12px; }
  .tn-une-corps h3 { font-size: 1.35rem; }
  .tn-une-sommaire li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tn-une-liste { grid-template-columns: minmax(0, 1fr); }
  .tn-visite-carte { padding: 22px 20px 14px; }
  .tn-charte { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .tn-faq-carte { padding: 22px 12px 10px; }
  .tn-faq-renvoi { padding: 16px 10px; }
  .tn-faq-q { font-size: 1.12rem; }
  /* le cadre d'accent mangeait 48 px de lecture : on garde le cartouche courriel, on lâche le cadre. */
  .tn-contact-grille { padding: 0; border-width: 0; }
  .tn-courriel { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .tn-home *, .tn-home *::before, .tn-home *::after { transition: none !important; animation: none !important; }
  .tn-retro-points .tn-case, .tn-dossier .tn-case { background: var(--accent); color: #fff; }
  .tn-dossier li { color: var(--texte); }
}
