/* Home tunée « La note de consultation » : conseils-de-bien-etre.fr (28/11/2026)
   Charte : variables de src/styles/site.css (crème, encre, sauge), Fira Code, angles droits, bordures nettes. */

.tn-home {
  --tn-l: 1200px;
  --tn-pad: 40px;
  --tn-trait: 2px solid var(--foreground);
  --tn-air: 112px;
  font-family: 'Fira Code', monospace;
  color: var(--foreground);
}
.tn-home *, .tn-home *::before, .tn-home *::after { box-sizing: border-box; }
.tn-home img { display: block; max-width: 100%; }
.tn-home h1, .tn-home h2, .tn-home h3 { font-family: 'Fira Code', monospace; color: var(--foreground); letter-spacing: -0.02em; }
.tn-home h1::before, .tn-home h2::before, .tn-home h3::before,
.tn-home h1::after, .tn-home h2::after, .tn-home h3::after { content: none !important; display: none !important; }
.tn-home a { color: var(--accent); }
/* Le thème Terminal pose des marges, bordures et tirets sur img, figure, ul, li : la home part de zéro */
.tn-home :where(img) { margin: 0; padding: 0; border: 0; }
.tn-home :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
.tn-home :where(li) { margin: 0; }
.tn-home ul li:not(:empty)::before, .tn-home ol li:not(:empty)::before { content: none; }
.tn-home :where(figure) { width: auto; }
.tn-insecable { white-space: nowrap; }
.tn-cadre { width: 100%; max-width: var(--tn-l); margin-inline: auto; padding-inline: var(--tn-pad); }

/* En-tête de la home sur le même cadre de 1200 px que le hero et les sections */
@media (min-width: 1101px) { .site-header .site-header__inner { max-width: 1200px; } }

/* ---------- Grammaire commune : invite, titre, fiche ---------- */
.tn-kicker {
  display: inline-flex; align-items: center; gap: 2px; margin: 0;
  padding: 4px 12px; border: 2px solid var(--accent); background: var(--sauge-clair);
  color: var(--sauge-fonce); font-size: .8rem; font-weight: 600; line-height: 1.4; letter-spacing: .01em;
}
.tn-kicker__invite { color: var(--accent); font-weight: 700; }
.tn-accent {
  font-style: normal; color: var(--accent);
  text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 28%, transparent);
  text-decoration-thickness: .3em; text-underline-offset: -.08em; text-decoration-skip-ink: none;
}
.tn-sec { padding-block: var(--tn-air); background: var(--background); }
.tn-sec:nth-of-type(even) { background: var(--c-surface); }
.tn-tete { text-align: center; max-width: 860px; margin: 0 auto 48px; display: flex; flex-direction: column; align-items: center; }
.tn-tete h2 { font-size: clamp(1.55rem, 2.3vw, 2.15rem); line-height: 1.22; font-weight: 700; margin: 18px 0 0; text-wrap: balance; }
.tn-tete__chapo { margin: 16px 0 0; max-width: 64ch; font-size: .98rem; line-height: 1.6; }
.tn-suite { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 40px 0 0; text-align: center; }

