/* Tuning home aclautomobiles.fr : « le devis relu ». Couleurs, polices et boutons de la charte (global.css, da.css). */
.tn-home {
  --tn-encre: #171717;
  --tn-creme: #fffdf9;
  --tn-sable: var(--space-sand, #e2d1c3);
  --tn-sable-fonce: #d8c2b2;
  --tn-rouge: var(--space-red, #90393a);
  --tn-pierre: var(--space-stone, #434343);
  --tn-jaune: var(--space-yellow, #ffff85);
  --tn-trait: rgba(23, 23, 23, 0.1);
  --tn-trait-fort: rgba(23, 23, 23, 0.18);
  --tn-ombre: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075), 0 0 0 1px hsla(0, 0%, 0%, 0.05), 0 0.9px 1.5px hsla(0, 0%, 0%, 0.045), 0 3.5px 6px hsla(0, 0%, 0%, 0.06), 0 24px 48px -18px rgba(67, 43, 30, 0.22);
  --tn-rayon: 28px;
  --tn-titre: var(--f-titre, "Sigmar", sans-serif);
  --tn-texte: var(--f-texte, "Kanit", sans-serif);
  color: var(--tn-encre);
  font-family: var(--tn-texte);
  overflow-x: clip;
}
.tn-home *, .tn-home *::before, .tn-home *::after { box-sizing: border-box; }
.tn-home p { margin: 0; }
.tn-home h1, .tn-home h2, .tn-home h3 { margin: 0; padding: 0; font-family: var(--tn-titre); font-weight: 400; letter-spacing: 0; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.tn-home img { border-radius: 0; max-width: 100%; display: block; }
.tn-home a { text-decoration: none; }
.tn-home ul, .tn-home ol { list-style: none; margin: 0; padding: 0; }
.tn-wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.tn-centre { text-align: center; margin-top: 56px !important; }

/* Grammaire commune : kicker pastille, H2 centré avec fin accentuée, carte crème */
.tn-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 8px; border: 1px solid var(--tn-trait-fort); border-radius: 999px;
  background: rgba(255, 253, 249, 0.7); font-size: 0.9rem; font-weight: 400; color: var(--tn-encre); line-height: 1.2;
}
.tn-kicker__point { width: 18px; height: 18px; border-radius: 50%; background: var(--tn-creme); box-shadow: inset 0 0 0 1px var(--tn-trait-fort); display: grid; place-items: center; flex: none; }
.tn-kicker__point::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tn-rouge); }
.tn-tete { text-align: center; max-width: 820px; margin: 0 auto 56px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.tn-tete h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.08; color: var(--tn-encre); text-wrap: balance; }
.tn-home h2 em, .tn-visite__h1 em { font-style: normal; color: var(--tn-rouge); }
.tn-tete__chapo { font-size: 1.1rem; line-height: 1.6; color: var(--tn-pierre); max-width: 640px; text-wrap: pretty; }
.tn-carte { background: var(--tn-creme); border-radius: var(--tn-rayon); box-shadow: var(--tn-ombre); }
.tn-etiquette { display: inline-flex; align-self: flex-start; padding: 3px 12px; border: 1px solid var(--tn-trait-fort); border-radius: 999px; font-size: 0.78rem; line-height: 1.4; color: var(--tn-pierre); background: var(--tn-creme); white-space: nowrap; }
.tn-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.88rem; color: var(--tn-pierre); }
.tn-meta b { color: var(--tn-encre); font-weight: 700; }
.tn-section { padding: 120px 0 0; }
.tn-devis + .tn-section { padding-top: 72px; }
.tn-section:last-child { padding-bottom: 40px; }
.tn-jauge { display: block; height: 8px; border-radius: 99px; background: rgba(23, 23, 23, 0.08); overflow: hidden; }
.tn-jauge__plein { display: block; height: 100%; width: calc(var(--v, 0) * 100%); border-radius: inherit; background: var(--tn-rouge); transform-origin: left center; transition: width 0.4s ease; }
.tn-home svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* HERO : texte à gauche, une seule planche à droite (photo d'atelier + devis relu, bilan en bandeau dessous) */
.tn-devis { padding: 56px 0 0; }
.tn-devis__grid {
  display: grid; column-gap: 52px;
  grid-template-columns: minmax(0, 392px) minmax(0, 1fr);
  grid-template-rows: 1fr auto auto auto auto auto 1fr;
  grid-template-areas: ". scene" "kicker scene" "h1 scene" "chapo scene" "actions scene" "preuves scene" ". scene";
}
.tn-devis__grid > * { min-width: 0; }
.tn-devis__kicker { grid-area: kicker; justify-self: start; }
.tn-devis__h1 { grid-area: h1; margin-top: 22px !important; font-family: "Sigmar", var(--tn-titre) !important; font-size: clamp(2.3rem, 3.3vw, 3rem) !important; line-height: 1.05 !important; color: var(--tn-encre); text-wrap: balance; }
.tn-devis__h1 em { font-style: normal; color: var(--tn-rouge); }
.tn-devis__chapo { grid-area: chapo; margin-top: 20px !important; font-size: 1.06rem; line-height: 1.6; color: var(--tn-pierre); }
.tn-devis__actions { grid-area: actions; margin-top: 26px; }
.tn-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tn-actions .button-link { min-height: 48px; font-size: 1.02rem; }
.tn-preuves { grid-area: preuves; margin-top: 28px !important; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; width: 100%; padding-top: 20px !important; border-top: 1px solid var(--tn-trait-fort); }
.tn-preuves li { display: flex; flex-direction: column; gap: 4px; padding: 0 20px; border-left: 1px solid var(--tn-trait); }
.tn-preuves li:first-child { padding-left: 0; border-left: 0; }
.tn-preuves li:last-child { padding-right: 0; }
.tn-preuves b { font-family: var(--tn-titre); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--tn-encre); }
.tn-preuves li:first-child b { color: var(--tn-rouge); }
.tn-preuves span { font-size: 0.88rem; color: var(--tn-pierre); white-space: nowrap; }