.tn-fiche { position: relative; background: var(--c-surface); border: var(--tn-trait); }
.tn-sec:nth-of-type(even) .tn-fiche { background: var(--background); }
.tn-fiche__barre {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px;
  border-bottom: var(--tn-trait); background: var(--sauge-clair); color: var(--sauge-fonce);
  font-size: .8rem; font-weight: 600; line-height: 1.4;
}
.tn-fiche__nb { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.tn-lien { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; text-underline-offset: 3px; }
.tn-lien .ico { flex: none; transition: transform .2s ease; }
.tn-lien:hover .ico { transform: translateX(3px); }

.tn-home .button { font-family: 'Fira Code', monospace; }
.tn-home .button.tn-btn-plein { background: var(--accent); color: var(--background); border-color: var(--accent); }
.tn-home .button.tn-btn-plein:hover, .tn-home .button.tn-btn-plein:focus-visible { background: var(--sauge-fonce); border-color: var(--sauge-fonce); color: var(--background); }

/* ---------- Hero ---------- */
.tn-hero {
  background: var(--background);
  min-height: max(640px, calc(100svh - var(--tn-tete, 127px)));
  display: grid; align-items: center; padding-block: 40px;
}
.tn-hero__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); gap: 56px; align-items: center; }
.tn-hero__texte { min-width: 0; }
.tn-hero h1 {
  font-size: clamp(2rem, 2.6vw, 2.4rem); line-height: 1.15; font-weight: 700; letter-spacing: -0.035em;
  margin: 20px 0 22px; text-wrap: balance;
}
.tn-hero__chapo { margin: 0; max-width: 46ch; font-size: .98rem; line-height: 1.62; }
.tn-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.tn-hero__actions .button { font-size: .92rem; }
.tn-hero__chiffres { display: flex; flex-wrap: wrap; margin: 34px 0 0; padding: 20px 0 0; border-top: 2px solid var(--c-bord); }
.tn-hero__chiffres li { display: flex; flex-direction: column; padding: 0 24px; border-left: 2px solid var(--c-bord); }
.tn-hero__chiffres li:first-child { padding-left: 0; border-left: 0; }
.tn-hero__chiffres strong { font-size: 2rem; line-height: 1.1; color: var(--accent); font-weight: 700; }
.tn-hero__chiffres span { font-size: .78rem; margin-top: 4px; }

/* Scène : la photo 4/5 à droite, la note posée sur le mur vide en haut à gauche et qui déborde vers le texte */
.tn-scene { position: relative; min-width: 0; width: 100%; padding: 0 0 0 168px; }
.tn-home .tn-scene__photo {
  display: block; position: relative; width: 100%; max-width: 432px; margin: 0 0 0 auto; padding: 0; text-align: left;
  aspect-ratio: 4 / 5; border: 3px solid var(--foreground); background: var(--c-bord); overflow: hidden;
}
.tn-home .tn-scene__photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 84% 50%; }
.tn-home .tn-scene__photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; display: flex; align-items: center; gap: 6px; text-align: left;
  padding: 7px 12px; background: var(--accent); color: var(--background); font-size: .74rem; font-weight: 600; line-height: 1.35;
}
.tn-note { position: absolute; left: 0; top: 30px; width: 334px; z-index: 2; padding: 0 10px 10px 0; }
.tn-note::before { content: ""; position: absolute; inset: 10px 0 0 10px; background: var(--accent); }
.tn-note > * { position: relative; z-index: 1; }
.tn-note > .tn-note__onglets, .tn-note > .tn-note__cas { background: var(--c-surface); border-left: var(--tn-trait); border-right: var(--tn-trait); }
.tn-note__barre {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 12px 10px;
  background: var(--foreground); color: var(--background); border: var(--tn-trait);
  font-size: .74rem; font-weight: 600; line-height: 1.4;
}
.tn-note__etat { margin-left: auto; color: var(--sauge-clair); font-weight: 400; }
.tn-note__onglets { display: flex; gap: 4px; padding: 10px 8px 0; border-bottom: var(--tn-trait); }
.tn-note__onglet {
  position: relative; flex: 1 1 0; min-width: 0; margin: 0; padding: 8px 2px 10px; border: 0;
  background: transparent; color: var(--foreground); font: inherit; font-size: .68rem; line-height: 1.25; white-space: nowrap; cursor: pointer;
}
.tn-note__onglet.is-actif { color: var(--sauge-fonce); font-weight: 700; background: var(--sauge-clair); }
.tn-note__onglet:hover { color: var(--accent); }
.tn-note__onglet:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.tn-note__prog { position: absolute; left: 0; bottom: -2px; height: 3px; width: var(--p, 0%); background: var(--accent); }
.tn-note__onglet.is-actif .tn-note__prog { width: var(--p, 100%); }
.tn-note__cas { padding: 16px 14px 14px; border-bottom: var(--tn-trait); }
.tn-note__cas[hidden] { display: none; }
.tn-note__invite { margin: 0; font-size: .7rem; font-weight: 600; color: var(--accent); }
.tn-note__dit { margin: 2px 0 10px; font-size: .86rem; line-height: 1.45; min-height: 2.9em; }
.tn-note__frappe.is-frappe::after { content: "_"; color: var(--accent); animation: tn-clignote 1s steps(1) infinite; }
@keyframes tn-clignote { 50% { opacity: 0; } }
.tn-note__chiffre { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; margin: 2px 0 0; }
.tn-note__chiffre strong { font-size: 2.3rem; line-height: 1.05; color: var(--accent); font-weight: 700; letter-spacing: -0.04em; }
.tn-note__chiffre span { font-size: .82rem; font-weight: 600; }
.tn-note__calcul { margin: 4px 0 0; font-size: .7rem; line-height: 1.4; }
.tn-note__qui { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0; padding: 7px 9px; background: var(--sauge-clair); color: var(--sauge-fonce); font-size: .78rem; line-height: 1.4; font-weight: 600; }
.tn-note__qui .ico { flex: none; margin-top: 1px; }
.tn-note__lien { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .76rem; font-weight: 600; line-height: 1.4; text-underline-offset: 3px; }
.tn-note__lien .ico { flex: none; }