.tn-planche {
  grid-area: scene; align-self: center; position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); grid-template-areas: "photo devis" "bilan bilan";
  gap: 12px; padding: 12px; border-radius: 32px;
}
.tn-planche__photo { grid-area: photo; position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--tn-sable); }
.tn-planche__photo picture { display: block; width: 100%; height: 100%; }
.tn-planche__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

/* Repères posés sur la photo : ils s'allument avec la ligne du devis qui les concerne */
.tn-repere { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 8px; transform: translate(-17px, -50%); color: var(--tn-encre) !important; z-index: 2; }
.tn-repere--gauche { flex-direction: row-reverse; transform: translate(calc(-100% + 17px), -50%); }
.tn-repere__point { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: var(--tn-titre); font-size: 0.95rem; background: var(--tn-creme); color: var(--tn-encre); box-shadow: 0 0 0 4px rgba(255, 253, 249, 0.45), 0 6px 16px rgba(0, 0, 0, 0.25); transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.tn-repere__txt { font-size: 0.82rem; font-weight: 700; line-height: 1; padding: 8px 12px; border-radius: 999px; background: var(--tn-creme); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); white-space: nowrap; transition: background 0.3s, color 0.3s; }
.tn-repere.is-active .tn-repere__point { background: var(--tn-rouge); color: #fff; box-shadow: 0 0 0 7px rgba(144, 57, 58, 0.3), 0 6px 16px rgba(0, 0, 0, 0.25); }
.tn-repere.is-active .tn-repere__txt { background: var(--tn-encre); color: whitesmoke; }

.tn-papier { grid-area: devis; min-width: 0; display: flex; flex-direction: column; padding: 18px 4px 4px; }
.tn-papier__tete { display: flex; flex-direction: column; gap: 4px; padding: 0 12px 14px; border-bottom: 1px dashed var(--tn-trait-fort); }
.tn-papier__titre { font-family: var(--tn-titre); font-size: 1.35rem; line-height: 1.1; }
.tn-papier__auto { font-size: 0.86rem; color: var(--tn-pierre); }
.tn-papier__lignes { display: flex; flex-direction: column; padding: 6px 0; }
.tn-papier__lignes li + li { border-top: 1px solid var(--tn-trait); }
.tn-ligne { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 10px; border-radius: 14px; color: var(--tn-encre) !important; transition: background 0.25s; }
.tn-ligne__n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; background: rgba(226, 209, 195, 0.7); }
.tn-ligne__op { position: relative; font-weight: 700; font-size: 0.9rem; line-height: 1.25; justify-self: start; }
.tn-ligne__txt { position: relative; background: linear-gradient(var(--tn-jaune), var(--tn-jaune)) no-repeat 0 88% / 0% 58%; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 2px; transition: background-size 0.45s ease; }
.tn-ligne__surligne { display: none; }
.tn-ligne.is-active .tn-ligne__txt, .tn-ligne:hover .tn-ligne__txt, .tn-ligne:focus-visible .tn-ligne__txt { background-size: 100% 58%; }
.tn-ligne.is-active .tn-ligne__n { background: var(--tn-encre); color: whitesmoke; }
.tn-tampon { display: grid; font-size: 0.72rem; font-weight: 700; line-height: 1.2; white-space: nowrap; transform: rotate(-2deg); }
.tn-tampon > span { grid-area: 1 / 1; padding: 4px 10px; border-radius: 999px; text-align: center; }
.tn-tampon--maintenant .tn-tampon__vu { background: var(--tn-rouge); color: #fff; }
.tn-tampon--planifier .tn-tampon__vu { background: var(--tn-encre); color: whitesmoke; }
.tn-tampon--justifier .tn-tampon__vu { background: var(--tn-creme); color: var(--tn-encre); box-shadow: inset 0 0 0 1.5px var(--tn-encre); }
.tn-tampon__attente { visibility: hidden; color: var(--tn-encre); box-shadow: inset 0 0 0 1.5px var(--tn-trait-fort); background: transparent; }
/* Ligne pas encore relue : le tampon attend en pointillé, le texte de la ligne reste net */
.tn-ligne.is-attente .tn-tampon__vu { visibility: hidden; }
.tn-ligne.is-attente .tn-tampon__attente { visibility: visible; box-shadow: none; outline: 1.5px dashed var(--tn-trait-fort); outline-offset: -1.5px; }
.tn-papier__pied { margin-top: auto; padding: 14px 12px 12px; border-radius: 18px; background: rgba(226, 209, 195, 0.38); display: flex; flex-direction: column; gap: 8px; }
.tn-papier__note { font-size: 0.88rem; line-height: 1.45; color: var(--tn-encre); min-height: 3.9em; }
.tn-papier__note span { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tn-rouge); margin-bottom: 3px; }
.tn-papier__lien { display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; font-weight: 700; line-height: 1.3; color: var(--tn-encre) !important; text-decoration: underline !important; text-underline-offset: 3px; text-decoration-color: var(--tn-trait-fort) !important; }
.tn-papier__lien:hover { color: var(--tn-rouge) !important; }
.tn-papier__lien svg { width: 15px; height: 15px; }
.tn-papier__pied template { display: none; }