/* ---------- Rubriques ---------- */
.tn-repartition { display: flex; max-width: 860px; height: 46px; margin: 0 auto 40px; border: var(--tn-trait); background: var(--background); }
.tn-repartition__part { flex: var(--part) 1 0; min-width: 30px; display: flex; align-items: center; justify-content: center; border-right: var(--tn-trait); transform-origin: left center; }
.tn-repartition__part:last-child { border-right: 0; }
.tn-repartition__part b { font-size: .95rem; }
.tn-repartition__part--sante { background: var(--accent); color: var(--background); }
.tn-repartition__part--bien-etre { background: var(--sauge-clair); color: var(--foreground); }
.tn-repartition__part--forme-et-vitalite { background: var(--sauge-fonce); color: var(--background); }
.tn-grille3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tn-rub { display: flex; flex-direction: column; }
.tn-rub > :not(.tn-fiche__barre) { margin-inline: 20px; }
.tn-rub h3 { font-size: 1.3rem; margin: 18px 20px 8px; }
.tn-rub h3 a { color: var(--foreground); text-decoration: none; }
.tn-rub h3 a:hover { color: var(--accent); text-decoration: underline; }
.tn-rub p { margin-top: 0; font-size: .9rem; line-height: 1.55; }
.tn-rub__qui { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 2px 8px; align-items: start; padding: 10px 12px; background: var(--sauge-clair); color: var(--sauge-fonce); font-size: .84rem !important; }
.tn-rub__qui .ico { margin-top: 2px; }
.tn-rub__qui b { display: block; }
.tn-rub__qui span { grid-column: 2; }
.tn-rub__titres { list-style: none; margin: 4px 20px 20px; padding: 0; border-top: 1px dashed var(--c-bord); }
.tn-rub__titres li { margin: 0; padding: 10px 0 0; font-size: .84rem; line-height: 1.45; }
.tn-home .tn-rub__titres li:not(:empty)::before { content: "> "; position: static; color: var(--accent); font-weight: 700; }