.tn-bilan { grid-area: bilan; display: grid; grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr)); align-items: center; padding: 14px 10px 6px; border-top: 1px dashed var(--tn-trait-fort); margin: 0 4px; }
.tn-bilan > * { margin: 0; }
.tn-bilan__titre { display: flex; flex-direction: column; gap: 2px; font-family: var(--tn-titre); font-size: 1.1rem; line-height: 1.1; padding-left: 4px; }
.tn-bilan__titre span { font-family: var(--tn-texte); font-size: 0.82rem; color: var(--tn-pierre); }
.tn-bilan__titre b { color: var(--tn-encre); }
.tn-pile { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 0.86rem; line-height: 1.15; color: var(--tn-encre); border-left: 1px solid var(--tn-trait); }
.tn-pile b { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; font-family: var(--tn-titre); font-weight: 400; font-size: 1.3rem; }
.tn-pile--maintenant b { background: var(--tn-rouge); color: #fff; }
.tn-pile--planifier b { background: var(--tn-encre); color: whitesmoke; }
.tn-pile--justifier b { background: var(--tn-creme); color: var(--tn-encre); box-shadow: inset 0 0 0 1.5px var(--tn-encre); }
.tn-pile span { white-space: nowrap; font-weight: 700; }

/* PORTES */
.tn-portes__tableau { padding: 8px 32px; }
.tn-porte { display: grid; grid-template-columns: minmax(0, 1.25fr) 150px minmax(0, 1.35fr); gap: 32px; align-items: center; padding: 24px 0; }
.tn-porte + .tn-porte { border-top: 1px solid var(--tn-trait); }
.tn-porte__situation { display: flex; flex-direction: column; gap: 6px; color: var(--tn-encre) !important; }
.tn-porte__situation strong { font-family: var(--tn-titre); font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.tn-porte__situation:hover strong { color: var(--tn-rouge); }
.tn-porte__texte { font-size: 0.95rem; color: var(--tn-pierre); line-height: 1.5; }
.tn-porte__jauge { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 8px; }
.tn-porte__nombre { font-family: var(--tn-titre); font-size: 2.3rem; line-height: 1; }
.tn-porte__unite { font-size: 0.9rem; color: var(--tn-pierre); }
.tn-porte__jauge .tn-jauge { grid-column: 1 / -1; }
.tn-porte__guides { display: flex; flex-direction: column; gap: 6px; }
.tn-porte__guides a { display: block; font-size: 0.95rem; line-height: 1.35; padding: 8px 14px; border-radius: 14px; background: rgba(226, 209, 195, 0.32); }
.tn-porte__guides a:hover { background: rgba(226, 209, 195, 0.7); }
.tn-portes__rubriques { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.tn-portes__rubriques a { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--tn-trait-fort); font-size: 0.92rem; background: rgba(255, 253, 249, 0.6); }

/* À LA UNE : le classeur */
.tn-classeur { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0; padding: 14px; }
.tn-classeur__onglets { display: flex; flex-direction: column; gap: 6px; padding: 6px 14px 6px 4px; border-right: 1px dashed var(--tn-trait-fort); }
.tn-classeur__onglets button { position: relative; overflow: hidden; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; text-align: left; font: inherit; padding: 12px 14px; border: 0; border-radius: 18px; background: transparent; color: var(--tn-encre); cursor: pointer; transition: background 0.25s; }
.tn-classeur__onglets button:hover { background: rgba(226, 209, 195, 0.35); }
.tn-classeur__onglets button[aria-selected="true"] { background: var(--tn-encre); color: whitesmoke; }
.tn-classeur__num { font-family: var(--tn-titre); font-size: 1.15rem; line-height: 1.2; color: var(--tn-rouge); }
.tn-classeur__onglets button[aria-selected="true"] .tn-classeur__num { color: var(--tn-jaune); }
.tn-classeur__ong-txt { display: flex; flex-direction: column; gap: 2px; font-size: 0.92rem; font-weight: 700; line-height: 1.3; }
.tn-classeur__ong-txt small { font-size: 0.72rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; }
.tn-classeur__temps { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: rgba(245, 245, 245, 0.15); opacity: 0; }
.tn-classeur__temps span { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--tn-jaune); transform-origin: left center; transform: scaleX(0); }
.tn-anim .tn-classeur__onglets button[aria-selected="true"] .tn-classeur__temps { opacity: 1; }
.tn-classeur__page { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 32px; padding: 14px 14px 14px 28px; align-items: stretch; }
.tn-classeur__onglets { grid-row: 1 / span 5; align-self: start; }
.tn-classeur__page { grid-column: 2; }
.tn-js .tn-classeur__page[hidden] { display: none; }
.tn-classeur__photo { margin: 0; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; align-self: start; }
.tn-classeur__photo img { width: 100%; height: 100%; object-fit: cover; }
.tn-classeur__corps { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; padding: 8px 8px 8px 0; }
.tn-classeur__corps h3 { font-size: 1.75rem; line-height: 1.12; }
.tn-classeur__corps h3 a:hover { color: var(--tn-rouge) !important; }
.tn-classeur__etapes { display: flex; flex-direction: column; gap: 0; width: 100%; counter-reset: none; }
.tn-classeur__etapes li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 9px 0; font-size: 0.96rem; line-height: 1.4; border-top: 1px solid var(--tn-trait); }
.tn-classeur__etapes li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 0.78rem; font-weight: 700; background: rgba(226, 209, 195, 0.6); transform: translateY(-2px); }
.tn-classeur__corps .button-link { margin-top: 6px; }

/* URGENCE */
.tn-urgence__grille { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: stretch; }
.tn-urgence__photo { margin: 0; position: relative; aspect-ratio: 1 / 1; max-height: 480px; border-radius: var(--tn-rayon); overflow: hidden; box-shadow: var(--tn-ombre); align-self: start; }
.tn-urgence__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.tn-urgence__photo figcaption, .tn-budget__photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 253, 249, 0.94); font-size: 0.92rem; line-height: 1.4; }
.tn-urgence__outil { padding: 30px 32px; display: flex; flex-direction: column; gap: 20px; }
.tn-urgence__groupe { border: 0; margin: 0; padding: 0; }
.tn-urgence__groupe legend { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tn-pierre); margin-bottom: 10px; padding: 0; }
.tn-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.tn-puce { font: inherit; font-size: 0.95rem; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--tn-trait-fort); background: transparent; color: var(--tn-encre); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.tn-puce:hover { border-color: var(--tn-rouge); color: var(--tn-rouge); }
.tn-puce[aria-pressed="true"] { background: var(--tn-encre); border-color: var(--tn-encre); color: whitesmoke; }
.tn-urgence__jauge { border-top: 1px dashed var(--tn-trait-fort); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.tn-paliers { display: grid; grid-template-columns: repeat(3, 1fr); font-size: 0.82rem; color: var(--tn-pierre); }
.tn-paliers span:nth-child(2) { text-align: center; }
.tn-paliers span:nth-child(3) { text-align: right; }
.tn-paliers__barre { position: relative; height: 12px; border-radius: 99px; background: linear-gradient(90deg, var(--tn-sable) 0 33.3%, var(--tn-sable-fonce) 33.3% 66.6%, var(--tn-rouge) 66.6%); }
.tn-paliers__curseur { position: absolute; top: 50%; left: var(--pos, 16.6%); width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--tn-creme); border: 3px solid var(--tn-encre); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); transition: left 0.45s cubic-bezier(0.3, 1.4, 0.5, 1); }
.tn-urgence__jauge[data-niveau="0"] .tn-paliers__curseur { --pos: 0%; }
.tn-urgence__jauge[data-niveau="1"] .tn-paliers__curseur { --pos: 16.6%; }
.tn-urgence__jauge[data-niveau="2"] .tn-paliers__curseur { --pos: 50%; }
.tn-urgence__jauge[data-niveau="3"] .tn-paliers__curseur { --pos: 83.3%; }
.tn-urgence__verdict { display: flex; flex-direction: column; gap: 6px; min-height: 128px; }
.tn-urgence__verdict[hidden] { display: none; }
.tn-urgence__verdict strong { font-family: var(--tn-titre); font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.tn-urgence__jauge[data-niveau="3"] .tn-urgence__verdict strong { color: var(--tn-rouge); }
.tn-urgence__verdict p { font-size: 0.96rem; line-height: 1.5; color: var(--tn-pierre); }
.tn-urgence__verdict p b { color: var(--tn-encre); }
.tn-urgence__liens { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.92rem; font-weight: 700; }
.tn-urgence__liens a { text-decoration: underline !important; text-underline-offset: 4px; text-decoration-color: var(--tn-trait-fort) !important; }

/* MÉTHODE APPLIQUÉE : les quatre temps en tête de la carte, trois cas réels dessous */
.tn-crible { padding: 40px 32px 14px; }
.tn-parcours { position: relative; padding-bottom: 32px; border-bottom: 1px dashed var(--tn-trait-fort); }
.tn-parcours__rail { position: absolute; left: 12.5%; right: 12.5%; top: 22px; height: 4px; border-radius: 4px; background: rgba(23, 23, 23, 0.1); }
.tn-parcours__trace { position: absolute; inset: 0; border-radius: inherit; background: var(--tn-rouge); transform-origin: left center; }
.tn-parcours__liste { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tn-parcours__etape { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 0 8px; }
.tn-parcours__n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--tn-titre); font-size: 1.3rem; background: var(--tn-encre); color: whitesmoke; box-shadow: 0 0 0 8px var(--tn-creme); transition: background 0.3s; }
.tn-parcours__etape.is-atteinte .tn-parcours__n { background: var(--tn-rouge); }
.tn-parcours__etape h3 { font-size: 1.45rem; margin-top: 4px; }
.tn-parcours__etape p { font-size: 0.95rem; line-height: 1.5; color: var(--tn-pierre); flex: 1; }
.tn-parcours__source { display: inline-flex; align-items: flex-start; gap: 6px; text-align: left; font-size: 0.8rem; line-height: 1.35; padding: 7px 12px; border-radius: 14px; background: rgba(226, 209, 195, 0.4); }
.tn-parcours__source svg { width: 15px; height: 15px; color: var(--tn-rouge); margin-top: 1px; }
.tn-parcours__guide { font-size: 0.86rem; font-weight: 700; text-decoration: underline !important; text-underline-offset: 4px; text-decoration-color: var(--tn-trait-fort) !important; }