/* ---------- À la une ---------- */
.tn-une__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tn-une__carte { display: flex; flex-direction: column; }
.tn-home .tn-une__img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border-bottom: var(--tn-trait); }
.tn-une__corps { display: flex; flex-direction: column; flex: 1; }
.tn-une__num { background: var(--foreground); color: var(--background); padding: 0 6px; }
.tn-une__carte h3 { font-size: 1.04rem; line-height: 1.4; margin: 16px 18px 8px; }
.tn-une__carte h3 a { color: var(--foreground); text-decoration: none; }
.tn-une__carte h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tn-une__carte:hover h3 a, .tn-une__carte:focus-within h3 a { color: var(--accent); text-decoration: underline; }
.tn-une__meta { margin: 0 18px 10px; font-size: .74rem; line-height: 1.5; color: var(--sauge-fonce); }
.tn-une__chapo { margin: 0 18px 18px; font-size: .84rem; line-height: 1.55; }
.tn-une__carte:hover { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Grands moments ---------- */
.tn-moments__boite { max-width: 1040px; margin: 0 auto; }
.tn-home .tn-moments__boite .tn-moments__onglets { background: none; border: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.tn-moments__onglets button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 18px; margin: 0;
  font: inherit; font-weight: 700; font-size: .92rem; color: var(--accent); background: transparent; border: 4px solid var(--accent); cursor: pointer;
}
.tn-moments__onglets button.kv-actif, .tn-moments__onglets button[aria-selected="true"] { background: var(--accent); color: var(--background); }
.tn-moments__onglets button:hover { background: color-mix(in srgb, var(--accent) 15%, transparent); }
.tn-moments__onglets button.kv-actif:hover { background: var(--sauge-fonce); }
.tn-moments__panneau { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px; align-items: start; }
.tn-moments__panneau[hidden] { display: none; }
.tn-home .tn-moments__img { width: 100%; aspect-ratio: 4 / 5; height: auto; max-height: 430px; object-fit: cover; border: 3px solid var(--foreground); }
.tn-moments__corps { min-width: 0; }
.tn-parcours { list-style: none; margin: 0; padding: 0; position: relative; }
.tn-parcours::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--c-bord); }
.tn-parcours__etape { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; margin: 0 0 22px; padding: 0; }
.tn-parcours__num {
  position: relative; z-index: 1; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: var(--background); color: var(--accent); border: 2px solid var(--accent); font-weight: 700; font-size: 1.05rem;
  transition: background .3s ease, color .3s ease;
}
.tn-parcours__etape.is-allume .tn-parcours__num { background: var(--accent); color: var(--background); }
.tn-parcours__etape b { display: block; font-size: .8rem; color: var(--accent); margin-top: 2px; }
.tn-parcours__etape p { margin: 4px 0 0; font-size: .98rem; line-height: 1.55; }
.tn-liens { list-style: none; margin: 8px 0 0; padding: 18px 0 0; border-top: 2px solid var(--c-bord); display: grid; gap: 10px; }
.tn-liens li { margin: 0; }
.tn-liens a { display: inline-flex; gap: 8px; align-items: flex-start; font-size: .88rem; line-height: 1.45; font-weight: 600; text-underline-offset: 3px; }
.tn-liens .ico { flex: none; margin-top: 2px; }