/* BUDGET */
.tn-budget__grille { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: center; }
.tn-budget__photo { margin: 0; position: relative; aspect-ratio: 4 / 5; max-height: 520px; border-radius: var(--tn-rayon); overflow: hidden; box-shadow: var(--tn-ombre); }
.tn-budget__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.tn-budget__photo figcaption a { font-weight: 700; }
.tn-ticket { padding: 30px 32px; display: flex; flex-direction: column; gap: 4px; }
.tn-ticket__tete { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px dashed var(--tn-trait-fort); }
.tn-ticket__tete span:first-child { font-family: var(--tn-titre); font-size: 1.3rem; }
.tn-ticket__ex { font-size: 0.78rem; align-self: center; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--tn-trait-fort); color: var(--tn-pierre); }
.tn-ticket__ligne { display: grid; grid-template-columns: 150px minmax(0, 1fr) 48px 130px; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--tn-trait); cursor: text; }
.tn-ticket__nom { font-weight: 700; }
.tn-ticket__part { height: 12px; border-radius: 99px; background: rgba(23, 23, 23, 0.06); overflow: hidden; }
.tn-ticket__barre { display: block; height: 100%; width: 0; background: var(--tn-rouge); border-radius: inherit; transition: width 0.45s ease; }
.tn-ticket__pct { font-size: 0.88rem; font-weight: 700; text-align: right; color: var(--tn-pierre); }
.tn-ticket__saisie { display: flex; align-items: center; gap: 6px; border: 1px solid #777; border-radius: 999px; padding: 4px 14px; background: #fff; }
.tn-ticket__saisie input { width: 100%; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem; text-align: right; outline: none; color: var(--tn-encre); }
.tn-ticket__saisie:focus-within { border-color: var(--tn-rouge); box-shadow: 0 0 0 3px rgba(144, 57, 58, 0.15); }
.tn-ticket__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 0 8px; }
.tn-ticket__total span { font-size: 1rem; color: var(--tn-pierre); }
.tn-ticket__total output { font-family: var(--tn-titre); font-size: 2.6rem; line-height: 1; color: var(--tn-encre); white-space: nowrap; }
.tn-ticket__note { font-size: 0.9rem; line-height: 1.5; color: var(--tn-pierre); }
.tn-ticket__note a { font-weight: 700; text-decoration: underline !important; text-underline-offset: 3px; }

/* CAS PRATIQUES, dans la carte de la méthode */
.tn-cas__table { padding: 6px 0 0; }
.tn-cas__ligne { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.1fr); gap: 28px; padding: 22px 0; align-items: start; color: var(--tn-encre) !important; line-height: 1.5; }
.tn-cas__ligne + .tn-cas__ligne { border-top: 1px solid var(--tn-trait); }
.tn-cas__ligne--tete { padding: 18px 0 12px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tn-pierre) !important; }
.tn-cas__ligne span { font-size: 0.97rem; }
.tn-cas__titre { display: flex; gap: 12px; font-family: var(--tn-titre); font-size: 1.15rem !important; line-height: 1.2; }
.tn-cas__titre em { font-style: normal; color: var(--tn-rouge); }
.tn-cas__decision { position: relative; padding: 10px 14px; border-radius: 16px; background: var(--tn-sable); font-weight: 700; }
a.tn-cas__ligne:hover .tn-cas__titre { color: var(--tn-rouge); }
a.tn-cas__ligne:hover .tn-cas__decision { background: var(--tn-encre); color: whitesmoke; }

/* CARNET */
.tn-carnet__outil { padding: 28px 32px 32px; }
.tn-carnet__onglets { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(226, 209, 195, 0.4); width: max-content; max-width: 100%; margin: 0 auto 28px; }
.tn-carnet__onglets button { font: inherit; font-size: 0.98rem; padding: 8px 20px; border: 0; border-radius: 999px; background: transparent; color: var(--tn-encre); cursor: pointer; }
.tn-carnet__onglets button[aria-selected="true"] { background: var(--tn-encre); color: whitesmoke; }
.tn-carnet__panneau { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px 40px; align-items: start; }
.tn-carnet__panneau + .tn-carnet__panneau { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--tn-trait); }
.tn-js .tn-carnet__panneau + .tn-carnet__panneau { margin-top: 0; padding-top: 0; border-top: 0; }
.tn-carnet__panneau[hidden] { display: none; }
.tn-carnet__intro { display: flex; flex-direction: column; gap: 12px; }
.tn-carnet__intro h3 { font-size: 1.9rem; }
.tn-carnet__intro p { color: var(--tn-pierre); line-height: 1.55; }
.tn-carnet__compte { font-size: 0.95rem; }
.tn-carnet__compte b { font-family: var(--tn-titre); font-weight: 400; font-size: 1.6rem; color: var(--tn-rouge); }
.tn-carnet__liste { display: flex; flex-direction: column; gap: 8px; grid-row: span 2; }
.tn-carnet__liste label { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--tn-trait); background: #fff; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.tn-carnet__liste input { appearance: none; width: 24px; height: 24px; flex: none; margin: 0; border-radius: 8px; border: 2px solid var(--tn-pierre); display: grid; place-items: center; cursor: pointer; }
.tn-carnet__liste input:checked { background: var(--tn-rouge); border-color: var(--tn-rouge); }
.tn-carnet__liste input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.tn-carnet__liste label:has(input:checked) { background: rgba(226, 209, 195, 0.35); border-color: transparent; }
.tn-carnet__liste label:has(input:checked) span { color: var(--tn-pierre); text-decoration: line-through; text-decoration-color: rgba(144, 57, 58, 0.5); }
.tn-carnet__guide { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 18px; background: var(--tn-encre); color: whitesmoke !important; font-weight: 700; line-height: 1.35; }
.tn-carnet__guide span { font-weight: 400; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.75; }
.tn-carnet__guide:hover { background: var(--tn-rouge); }