/* ---------- Prévention ---------- */
.tn-prevention__grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: start; }
.tn-calc { margin: 0; }
.tn-calc__champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 22px 22px 0; }
.tn-calc label { display: flex; flex-direction: column; gap: 8px; font-size: .84rem; font-weight: 600; }
.tn-home .tn-calc input {
  width: 100%; min-height: 52px; padding: 8px 12px; font: inherit; font-size: 1.4rem; font-weight: 700; color: var(--foreground);
  background: var(--background); border: var(--tn-trait); margin: 0;
}
.tn-home .tn-calc input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.tn-calc__res { display: flex; align-items: baseline; gap: 12px; margin: 24px 22px 0; }
.tn-calc__val { font-size: 3.2rem; line-height: 1; font-weight: 700; color: var(--accent); letter-spacing: -0.04em; }
.tn-calc__res span { font-weight: 600; }
.tn-reglette { margin: 20px 22px 0; }
.tn-reglette__piste { position: relative; height: 14px; border: var(--tn-trait); background: var(--sauge-clair); }
.tn-reglette__curseur { position: absolute; top: -9px; left: var(--pos, 0%); width: 4px; height: 28px; margin-left: -2px; background: var(--accent); transition: left .45s cubic-bezier(.3, .7, .2, 1); }
.tn-reglette__grad { display: flex; justify-content: space-between; margin-top: 8px; font-size: .72rem; }
.tn-calc__note { margin: 20px 22px 22px; padding-top: 16px; border-top: 1px dashed var(--c-bord); font-size: .84rem; line-height: 1.55; }
.tn-prevention__col { display: grid; gap: 16px; min-width: 0; }
.tn-alerte > :not(.tn-fiche__barre) { margin-inline: 20px; }
.tn-alerte p { font-size: .9rem; line-height: 1.55; }
.tn-alerte .tn-lien { margin-bottom: 18px; }
.tn-alerte__num { display: flex; align-items: baseline; gap: 12px; margin: 18px 20px 6px; }
.tn-alerte__num strong { font-size: 2.6rem; line-height: 1; color: var(--accent); letter-spacing: -0.04em; }
.tn-mini { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; }
.tn-home .tn-mini__img { width: 96px; height: 96px; object-fit: cover; border: var(--tn-trait); }
.tn-mini__rub { margin: 0 0 4px; font-size: .72rem; color: var(--sauge-fonce); font-weight: 600; }
.tn-mini h3 { margin: 0; font-size: .92rem; line-height: 1.4; }
.tn-mini h3 a { color: var(--foreground); text-decoration: none; }
.tn-mini h3 a::after { content: ""; position: absolute; inset: 0; }
.tn-mini:hover h3 a { color: var(--accent); text-decoration: underline; }

/* ---------- Vrai ou faux (quiz du kit_vivant habillé) ---------- */
.tn-quiz__boite { max-width: 760px; margin: 0 auto; }
.tn-quiz__kit { padding: 26px 26px 22px; }
.tn-quiz__score { margin: 0 0 6px; font-size: .8rem; font-weight: 600; color: var(--accent); min-height: 1.2em; }
.tn-quiz [data-question-texte] { font-size: 1.2rem; line-height: 1.45; font-weight: 700; margin: 0 0 18px; }
.tn-quiz [data-explication] { margin: 16px 0 0; padding: 12px 14px; background: var(--sauge-clair); color: var(--sauge-fonce); font-size: .9rem; line-height: 1.55; }
.tn-quiz .kv-choix { display: flex; flex-wrap: wrap; gap: 12px; }
.tn-quiz .kv-bouton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 5px 18px; margin: 0;
  font: inherit; font-weight: 700; color: var(--accent); background: transparent; border: 4px solid var(--accent); cursor: pointer;
}
.tn-quiz .kv-bouton::before { content: "[\00a0"; }
.tn-quiz .kv-bouton::after { content: "\00a0]"; }
.tn-quiz .kv-bouton:hover:not(:disabled) { background: color-mix(in srgb, var(--accent) 15%, transparent); }
.tn-quiz .kv-bouton.kv-choisi { background: var(--accent); color: var(--background); }
.tn-home .tn-quiz .kv-bouton:disabled { opacity: 1; color: var(--sauge-fonce); border-color: var(--c-bord); background: transparent; cursor: default; }
.tn-quiz .kv-quiz-pied { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; padding-top: 16px; border-top: 1px dashed var(--c-bord); }
.tn-quiz .kv-quiz-gauche { flex: 1 1 200px; display: flex; flex-direction: column; gap: 8px; }
.tn-quiz .kv-quiz-compteur { margin: 0; font-size: .8rem; font-weight: 600; }
.tn-quiz .kv-juste [data-explication] { border-left: 4px solid var(--accent); }
.tn-quiz .kv-rate [data-explication] { border-left: 4px solid var(--foreground); }
.tn-idees { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 860px; margin: 32px auto 0; padding: 0; }
.tn-idee { margin: 0; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.tn-idee p { margin: 0; font-size: .88rem; line-height: 1.5; }
.tn-idee .tn-idee__mythe { font-weight: 700; font-size: .95rem; text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.tn-idee .tn-lien { margin-top: 6px; }

/* ---------- Le soir : bascule + durées ---------- */
.tn-soir__boite { max-width: 900px; margin: 0 auto; padding: 26px 28px 24px; }
.tn-soir__choix { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.tn-soir__choix button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 20px; margin: 0;
  font: inherit; font-weight: 700; color: var(--accent); background: transparent; border: 4px solid var(--accent); cursor: pointer;
}
.tn-soir__choix button.kv-actif { background: var(--accent); color: var(--background); }
.tn-soir__choix button:hover:not(.kv-actif) { background: color-mix(in srgb, var(--accent) 15%, transparent); }
.tn-durees[hidden] { display: none; }
.tn-durees__echelle, .tn-duree { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr) 110px; gap: 18px; align-items: center; }
.tn-durees__echelle { font-size: .72rem; margin-bottom: 8px; }
.tn-durees__grad { display: flex; justify-content: space-between; }
.tn-durees ul { list-style: none; margin: 0; padding: 0; }
.tn-duree { margin: 0; padding: 12px 0; border-top: 1px dashed var(--c-bord); }
.tn-duree__nom { margin: 0; display: flex; flex-direction: column; }
.tn-duree__nom b { font-size: .95rem; }
.tn-duree__nom span { font-size: .78rem; line-height: 1.4; }
.tn-duree__piste { position: relative; height: 16px; border: var(--tn-trait); background: var(--background); }
.tn-duree__piste i { position: absolute; top: 0; bottom: 0; left: var(--de); width: calc(var(--a) - var(--de)); background: var(--accent); transform-origin: left center; }
.tn-duree__val { margin: 0; font-weight: 700; color: var(--accent); text-align: right; white-space: nowrap; }
.tn-durees__lien { margin: 14px 0 0; text-align: center; }
.tn-soir__garde { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; padding: 12px 14px; background: var(--sauge-clair); color: var(--sauge-fonce); font-size: .86rem; line-height: 1.5; }
.tn-soir__garde .ico { flex: none; margin-top: 2px; }

/* ---------- La journée : frise verticale ---------- */
.tn-frise { position: relative; list-style: none; max-width: 900px; margin: 0 auto; padding: 0; }
.tn-frise__rail { position: absolute; left: 118px; top: 10px; bottom: 10px; width: 4px; margin: 0; background: var(--c-bord); }
.tn-frise__rail i { position: absolute; inset: 0; background: var(--accent); transform-origin: top center; }
.tn-frise__arret { position: relative; display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 52px; margin: 0 0 22px; padding: 0; }
.tn-frise__arret:last-child { margin-bottom: 0; }
.tn-frise__heure { position: relative; margin: 22px 0 0; text-align: right; font-weight: 700; font-size: 1.05rem; color: var(--accent); white-space: nowrap; }
.tn-frise__point { position: absolute; right: -36px; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: var(--background); border: 3px solid var(--accent); transition: background .3s ease; }
.tn-frise__arret.is-allume .tn-frise__point { background: var(--accent); }
.tn-frise__fiche { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; grid-template-rows: auto auto auto; column-gap: 20px; align-items: center; padding: 14px 18px 14px 14px; }
.tn-home .tn-frise__img { grid-row: 1 / span 3; width: 150px; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border: var(--tn-trait); }
.tn-frise__moment { margin: 0; font-size: .78rem; font-weight: 600; color: var(--sauge-fonce); }
.tn-frise__geste { grid-column: 3; grid-row: 1 / span 3; margin: 0; font-size: 1.7rem; font-weight: 700; color: var(--accent); letter-spacing: -0.04em; white-space: nowrap; }
.tn-frise__detail { margin: 2px 0 6px; font-size: .95rem; line-height: 1.45; font-weight: 600; }
.tn-frise__fiche .tn-lien { font-weight: 400; font-size: .8rem; }

/* ---------- Lexique ---------- */
.tn-lexique__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; }
.tn-mot { display: flex; flex-direction: column; margin: 0; padding: 18px 20px 20px; }
.tn-mot dt { display: flex; flex-direction: column; gap: 6px; font-size: 1.15rem; font-weight: 700; }
.tn-mot__cmd { font-size: .72rem; font-weight: 600; color: var(--accent); }
.tn-mot dd { margin: 8px 0 0; display: flex; flex-direction: column; flex: 1; }
.tn-mot dd p { margin: 0 0 12px; font-size: .88rem; line-height: 1.55; flex: 1; }