/* ÉQUIPE : le terrain de chaque signature, ses guides, son compte d'étapes */
.tn-equipe__grille { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.tn-auteur { display: flex; flex-direction: column; padding: 10px; height: 100%; }
.tn-auteur__terrain { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; }
.tn-auteur__terrain img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tn-auteur:hover .tn-auteur__terrain img { transform: scale(1.04); }
.tn-auteur__terrain figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 8px 12px; border-radius: 14px; background: rgba(255, 253, 249, 0.95); font-size: 0.84rem; font-weight: 700; line-height: 1.25; color: var(--tn-encre); }
.tn-auteur__terrain figcaption span { display: block; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tn-rouge); }
.tn-auteur__corps { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 6px 6px; }
.tn-auteur .tn-etiquette { white-space: normal; }
.tn-auteur h3 { font-size: 1.12rem; line-height: 1.15; }
.tn-auteur h3 a:hover { color: var(--tn-rouge) !important; }
.tn-auteur__role { font-size: 0.88rem; color: var(--tn-pierre); }
.tn-auteur__guides { display: flex; flex-direction: column; gap: 4px; padding-top: 8px; border-top: 1px dashed var(--tn-trait-fort); }
.tn-auteur__guides a { display: block; font-size: 0.82rem; line-height: 1.3; font-weight: 700; padding: 6px 10px; border-radius: 12px; background: rgba(226, 209, 195, 0.32); }
.tn-auteur__guides a:hover { background: var(--tn-encre); color: whitesmoke !important; }
.tn-auteur__compte { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; font-size: 0.86rem; color: var(--tn-pierre); }
.tn-auteur__compte b { font-family: var(--tn-titre); font-weight: 400; font-size: 1.25rem; color: var(--tn-rouge); }
.tn-auteur__compte > span { margin-left: auto; font-size: 0.78rem; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--tn-trait-fort); }

/* FAQ */
.tn-faq__liste { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.tn-faq__item { padding: 0; overflow: hidden; }
.tn-faq__item summary { list-style: none; display: flex; align-items: center; gap: 18px; padding: 22px 28px; cursor: pointer; font-weight: 700; font-size: 1.1rem; }
.tn-faq__item summary::-webkit-details-marker { display: none; }
.tn-faq__item summary::after { content: ""; margin-left: auto; width: 12px; height: 12px; flex: none; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform 0.25s; }
.tn-faq__item[open] summary::after { transform: rotate(-135deg); }
.tn-faq__n { font-family: var(--tn-titre); font-weight: 400; font-size: 1.3rem; color: var(--tn-rouge); }
.tn-faq__item p { padding: 0 28px 24px 74px; line-height: 1.65; color: var(--tn-pierre); }

/* DERNIERS : la route de la compacte, quatre bornes, une fiche de guide accrochée à chacune */
.tn-route { position: relative; padding: 34px 28px 28px; }
.tn-route__piste { position: relative; height: 56px; margin: 0 calc(12.5% - 14px) 0; }
.tn-route__voie { position: absolute; left: 0; right: 0; top: 50%; height: 14px; margin-top: -7px; border-radius: 14px; background: var(--tn-encre); overflow: hidden; }
.tn-route__voie::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, rgba(255, 253, 249, 0.8) 0 16px, transparent 16px 30px); }
.tn-route__trace { position: absolute; inset: 0; background: var(--tn-rouge); transform-origin: left center; transform: scaleX(1); }
.tn-route__auto { position: absolute; left: var(--p, 0%); top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; padding: 6px 14px; border-radius: 14px; background: var(--tn-creme); box-shadow: var(--tn-ombre), 0 0 0 2px var(--tn-encre); white-space: nowrap; line-height: 1.15; z-index: 2; }
.tn-route__auto b { font-size: 0.8rem; }
.tn-route__auto span { font-size: 0.72rem; color: var(--tn-rouge); font-weight: 700; }
.tn-route__bornes { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.tn-borne { display: flex; flex-direction: column; align-items: center; gap: 14px; }
/* Borne kilométrique : tête rouge, pied crème, comme au bord de la route */
.tn-borne__plot { display: flex; flex-direction: column; align-items: center; min-width: 132px; border-radius: 22px 22px 6px 6px; overflow: hidden; box-shadow: 0 0 0 1.5px var(--tn-encre); background: var(--tn-creme); }
.tn-borne__tete { width: 100%; padding: 6px 0 4px; text-align: center; font-family: var(--tn-titre); font-size: 1.2rem; line-height: 1; background: var(--tn-rouge); color: #fff; transition: background 0.35s, color 0.35s; }
.tn-anim .tn-borne:not(.is-atteinte) .tn-borne__tete { background: var(--tn-sable); color: var(--tn-encre); }
.tn-borne__pied { padding: 6px 12px 7px; white-space: nowrap; font-size: 0.74rem; font-weight: 700; text-align: center; line-height: 1.2; }
.tn-borne__fiche { width: 100%; flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 16px; border-radius: 22px; background: #fff; border: 1px solid var(--tn-trait); color: var(--tn-encre) !important; transition: border-color 0.25s, transform 0.25s; }
.tn-borne__fiche:hover { border-color: var(--tn-encre); transform: translateY(-3px); }
.tn-borne__fiche:hover h3 { color: var(--tn-rouge); }
.tn-borne__moment { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tn-rouge); }
.tn-borne__fiche h3 { font-size: 1.12rem; line-height: 1.2; }
.tn-borne__etapes { display: flex; flex-direction: column; gap: 7px; padding-top: 10px; border-top: 1px dashed var(--tn-trait-fort); }
.tn-borne__etapes li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; font-size: 0.84rem; line-height: 1.35; color: var(--tn-pierre); }
.tn-borne__etapes li span { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 0.68rem; font-weight: 700; color: var(--tn-encre); background: rgba(226, 209, 195, 0.7); }
.tn-borne__fiche .tn-meta { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--tn-trait); font-size: 0.8rem; gap: 2px 10px; }