/* ---------- Rédaction ---------- */
.tn-compteurs { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; margin: 0 auto 40px; padding: 0; max-width: 860px; border: var(--tn-trait); background: var(--background); }
.tn-sec:nth-of-type(even) .tn-compteurs { background: var(--background); }
.tn-compteurs li { flex: 1 1 160px; display: flex; flex-direction: column; align-items: center; padding: 18px 12px; margin: 0; border-right: var(--tn-trait); }
.tn-compteurs li:last-child { border-right: 0; }
.tn-compteurs strong { font-size: 2.2rem; line-height: 1.1; color: var(--accent); }
.tn-compteurs span { font-size: .8rem; margin-top: 4px; }
.tn-auteurs { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 0; padding: 0; }
.tn-auteur { flex: 0 1 326px; display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; align-items: start; margin: 0; padding: 16px; }
.tn-home .tn-auteur img { width: 80px; height: 80px; object-fit: cover; border: var(--tn-trait); }
.tn-auteur__corps { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tn-auteur__nom { font-weight: 700; font-size: .98rem; text-underline-offset: 3px; }
.tn-auteur__role { margin: 0; font-size: .78rem; font-weight: 600; color: var(--sauge-fonce); }
.tn-auteur__spe { margin: 0; font-size: .8rem; line-height: 1.45; }
.tn-auteur__jauge { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; margin-top: 6px; }
.tn-auteur__jauge i { position: relative; display: block; height: 8px; background: var(--c-bord); }
.tn-auteur__jauge i b { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); transform-origin: left center; }
.tn-auteur__jauge span { font-size: .74rem; font-weight: 600; }
.tn-valeurs { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 32px; margin: 36px 0 0; padding: 0; }
.tn-valeurs li { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .9rem; font-weight: 600; color: var(--sauge-fonce); }
.tn-valeurs .ico { color: var(--accent); }