/* APPEL FINAL */
.tn-message { max-width: 860px; margin: 0 auto; padding: 28px 32px; display: flex; flex-direction: column; gap: 12px; }
.tn-message__champ { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px 16px; border-radius: 18px; border: 1px solid var(--tn-trait); background: #fff; }
.tn-message__champ span { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--tn-pierre); }
.tn-message__champ p { font-size: 1.02rem; min-height: 1.5em; }
.tn-message__champ p.is-frappe::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -2px; background: var(--tn-rouge); animation: cursor-blink 1s steps(2) infinite; }
.tn-message__pied { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; }
.tn-message__exemple { font-size: 0.85rem; color: var(--tn-pierre); }

/* AVANT-FOOTER « Dans les coulisses » : même grammaire que les sections de la home */
body .uf-block[data-avant-footer] { width: min(1160px, calc(100% - 48px)) !important; margin: 120px auto 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; font-family: var(--f-texte, "Kanit", sans-serif); }
body .uf-block[data-avant-footer] .about-split { display: block !important; max-width: none !important; width: 100% !important; margin: 0 auto; background: #fffdf9; border: 0 !important; border-radius: 28px; box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.075), 0 0 0 1px hsla(0, 0%, 0%, 0.05), 0 0.9px 1.5px hsla(0, 0%, 0%, 0.045), 0 3.5px 6px hsla(0, 0%, 0%, 0.06), 0 24px 48px -18px rgba(67, 43, 30, 0.22); }
body .uf-block[data-avant-footer] .af-pad { padding: 48px 48px 44px !important; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
body .uf-block[data-avant-footer] .eyebrow { display: inline-flex !important; align-items: center; gap: 10px; padding: 6px 16px 6px 8px; border: 1px solid rgba(23, 23, 23, 0.18); border-radius: 999px; background: rgba(255, 253, 249, 0.7); font-size: 0.9rem !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; color: #171717 !important; line-height: 1.2; }
body .uf-block[data-avant-footer] .eyebrow::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: radial-gradient(circle, #90393a 0 4px, #fffdf9 4.5px); box-shadow: inset 0 0 0 1px rgba(23, 23, 23, 0.18); }
body .uf-block[data-avant-footer] h2 { margin: 0 !important; padding: 0 !important; max-width: 720px; font-family: var(--f-titre, "Sigmar", sans-serif) !important; font-weight: 400 !important; font-size: clamp(1.8rem, 3vw, 2.6rem) !important; line-height: 1.1 !important; letter-spacing: 0 !important; color: #171717 !important; text-align: center; text-wrap: balance; }
body .uf-block[data-avant-footer] h2 em { font-style: normal; color: #90393a; }
body .uf-block[data-avant-footer] p { margin: 0 !important; max-width: 600px; font-size: 1.05rem !important; line-height: 1.6 !important; color: #434343 !important; }
body .uf-block[data-avant-footer] .af-button { display: inline-flex !important; align-items: center; gap: 10px; min-height: 48px; padding: 8px 32px !important; border-radius: 999px !important; border: 1px solid #171717 !important; background: #171717 !important; color: whitesmoke !important; font-weight: 400 !important; font-size: 1.02rem !important; filter: none !important; transition: background 0.2s, border-color 0.2s; }
body .uf-block[data-avant-footer] .af-button:hover { background: #90393a !important; border-color: #90393a !important; }

/* Apparitions (seulement avec JS et mouvement autorisé) */
.tn-anim [data-tn-apparait] { opacity: 0; transform: translateY(24px); }

@media (max-width: 1100px) {
  .tn-equipe__grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tn-porte { grid-template-columns: minmax(0, 1fr) 130px; }
  .tn-porte__guides { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .tn-classeur { grid-template-columns: 240px minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .tn-crible { padding: 32px 24px 8px; }
  .tn-urgence__grille, .tn-budget__grille { grid-template-columns: minmax(0, 1fr); }
  .tn-urgence__photo, .tn-budget__photo { max-width: 420px; width: 100%; justify-self: center; }
  .tn-classeur { grid-template-columns: minmax(0, 1fr); }
  .tn-classeur__onglets { grid-row: auto; }
  .tn-classeur__page { grid-column: 1; }
  .tn-classeur__onglets { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px dashed var(--tn-trait-fort); padding: 4px 4px 14px; scrollbar-width: thin; }
  .tn-classeur__onglets button { flex: 0 0 220px; }
  .tn-classeur__page { padding: 20px 6px 6px; }
  .tn-parcours__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .tn-parcours__rail { display: none; }
  .tn-cas__ligne { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 24px; }
  .tn-cas__ligne--tete { display: none; }
  .tn-cas__titre { grid-column: 1 / -1; }
  .tn-cas__ligne span[data-col]::before { content: attr(data-col); display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tn-pierre); font-weight: 400; margin-bottom: 2px; }
  .tn-route__bornes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .tn-route__piste { display: none; }
  .tn-anim .tn-borne:not(.is-atteinte) .tn-borne__tete { background: var(--tn-rouge); color: #fff; }
  .tn-carnet__panneau { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  [data-bandeau], .announcement-bar { display: none !important; }
  .tn-wrap { width: calc(100% - 32px); }
  .tn-section { padding-top: 80px; }
  .tn-tete { margin-bottom: 32px; gap: 14px; }
  .tn-tete h2 { font-size: 1.85rem; }
  .tn-tete__chapo { font-size: 1rem; }
  .tn-crible { padding: 24px 18px 4px; }
  .tn-portes__tableau { padding: 4px 20px; }
  .tn-porte { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px 0; }
  .tn-porte__jauge { grid-template-columns: auto auto 1fr; align-items: center; }
  .tn-porte__jauge .tn-jauge { grid-column: auto; }
  .tn-porte__guides { flex-direction: column; }
  .tn-classeur { padding: 10px; }
  .tn-classeur__onglets button { flex-basis: 200px; }
  .tn-classeur__page { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .tn-classeur__corps h3 { font-size: 1.4rem; }
  .tn-urgence__outil, .tn-ticket, .tn-carnet__outil, .tn-message { padding: 22px 18px; }
  .tn-parcours__etape { display: grid; grid-template-columns: 48px minmax(0, 1fr); text-align: left; align-items: start; gap: 6px 14px; }
  .tn-parcours__etape > :not(.tn-parcours__n) { grid-column: 2; }
  .tn-parcours__n { grid-row: 1 / span 4; }
  .tn-parcours__etape h3 { margin-top: 8px; }
  .tn-parcours__liste { grid-template-columns: minmax(0, 1fr); }
  .tn-ticket__ligne { grid-template-columns: minmax(0, 1fr) 44px 120px; gap: 8px 10px; }
  .tn-ticket__part { grid-column: 1 / -1; grid-row: 2; }
  .tn-ticket__total output { font-size: 2rem; }
  .tn-cas__ligne { grid-template-columns: minmax(0, 1fr); }
  .tn-carnet__onglets { border-radius: 22px; }
  .tn-carnet__onglets button { padding: 8px 14px; font-size: 0.92rem; }
  .tn-equipe__grille { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tn-auteur { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 12px; align-items: start; }
  .tn-auteur__terrain figcaption { font-size: 0.7rem; padding: 6px 8px; left: 6px; right: 6px; bottom: 6px; }
  .tn-auteur__terrain figcaption span { display: none; }
  .tn-auteur__corps { padding: 4px 4px 4px 0; }
  .tn-route { padding: 20px 14px 14px; }
  .tn-route__bornes { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
  .tn-borne { align-items: stretch; gap: 10px; }
  .tn-borne__plot { flex-direction: row; width: auto; align-self: flex-start; border-radius: 999px; }
  .tn-borne__tete { width: auto; padding: 6px 12px; }
  .tn-borne__pied { padding: 6px 14px 6px 10px; }
  .tn-faq__item summary { padding: 18px; gap: 12px; font-size: 1rem; }
  .tn-faq__item p { padding: 0 18px 20px; }
  .tn-message__champ { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .tn-message__pied { flex-direction: column; align-items: stretch; text-align: center; }
  body .uf-block[data-avant-footer] { width: calc(100% - 32px) !important; margin-top: 80px !important; }
  body .uf-block[data-avant-footer] .af-pad { padding: 32px 20px !important; }
}
/* HERO : tablette et mobile */
@media (max-width: 1100px) {
  .tn-devis__grid { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); column-gap: 36px; }
  .tn-planche { grid-template-columns: minmax(0, 1fr) minmax(0, 262px); }
  .tn-preuves li { padding: 0 12px; }
}
@media (max-width: 960px) {
  .tn-devis { padding-top: 40px; }
  .tn-devis__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "kicker" "h1" "chapo" "actions" "preuves" "scene"; }
  .tn-planche { margin-top: 40px; max-width: 760px; width: 100%; justify-self: center; }
}
@media (max-width: 700px) {
  .tn-devis { padding-top: 18px; }
  .tn-devis__grid { grid-template-areas: "kicker" "h1" "actions" "scene" "chapo" "preuves"; }
  .tn-devis__kicker { font-size: 0.82rem; padding: 4px 12px 4px 6px; }
  .tn-devis__h1 { margin-top: 14px !important; font-size: 2.15rem !important; line-height: 1.04 !important; }
  .tn-devis__actions { margin-top: 18px; gap: 10px; }
  .tn-devis__actions .button-link { min-height: 46px; padding-inline: 20px; font-size: 0.98rem; }
  .tn-devis__chapo { margin-top: 26px !important; font-size: 1rem; line-height: 1.55; }
  .tn-preuves { margin-top: 22px !important; padding-top: 16px !important; }
  .tn-preuves li { padding: 0 14px; }
  .tn-preuves b { font-size: 1.5rem; }
  .tn-preuves span { font-size: 0.78rem; white-space: normal; }
  .tn-planche { margin-top: 18px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "devis" "bilan"; gap: 4px; padding: 8px; border-radius: 26px; }
  .tn-planche__photo { aspect-ratio: 5 / 4; border-radius: 20px; }
  .tn-repere { display: none; }
  .tn-papier { padding: 12px 0 0; }
  .tn-papier__tete { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; padding: 0 10px 10px; }
  .tn-papier__titre { font-size: 1.15rem; }
  .tn-papier__auto { font-size: 0.8rem; }
  .tn-papier__lignes { padding: 2px 0; }
  .tn-ligne { padding: 8px 8px; }
  .tn-ligne__op { font-size: 0.88rem; }
  .tn-papier__pied { margin-top: 4px; }
  .tn-bilan { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 10px; padding: 12px 4px 6px; }
  .tn-bilan__titre { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: baseline; font-size: 1rem; padding: 0 6px; }
  .tn-pile { flex-direction: column; gap: 4px; font-size: 0.78rem; }
  .tn-pile:nth-child(2) { border-left: 0; }
  .tn-pile b { width: 36px; height: 36px; font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .tn-home *, .tn-home *::before, .tn-home *::after { transition: none !important; animation: none !important; }
}