/* ---------- Contact ---------- */
.tn-contact { background: var(--sauge-clair) !important; }
.tn-contact__note { max-width: 860px; margin: 0 auto; background: var(--c-surface) !important; }
.tn-contact__corps { padding: 40px 32px 36px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.tn-contact__corps h2 { font-size: clamp(1.45rem, 2.1vw, 1.95rem); line-height: 1.25; margin: 18px 0 12px; text-wrap: balance; }
.tn-contact__corps p { margin: 0; max-width: 56ch; font-size: .95rem; line-height: 1.6; }
.tn-contact__corps .tn-suite { margin-top: 26px; }

/* ---------- Survol (pointeur fin seulement) ---------- */
@media (hover: hover) {
  .tn-scene.is-survol .tn-scene__photo img { transform: scale(1.03); }
}

/* ---------- Tablette ---------- */
@media (max-width: 1180px) {
  .tn-hero__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 32px; }
  .tn-scene { padding-left: 110px; }
  .tn-note { width: 290px; }
}
@media (max-width: 980px) {
  .tn-home { --tn-air: 88px; }
  .tn-hero { min-height: 0; padding-block: 36px 64px; }
  .tn-hero__grille { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .tn-scene { justify-self: center; max-width: 560px; }
  .tn-grille3, .tn-lexique__grille { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .tn-une__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tn-prevention__grille { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; }
  .tn-moments__panneau { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 28px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 700px) {
  [data-bandeau], .announcement-bar { display: none !important; }
  .tn-home { --tn-pad: 16px; --tn-air: 64px; }
  .tn-hero { padding-block: 20px 48px; }
  .tn-hero h1 { font-size: clamp(1.6rem, 7.2vw, 2rem); margin: 14px 0 16px; letter-spacing: -0.04em; }
  .tn-hero__chapo { font-size: .92rem; line-height: 1.55; }
  .tn-hero__actions { margin-top: 22px; gap: 12px; }
  .tn-hero__actions .button { width: 100%; }
  .tn-hero__chiffres { margin-top: 26px; padding-top: 16px; }
  .tn-hero__chiffres li { padding: 0 16px; }
  .tn-hero__chiffres strong { font-size: 1.6rem; }
  .tn-scene { display: flex; flex-direction: column; padding: 0; }
  .tn-home .tn-scene__photo { max-width: none; margin: 0; aspect-ratio: 1 / 1; }
  .tn-home .tn-scene__photo img { object-position: 80% 35%; }
  .tn-home .tn-scene__photo figcaption { top: 0; bottom: auto; }
  .tn-note { position: relative; left: auto; top: auto; width: calc(100% - 12px); margin: -56px 0 0 12px; }
  .tn-tete { margin-bottom: 32px; }
  .tn-tete__chapo { font-size: .9rem; }
  .tn-une__grille { grid-template-columns: minmax(0, 1fr); }
  .tn-moments__onglets { gap: 8px; }
  .tn-moments__onglets button { padding: 6px 12px; font-size: .84rem; }
  .tn-moments__panneau { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tn-parcours__etape { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
  .tn-parcours__num { width: 34px; height: 34px; }
  .tn-parcours::before { left: 16px; }
  .tn-home .tn-moments__img { max-width: 360px; width: 100%; margin: 0 auto; aspect-ratio: 1 / 1; }
  .tn-calc__champs { grid-template-columns: minmax(0, 1fr); padding: 18px 16px 0; }
  .tn-calc__res, .tn-reglette, .tn-calc__note { margin-inline: 16px; }
  .tn-calc__val { font-size: 2.6rem; }
  .tn-idees { grid-template-columns: minmax(0, 1fr); }
  .tn-quiz__kit { padding: 20px 16px; }
  .tn-soir__boite { padding: 20px 16px; }
  .tn-durees__echelle { display: none; }
  .tn-duree { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .tn-duree__nom { grid-column: 1 / -1; }
  .tn-frise__rail { left: 9px; }
  .tn-frise__arret { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-left: 36px; }
  .tn-frise__heure { margin: 0; text-align: left; }
  .tn-frise__point { right: auto; left: -34px; }
  .tn-frise__fiche { grid-template-columns: 96px minmax(0, 1fr); padding: 12px; column-gap: 14px; }
  .tn-home .tn-frise__img { width: 96px; grid-row: 1 / span 2; }
  .tn-frise__geste { grid-column: 2; grid-row: auto; font-size: 1.35rem; order: -1; }
  .tn-frise__detail, .tn-frise__fiche .tn-lien { grid-column: 1 / -1; }
  .tn-compteurs li { flex: 1 1 45%; border-bottom: var(--tn-trait); }
  .tn-auteur { flex: 1 1 100%; }
  .tn-contact__corps { padding: 28px 18px; }
}

/* ---------- Mouvement réduit : rendu statique complet ---------- */
@media (prefers-reduced-motion: reduce) {
  .tn-home *, .tn-home *::before, .tn-home *::after { animation: none !important; transition: none !important; }
  .tn-note__frappe.is-frappe::after { content: none; }
}
