/* actu-maison.com : home « Régler, réparer ou remplacer : le chiffre qui tranche ».
   Toutes les couleurs viennent des variables de src/styles/global.css (charte jade du site),
   les titres en Aldrich capitales, le texte en Roboto Condensed, les rayons du thème. */

.tn-home {
  --tn-encre: var(--color-slate-900, oklch(20.8% 0.042 265.755));
  --tn-texte: var(--color-slate-700, oklch(37.2% 0.044 257.287));
  --tn-doux: var(--color-text-muted);
  --tn-jade: var(--color-primary);
  --tn-jade-vif: var(--color-primary-soft);
  --tn-jade-fonce: var(--color-primary-deep);
  --tn-fond: var(--color-background-light);
  --tn-carte: var(--color-card-light);
  --tn-filet: var(--color-line);
  --tn-teinte: var(--color-tint);
  --tn-piste: var(--color-background-input);
  --tn-ombre: 0 1px 2px rgba(15, 31, 28, 0.06), 0 1px 3px rgba(15, 31, 28, 0.06);
  --tn-ombre-haute: 0 24px 48px -20px rgba(15, 31, 28, 0.28);
  color: var(--tn-texte);
}

/* ───────── Grammaire commune ───────── */
.tn-cadre { max-width: 80rem; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px) { .tn-cadre { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .tn-cadre { padding-inline: 2rem; } }

.tn-section { padding-block: clamp(64px, 8vw, 104px); background: var(--tn-fond); }
.tn-section--blanc { background: var(--tn-carte); border-block: 1px solid var(--tn-filet); }

.tn-tete { text-align: center; max-width: 48rem; margin: 0 auto clamp(36px, 4.4vw, 56px); }
.tn-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--tn-jade) 30%, transparent);
  background: color-mix(in srgb, var(--tn-jade) 10%, transparent);
  color: var(--tn-jade); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.3;
}
.tn-kicker__point { width: 8px; height: 8px; border-radius: 9999px; background: var(--tn-jade); flex: none; animation: tn-pulse 2.4s ease-in-out infinite; }
@keyframes tn-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.8); } }
.tn-kicker--clair { border-color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.12); color: var(--tn-carte); }
.tn-kicker--clair .tn-kicker__point { background: var(--tn-carte); }

.tn-h2 {
  margin-top: 18px; font-family: var(--font-display); text-transform: uppercase; font-weight: 400;
  font-size: clamp(1.65rem, 2.9vw, 2.55rem); line-height: 1.12; letter-spacing: -0.01em; color: var(--tn-encre); text-wrap: balance;
}
.tn-accent {
  font-style: normal; color: var(--tn-jade);
  background: linear-gradient(90deg, var(--tn-jade), var(--tn-jade-vif)); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tn-h2--clair { color: var(--tn-carte); }
.tn-h2--clair em { font-style: normal; color: var(--tn-teinte); }
.tn-chapo { margin-top: 16px; font-size: 1.1rem; line-height: 1.6; color: var(--tn-doux); text-wrap: pretty; }

.tn-carte {
  background: var(--tn-carte); border: 1px solid var(--tn-filet); border-radius: var(--radius-xl);
  box-shadow: var(--tn-ombre); transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
@media (hover: hover) {
  a.tn-carte:hover, article.tn-carte:hover { box-shadow: var(--tn-ombre-haute); transform: translateY(-2px); }
}

.tn-pastille {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 9999px;
  background: color-mix(in srgb, var(--tn-jade) 10%, transparent); color: var(--tn-jade);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4; white-space: nowrap;
}
.tn-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 0.82rem; color: var(--tn-doux); }
.tn-meta svg { color: var(--tn-jade); }
.tn-num {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: var(--radius-lg);
  background: var(--tn-teinte); color: var(--tn-jade); font-weight: 700; font-size: 0.95rem;
}
.tn-num--petit { width: 26px; height: 26px; font-size: 0.8rem; border-radius: 0.4rem; }
.tn-lien { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--tn-jade); }
.tn-lien:hover { text-decoration: underline; text-underline-offset: 3px; }
.tn-lien--petit { font-size: 0.9rem; }
.tn-lien--clair { color: var(--tn-carte); }

/* ───────── HERO ───────── */
.tn-hero {
  position: relative; isolation: isolate; overflow: hidden; background: var(--tn-fond); border-bottom: 1px solid var(--tn-filet);
  padding-block: clamp(28px, 4vw, 48px) clamp(36px, 4.5vw, 56px);
}
.tn-hero::before {
  content: ""; position: absolute; inset: 0 0 0 52%; z-index: -1; opacity: 0.1;
  background-image: radial-gradient(var(--tn-jade) 1.5px, transparent 1.5px); background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%); mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.tn-hero__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 676px); gap: clamp(32px, 3.6vw, 56px); align-items: center; width: 100%; }
.tn-hero__texte { min-width: 0; }
.tn-hero__titre {
  margin-top: 18px; font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.05rem, 3.2vw, 3rem); line-height: 1.07; letter-spacing: -0.015em; color: var(--tn-encre); text-wrap: balance;
}
.tn-hero__chapo { margin-top: 20px; max-width: 34rem; font-size: 1.12rem; line-height: 1.6; color: var(--tn-doux); }
.tn-hero__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; }

.tn-preuve { margin-top: 26px; max-width: 34rem; padding: 14px 18px 12px; border-radius: var(--radius-xl); background: var(--tn-carte); border: 1px solid var(--tn-filet); box-shadow: var(--tn-ombre); }
.tn-preuve__titre { display: flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tn-jade); }
.tn-preuve__liste { margin-top: 6px; }
.tn-preuve__liste li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: baseline; padding: 6px 0; font-size: 0.92rem; }
.tn-preuve__liste li + li { border-top: 1px dashed var(--tn-filet); }
.tn-preuve__sujet { color: var(--tn-encre); font-weight: 600; }
.tn-preuve__sujet:hover { color: var(--tn-jade); text-decoration: underline; text-underline-offset: 3px; }
.tn-preuve__suffit { color: var(--tn-jade-fonce); white-space: nowrap; }
.tn-preuve__lieu { color: var(--tn-doux); font-size: 0.82rem; white-space: nowrap; }
.tn-preuve__lieu s { text-decoration-color: color-mix(in srgb, var(--tn-doux) 70%, transparent); }

.tn-reperes { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 30px; max-width: 34rem; }
.tn-reperes > div { display: flex; align-items: baseline; gap: 8px; }
.tn-reperes dd { font-family: var(--font-display); font-size: 1.75rem; line-height: 1; color: var(--tn-jade-fonce); }
.tn-reperes dt { font-size: 0.88rem; color: var(--tn-doux); }

.tn-scene { position: relative; min-width: 0; display: grid; grid-template-columns: 320px minmax(0, 1fr); align-items: center; }
.tn-scene__photo {
  grid-column: 2; grid-row: 1; position: relative; margin: 0 0 0 -24px; aspect-ratio: 3 / 4; border-radius: var(--radius-2xl); overflow: hidden;
  background: var(--tn-teinte); box-shadow: 0 34px 70px -30px rgba(15, 31, 28, 0.45);
}
.tn-scene__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s ease, transform 0.9s ease; }
.tn-scene__img.is-on { opacity: 1; }
.tn-scene__constat {
  position: absolute; left: 40px; right: 14px; bottom: 14px; display: grid; gap: 2px; padding: 10px 14px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94); color: var(--tn-encre); font-size: 0.95rem; font-weight: 700; line-height: 1.3; box-shadow: var(--tn-ombre);
}
.tn-scene__lu { display: inline-flex; align-items: center; gap: 6px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tn-jade); }

.tn-fiche {
  grid-column: 1; grid-row: 1; position: relative; z-index: 2; padding: 18px 18px 16px;
  background: var(--tn-carte); border: 1px solid var(--tn-filet); border-radius: var(--radius-xl); box-shadow: var(--tn-ombre-haute);
}
.tn-fiche__onglets { display: flex; gap: 8px; padding: 4px; border-radius: 9999px; background: var(--tn-fond); border: 1px solid var(--tn-filet); }
.tn-fiche__onglet {
  flex: 1; min-height: 36px; padding: 6px 12px; border-radius: 9999px; border: 0; background: transparent;
  color: var(--tn-texte); font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: background 0.25s, color 0.25s;
}
.tn-fiche__onglet[aria-selected="true"] { background: var(--tn-jade); color: var(--tn-carte); }
.tn-fiche__onglet:focus-visible, .tn-constat:focus-visible { outline: 2px solid var(--tn-jade-vif); outline-offset: 2px; }
.tn-fiche__dossier { margin-top: 14px; }
.tn-fiche__etiquette {
  display: flex; align-items: center; gap: 6px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tn-doux);
}
.tn-fiche__etiquette svg { color: var(--tn-jade); }
.tn-fiche__etiquette--2 { margin-top: 18px; }
.tn-constats { margin-top: 16px; display: grid; gap: 4px; }
.tn-constat {
  display: flex; align-items: center; gap: 8px; width: 100%; min-height: 32px; padding: 5px 10px; border-radius: var(--radius-lg); border: 1px solid transparent;
  background: transparent; color: var(--tn-texte); font-size: 0.86rem; line-height: 1.3; text-align: left; cursor: pointer; transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.tn-constat__puce { flex: none; width: 14px; height: 14px; border-radius: 9999px; border: 2px solid var(--tn-filet); background: var(--tn-carte); transition: border-color 0.25s, box-shadow 0.25s; }
.tn-constat[aria-checked="true"] { border-color: color-mix(in srgb, var(--tn-jade) 35%, transparent); background: var(--tn-fond); color: var(--tn-encre); font-weight: 700; }
.tn-constat[aria-checked="true"] .tn-constat__puce { border-color: var(--tn-jade); box-shadow: inset 0 0 0 3px var(--tn-carte), inset 0 0 0 8px var(--tn-jade); }
@media (hover: hover) { .tn-constat:hover { background: var(--tn-fond); } }

.tn-echelle { margin-top: 8px; display: grid; gap: 2px; }
.tn-echelle__ligne {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; align-items: baseline; padding: 6px 10px; border-radius: var(--radius-lg);
  transition: background 0.35s ease;
}
.tn-echelle__nom { font-size: 0.86rem; color: var(--tn-texte); }
.tn-echelle__prix { font-size: 0.82rem; font-weight: 600; color: var(--tn-doux); white-space: nowrap; }
.tn-echelle__piste { grid-column: 1 / -1; position: relative; height: 7px; border-radius: 9999px; background: var(--tn-piste); overflow: hidden; }
.tn-echelle__barre {
  position: absolute; top: 0; bottom: 0; border-radius: 9999px; background: color-mix(in srgb, var(--tn-jade) 28%, transparent);
  transform-origin: left center; transition: background 0.35s ease;
}
.tn-echelle__ligne.is-scan { background: color-mix(in srgb, var(--tn-teinte) 55%, transparent); }
.tn-echelle__ligne.is-pick { background: var(--tn-teinte); }
.tn-echelle__ligne.is-pick .tn-echelle__nom { color: var(--tn-jade-fonce); font-weight: 700; }
.tn-echelle__ligne.is-pick .tn-echelle__prix { color: var(--tn-jade-fonce); }
.tn-echelle__ligne.is-pick .tn-echelle__barre { background: var(--tn-jade); }
.tn-echelle__axe { display: flex; justify-content: space-between; margin: 4px 10px 0; font-size: 0.7rem; color: var(--tn-doux); }
.tn-fiche__verdict {
  margin-top: 10px; display: flex; align-items: flex-start; gap: 8px; padding: 9px 12px; border-radius: var(--radius-lg);
  background: var(--tn-jade); color: var(--tn-carte); font-weight: 600; font-size: 0.9rem; line-height: 1.4;
}
.tn-fiche__verdict svg { flex: none; margin-top: 1px; }
.tn-fiche__lien { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; font-weight: 600; color: var(--tn-jade); }
.tn-fiche__lien:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1180px) and (min-width: 1024px) {
  .tn-hero__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 600px); }
  .tn-scene { grid-template-columns: 300px minmax(0, 1fr); }
}
@media (max-width: 1023px) {
  .tn-hero__grille { grid-template-columns: minmax(0, 1fr); }
  .tn-scene { grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 560px; margin-inline: auto; width: 100%; }
  .tn-scene__photo { grid-column: 1; grid-row: 1; margin: 0; }
  .tn-fiche { grid-column: 1; grid-row: 2; }
  .tn-scene__constat { left: 14px; }
}
@media (max-width: 640px) {
  .tn-hero__titre { margin-top: 14px; font-size: 1.85rem; }
  .tn-hero__chapo { font-size: 1.02rem; margin-top: 14px; }
  .tn-hero__actions { margin-top: 20px; }
  .tn-hero__actions .tn-btn { width: 100%; justify-content: center; }
  .tn-scene__photo { aspect-ratio: 1 / 1; }
  .tn-preuve__liste li { grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding: 8px 0; }
  .tn-preuve__lieu { grid-column: 1 / -1; }
}

/* ───────── LES DERNIERS DOSSIERS ───────── */
.tn-une__grille { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 24px; align-items: stretch; }
.tn-vedette { overflow: hidden; display: flex; flex-direction: column; }
.tn-vedette__photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.tn-vedette__photo img, .tn-rub__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
@media (hover: hover) { .tn-carte:hover .tn-vedette__photo img, .tn-carte:hover .tn-rub__photo img { transform: scale(1.04); } }
.tn-vedette__corps { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tn-vedette__titre { font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.2; color: var(--tn-encre); font-weight: 400; }
.tn-vedette__titre a:hover, .tn-dossier__titre a:hover, .tn-rub__titre a:hover { color: var(--tn-jade); }
.tn-vedette__desc { color: var(--tn-doux); line-height: 1.6; }
.tn-vedette__corps > .tn-lien { margin-top: auto; }
.tn-verbe {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 9999px; background: var(--tn-jade); color: var(--tn-carte);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4;
}
.tn-verbe--photo { position: absolute; top: 16px; left: 16px; box-shadow: var(--tn-ombre); }
.tn-pastille--doux { background: var(--tn-fond); color: var(--tn-doux); }
.tn-arbitrage { display: grid; border: 1px solid var(--tn-filet); border-radius: var(--radius-lg); overflow: hidden; }
.tn-arbitrage > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 10px 14px; align-items: baseline; }
.tn-arbitrage > div + div { border-top: 1px solid var(--tn-filet); }
.tn-arbitrage dt { display: inline-flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tn-doux); }
.tn-arbitrage dt svg { color: var(--tn-jade); flex: none; }
.tn-arbitrage dd { color: var(--tn-texte); line-height: 1.45; }
.tn-arbitrage__ok { background: var(--tn-teinte); }
.tn-arbitrage__ok dd { color: var(--tn-jade-fonce); font-weight: 700; }

.tn-dossiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 24px; }
.tn-dossier { padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tn-dossier__titre { font-size: 1.02rem; line-height: 1.3; font-weight: 400; color: var(--tn-encre); }
.tn-dossier__fiche { display: grid; gap: 10px; }
.tn-dossier__constat { display: flex; gap: 6px; align-items: flex-start; font-size: 0.9rem; line-height: 1.4; color: var(--tn-texte); }
.tn-dossier__constat svg, .tn-dossier__suffit svg { flex: none; margin-top: 2px; color: var(--tn-jade); }
.tn-dossier__suffit { display: flex; gap: 6px; align-items: flex-start; padding: 9px 12px; border-radius: var(--radius-lg); background: var(--tn-teinte); color: var(--tn-jade-fonce); font-weight: 700; font-size: 0.9rem; line-height: 1.4; }
.tn-dossier__desc { color: var(--tn-doux); font-size: 0.92rem; line-height: 1.55; }
.tn-comparo { display: grid; gap: 6px; }
.tn-comparo li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: baseline; padding: 7px 10px; border-radius: var(--radius-lg); font-size: 0.86rem; color: var(--tn-doux); }
.tn-comparo li.is-ok { background: var(--tn-teinte); color: var(--tn-jade-fonce); }
.tn-comparo li strong { white-space: nowrap; }
.tn-comparo li > span:nth-child(2) { white-space: nowrap; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--tn-doux) 60%, transparent); }
.tn-comparo__nom { min-width: 0; }
.tn-comparo li.is-ok .tn-comparo__nom { font-weight: 700; }
.tn-comparo__piste { grid-column: 1 / -1; position: relative; height: 6px; border-radius: 9999px; background: var(--tn-piste); overflow: hidden; }
.tn-comparo__piste span { position: absolute; top: 0; bottom: 0; border-radius: 9999px; background: color-mix(in srgb, var(--tn-doux) 35%, transparent); transform-origin: left center; }
.tn-comparo li.is-ok .tn-comparo__piste span { background: var(--tn-jade); }
.tn-meta--bas { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--tn-filet); }

.tn-registre { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.tn-registre__bloc { padding: 20px 24px; display: flex; flex-direction: column; }
.tn-registre__titre { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tn-jade); }
.tn-registre__liste { margin-top: 8px; margin-bottom: 10px; }
.tn-registre__liste li { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; font-size: 0.93rem; }
.tn-registre__liste li + li { border-top: 1px solid var(--tn-filet); }
.tn-registre__liste time { font-size: 0.8rem; color: var(--tn-doux); }
.tn-registre__liste .tn-num { justify-self: start; }
.tn-registre__liste a { color: var(--tn-encre); font-weight: 600; line-height: 1.35; }
.tn-registre__liste a:hover { color: var(--tn-jade); }
.tn-registre__min { font-size: 0.78rem; color: var(--tn-doux); white-space: nowrap; }
.tn-registre__bloc > .tn-lien { margin-top: auto; }
.tn-registre__bloc:last-child .tn-registre__liste li { grid-template-columns: 30px minmax(0, 1fr) auto; }
@media (max-width: 1023px) {
  .tn-une__grille, .tn-registre { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .tn-dossiers { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .tn-vedette__corps { padding: 20px 18px; }
  .tn-arbitrage > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tn-registre__liste li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tn-registre__bloc:last-child .tn-registre__liste li { grid-template-columns: 30px minmax(0, 1fr); }
  .tn-registre__bloc:last-child .tn-registre__min { display: none; }
  .tn-registre__bloc { padding: 18px; }
}

/* ───────── RUBRIQUES ───────── */
.tn-repartition { display: flex; gap: 4px; height: 46px; border-radius: var(--radius-lg); overflow: hidden; max-width: 64rem; margin-inline: auto; }
.tn-repartition__part {
  position: relative; display: flex; align-items: center; justify-content: center; min-width: 34px; flex-basis: 0;
  background: color-mix(in srgb, var(--tn-jade) 22%, var(--tn-carte)); color: var(--tn-jade-fonce); font-weight: 700; transition: filter 0.3s;
}
.tn-repartition__part:nth-child(1) { background: var(--tn-jade); color: var(--tn-carte); }
.tn-repartition__part:nth-child(2) { background: color-mix(in srgb, var(--tn-jade) 70%, var(--tn-carte)); color: var(--tn-carte); }
.tn-repartition__part:nth-child(3) { background: color-mix(in srgb, var(--tn-jade) 50%, var(--tn-carte)); }
.tn-repartition__part:nth-child(4) { background: color-mix(in srgb, var(--tn-jade) 35%, var(--tn-carte)); }
.tn-repartition__part.is-vu { filter: saturate(1.4) brightness(0.9); }
.tn-repartition__n { font-size: 1rem; }
.tn-repartition__legende { max-width: 64rem; margin: 14px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: 0.88rem; color: var(--tn-doux); }
.tn-repartition__legende span.is-vu { color: var(--tn-jade-fonce); font-weight: 700; }
.tn-rubriques__grille { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 24px; align-items: stretch; }
.tn-rub { overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.tn-rub.is-vu { border-color: var(--tn-jade); }
.tn-rub__photo { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; flex: none; }
.tn-rub__compte {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 12px; border-radius: 9999px;
  background: rgba(255, 255, 255, 0.94); color: var(--tn-doux); font-size: 0.82rem; box-shadow: var(--tn-ombre);
}
.tn-rub__compte strong { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--tn-jade); }
.tn-rub__corps { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tn-rub__titre { font-family: var(--font-display); text-transform: uppercase; font-size: 1.12rem; line-height: 1.25; color: var(--tn-encre); font-weight: 400; }
.tn-rub__accroche { font-size: 0.95rem; line-height: 1.55; color: var(--tn-doux); }
.tn-rub__dernier { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--tn-filet); font-size: 0.9rem; line-height: 1.4; }
.tn-rub__dernier span { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tn-doux); margin-bottom: 2px; }
.tn-rub__dernier a { color: var(--tn-texte); font-weight: 600; }
.tn-rub__dernier a:hover { color: var(--tn-jade); }
.tn-rub--tous { padding: 28px; justify-content: center; align-items: flex-start; gap: 12px; background: var(--tn-teinte); border-color: color-mix(in srgb, var(--tn-jade) 25%, transparent); }
.tn-rub__icone { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: var(--radius-xl); background: color-mix(in srgb, var(--tn-jade) 12%, transparent); color: var(--tn-jade); flex: none; }
@media (max-width: 1023px) { .tn-rubriques__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .tn-rubriques__grille { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .tn-repartition { height: 38px; }
}

/* ───────── CALCULATEUR ───────── */
.tn-cout__form { max-width: 72rem; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); overflow: hidden; }
.tn-cout__champs { padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; align-content: start; }
.tn-champ label { display: flex; justify-content: space-between; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--tn-texte); margin-bottom: 6px; }
.tn-champ__unite { color: var(--tn-doux); font-weight: 400; }
.tn-champ input {
  width: 100%; padding: 10px 14px; border-radius: var(--radius-lg); border: 1px solid var(--tn-filet); background: var(--tn-fond);
  color: var(--tn-encre); font-size: 1.05rem; font-weight: 600;
}
.tn-champ input:focus { outline: none; border-color: var(--tn-jade); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tn-jade) 20%, transparent); }
.tn-champ__aide { margin-top: 4px; font-size: 0.78rem; color: var(--tn-doux); }
.tn-cout__resultat { padding: 32px; background: var(--tn-teinte); border-left: 1px solid color-mix(in srgb, var(--tn-jade) 22%, transparent); }
.tn-cout output { font-family: inherit; font-size: inherit; line-height: inherit; color: inherit; padding: 0; background: none; border: 0; }
.tn-cout .tn-cout__total { font-family: var(--font-display); font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1.05; color: var(--tn-jade); }
.tn-cout__label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tn-doux); }
.tn-cout__total { display: block; margin-top: 4px; font-family: var(--font-display); font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1.05; color: var(--tn-jade); }
.tn-cout__an { margin-top: 4px; color: var(--tn-texte); }
.tn-cout__an output { font-weight: 700; color: var(--tn-encre); }
.tn-jauge { margin-top: 18px; display: flex; height: 16px; border-radius: 9999px; overflow: hidden; background: var(--tn-carte); }
.tn-jauge__part { height: 100%; transition: width 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tn-jauge__part--achat, .tn-puce--achat { background: var(--tn-jade-fonce); }
.tn-jauge__part--elec, .tn-puce--elec { background: var(--tn-jade-vif); }
.tn-jauge__part--entretien, .tn-puce--entretien { background: color-mix(in srgb, var(--tn-jade) 35%, var(--tn-carte)); }
.tn-cout__detail { margin-top: 14px; display: grid; gap: 8px; font-size: 0.92rem; }
.tn-cout__detail > div { display: flex; justify-content: space-between; gap: 12px; }
.tn-cout__detail dt { display: flex; align-items: center; gap: 8px; color: var(--tn-texte); }
.tn-cout__detail dd { font-weight: 700; color: var(--tn-encre); }
.tn-puce { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.tn-cout__note { margin-top: 16px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--tn-jade) 22%, transparent); font-size: 0.9rem; line-height: 1.5; color: var(--tn-texte); }
@media (max-width: 900px) {
  .tn-cout__form { grid-template-columns: minmax(0, 1fr); }
  .tn-cout__resultat { border-left: 0; border-top: 1px solid color-mix(in srgb, var(--tn-jade) 22%, transparent); }
}
@media (max-width: 640px) {
  .tn-cout__champs { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; }
  .tn-cout__resultat { padding: 22px 18px; }
}

/* ───────── FUITE ───────── */
.tn-fuite__grille { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.tn-fuite__photo { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-2xl); overflow: hidden; background: var(--tn-teinte); box-shadow: var(--tn-ombre-haute); }
.tn-fuite__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s ease, transform 4s ease; }
.tn-fuite__photo img.is-on { opacity: 1; transform: scale(1.03); }
.tn-fuite__releve {
  position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center;
  padding: 12px 16px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.95); box-shadow: var(--tn-ombre);
}
.tn-fuite__compteur { padding-right: 14px; border-right: 1px solid var(--tn-filet); color: var(--tn-doux); font-size: 0.82rem; white-space: nowrap; }
.tn-fuite__compteur strong { font-family: var(--font-display); font-weight: 400; color: var(--tn-jade); font-size: 1.5rem; }
.tn-fuite__indice { grid-column: 2; grid-row: 1; display: none; gap: 2px; min-width: 0; }
.tn-fuite__indice.is-on { display: grid; }
.tn-fuite__mesure { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tn-jade); }
.tn-fuite__indice strong { color: var(--tn-encre); font-size: 0.98rem; line-height: 1.3; }
.tn-fuite__etapes { display: grid; gap: 10px; }
.tn-etape {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 16px 18px; border-radius: var(--radius-xl);
  border: 1px solid var(--tn-filet); background: var(--tn-fond); overflow: hidden; cursor: pointer; transition: border-color 0.3s, background 0.3s;
}
.tn-etape.is-on { border-color: color-mix(in srgb, var(--tn-jade) 45%, transparent); background: var(--tn-carte); box-shadow: var(--tn-ombre); }
.tn-etape__bouton { align-self: start; border: 0; padding: 0; background: none; cursor: pointer; border-radius: var(--radius-lg); }
.tn-etape__bouton:focus-visible { outline: 2px solid var(--tn-jade); outline-offset: 2px; }
.tn-etape.is-on .tn-num { background: var(--tn-jade); color: var(--tn-carte); }
.tn-etape__titre { font-size: 1rem; line-height: 1.3; font-weight: 400; color: var(--tn-encre); }
.tn-etape__texte p { margin-top: 6px; font-size: 0.95rem; line-height: 1.55; color: var(--tn-doux); }
.tn-etape__progres { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.tn-etape__progres span { display: block; height: 100%; width: 0; background: var(--tn-jade); }
.tn-fuite__suite { padding: 6px 4px 0; }
@media (max-width: 1023px) { .tn-fuite__grille { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .tn-etape { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 16px; }
  .tn-fuite__photo { aspect-ratio: 1 / 1; }
  .tn-fuite__releve { left: 10px; right: 10px; bottom: 10px; grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .tn-fuite__compteur { border-right: 0; padding-right: 0; }
  .tn-fuite__indice { grid-column: 1; grid-row: 2; }
}

/* ───────── ERREURS : AVANT / APRÈS ───────── */
.tn-tableau { max-width: 72rem; margin-inline: auto; overflow: hidden; }
.tn-tableau__entete, .tn-tableau__ligne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tn-tableau__entete span { display: flex; align-items: center; gap: 8px; padding: 14px 24px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.tn-tableau__entete span:first-child { color: var(--tn-doux); background: var(--tn-fond); }
.tn-tableau__entete span:last-child { color: var(--tn-jade-fonce); background: var(--tn-teinte); }
.tn-tableau__ligne { border-top: 1px solid var(--tn-filet); transition: background 0.3s; }
@media (hover: hover) { .tn-tableau__ligne:hover { background: color-mix(in srgb, var(--tn-teinte) 40%, transparent); } }
.tn-tableau__avant { display: flex; align-items: flex-start; gap: 12px; padding: 18px 24px; font-weight: 600; color: var(--tn-encre); line-height: 1.45; }
.tn-tableau__avant .tn-num { background: var(--tn-fond); color: var(--tn-doux); border: 1px solid var(--tn-filet); }
.tn-tableau__apres { padding: 18px 24px; border-left: 1px solid var(--tn-filet); background: color-mix(in srgb, var(--tn-teinte) 30%, transparent); }
.tn-tableau__apres p { color: var(--tn-texte); line-height: 1.55; }
.tn-tableau__apres .tn-lien { margin-top: 8px; }
@media (max-width: 760px) {
  .tn-tableau__entete { display: none; }
  .tn-tableau__ligne { grid-template-columns: minmax(0, 1fr); }
  .tn-tableau__apres { border-left: 0; border-top: 1px dashed var(--tn-filet); }
  .tn-tableau__avant, .tn-tableau__apres { padding: 16px 18px; }
}

/* ───────── PROFILS ───────── */
.tn-publics__grille { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px; max-width: 72rem; margin-inline: auto; align-items: start; }
.tn-publics__choix { display: grid; gap: 10px; }
.tn-profil {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 16px; border-radius: var(--radius-xl);
  border: 1px solid var(--tn-filet); background: var(--tn-fond); color: var(--tn-encre); font-weight: 600; text-align: left; cursor: pointer;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.tn-profil__icone { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-lg); background: var(--tn-teinte); color: var(--tn-jade); flex: none; }
.tn-profil__nom { flex: 1; font-size: 1rem; }
.tn-profil__fleche { color: var(--tn-doux); transition: transform 0.25s; }
.tn-profil[aria-selected="true"] { border-color: var(--tn-jade); background: var(--tn-carte); box-shadow: var(--tn-ombre); }
.tn-profil[aria-selected="true"] .tn-profil__icone { background: var(--tn-jade); color: var(--tn-carte); }
.tn-profil[aria-selected="true"] .tn-profil__fleche { color: var(--tn-jade); transform: translateX(4px); }
.tn-publics__panneaux { display: grid; gap: 16px; }
.tn-js .tn-porte { display: none; }
.tn-js .tn-porte.is-on { display: block; }
.tn-porte { padding: 28px; }
.tn-porte__profil { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tn-jade); }
.tn-porte__texte { margin-top: 10px; font-size: 1.2rem; line-height: 1.5; color: var(--tn-encre); }
.tn-porte__rubrique {
  margin-top: 20px; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--radius-lg); background: var(--tn-teinte); color: var(--tn-jade-fonce);
}
.tn-porte__rubrique span { font-size: 0.8rem; color: var(--tn-doux); }
.tn-porte__rubrique strong { flex: 1; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; }
.tn-porte__rubrique:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.tn-porte__lectures { margin-top: 16px; display: grid; gap: 10px; }
.tn-porte__lectures li { display: flex; align-items: center; gap: 12px; }
.tn-porte__lectures a { flex: 1; color: var(--tn-texte); font-weight: 600; line-height: 1.35; }
.tn-porte__lectures a:hover { color: var(--tn-jade); }
.tn-porte__min { font-size: 0.82rem; color: var(--tn-doux); white-space: nowrap; }
@media (max-width: 900px) { .tn-publics__grille { grid-template-columns: minmax(0, 1fr); } .tn-porte { padding: 22px 20px; } }

/* ───────── RÉGLEMENTATION ───────── */
.tn-regles { position: relative; overflow: hidden; }
.tn-regles__entete, .tn-regle { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.05fr) minmax(0, 1.5fr); }
.tn-regles__entete { background: var(--tn-fond); border-bottom: 1px solid var(--tn-filet); }
.tn-regles__entete span { padding: 14px 28px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tn-doux); }
.tn-regles__entete span:first-child { padding-left: 64px; }
.tn-regles__entete span:last-child { color: var(--tn-jade-fonce); background: var(--tn-teinte); }
.tn-regles__rail { position: absolute; left: 33px; top: 74px; bottom: 40px; width: 3px; border-radius: 9999px; background: var(--tn-filet); }
.tn-regles__rempli { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(180deg, var(--tn-jade), var(--tn-jade-vif)); transform-origin: top center; }
.tn-regle { position: relative; transition: background 0.3s; }
.tn-regle + .tn-regle { border-top: 1px solid var(--tn-filet); }
@media (hover: hover) { .tn-regle:hover { background: color-mix(in srgb, var(--tn-teinte) 35%, transparent); } }
.tn-regle__quand { position: relative; padding: 22px 24px 22px 64px; }
.tn-regle__point { position: absolute; left: 27px; top: 28px; width: 15px; height: 15px; border-radius: 9999px; background: var(--tn-carte); border: 3px solid var(--tn-jade); }
.tn-regle__annee { display: block; font-family: var(--font-display); font-size: 1.8rem; line-height: 1; color: var(--tn-jade); }
.tn-regle__texte { margin-top: 6px; font-size: 1rem; line-height: 1.3; font-weight: 700; color: var(--tn-encre); }
.tn-regle__chiffre { padding: 22px 24px; display: grid; gap: 4px; align-content: start; }
.tn-regle__chiffre strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.05; color: var(--tn-encre); white-space: nowrap; }
.tn-regle__chiffre span { font-size: 0.9rem; line-height: 1.45; color: var(--tn-doux); }
.tn-regle__vous { padding: 22px 28px; background: color-mix(in srgb, var(--tn-teinte) 30%, transparent); border-left: 1px solid var(--tn-filet); }
.tn-regle__vous > p:first-child { color: var(--tn-texte); line-height: 1.55; }
.tn-regle__pied { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.tn-regle__cout { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 9999px; background: var(--tn-jade); color: var(--tn-carte); font-weight: 700; font-size: 0.85rem; }
@media (max-width: 900px) {
  .tn-regles__entete { display: none; }
  .tn-regles__rail { top: 24px; left: 15px; }
  .tn-regle { grid-template-columns: minmax(0, 1fr); }
  .tn-regle__quand { padding: 20px 12px 4px 40px; }
  .tn-regle__point { top: 24px; left: 9px; }
  .tn-regle__chiffre { padding: 8px 12px 12px 40px; }
  .tn-regle__vous { border-left: 0; padding: 14px 12px 18px 40px; }
}

/* ───────── ÉQUIPE ───────── */
.tn-equipe__grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 24px; align-items: stretch; }
.tn-auteur { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 18px; padding: 22px; align-items: start; height: 100%; }
.tn-auteur__photo { width: 88px; height: 88px; border-radius: var(--radius-xl); object-fit: cover; }
.tn-auteur__corps { display: flex; flex-direction: column; height: 100%; min-width: 0; }
.tn-auteur__nom { font-family: var(--font-display); text-transform: uppercase; font-size: 1.08rem; line-height: 1.25; color: var(--tn-encre); font-weight: 400; }
.tn-auteur__role { margin-top: 2px; font-size: 0.88rem; font-weight: 600; color: var(--tn-jade); }
.tn-auteur__spe { margin-top: 6px; font-size: 0.9rem; line-height: 1.45; color: var(--tn-doux); }
.tn-auteur__jauge { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 10px; }
.tn-auteur__jauge strong { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; color: var(--tn-jade-fonce); min-width: 1.6em; }
.tn-auteur__piste { flex: 1; height: 8px; border-radius: 9999px; background: var(--tn-piste); overflow: hidden; }
.tn-auteur__piste span { display: block; height: 100%; border-radius: 9999px; background: linear-gradient(90deg, var(--tn-jade), var(--tn-jade-vif)); transform-origin: left center; }
.tn-auteur .tn-lien { margin-top: 10px; }
.tn-auteur--tous { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 14px; background: var(--tn-teinte); border-color: color-mix(in srgb, var(--tn-jade) 25%, transparent); }
.tn-auteur--tous .tn-auteur__corps { gap: 6px; }
.tn-auteur--tous .tn-lien { margin-top: auto; }
.tn-chiffres { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--radius-xl); border: 1px solid var(--tn-filet); background: var(--tn-fond); overflow: hidden; }
.tn-chiffre { padding: 26px 20px; text-align: center; }
.tn-chiffre + .tn-chiffre { border-left: 1px solid var(--tn-filet); }
.tn-chiffre__icone { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--radius-lg); background: var(--tn-teinte); color: var(--tn-jade); }
.tn-chiffre__valeur { margin-top: 10px; font-family: var(--font-display); font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1.05; color: var(--tn-encre); }
.tn-chiffre__label { margin-top: 6px; font-size: 0.95rem; color: var(--tn-doux); }
.tn-materiel { margin-top: 36px; text-align: center; }
.tn-materiel__titre { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tn-doux); }
.tn-materiel__logos { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 44px; }
.tn-materiel__logos img { height: 32px; width: auto; filter: grayscale(1); opacity: 0.75; transition: filter 0.3s, opacity 0.3s; }
@media (hover: hover) { .tn-materiel__logos img:hover { filter: none; opacity: 1; } }
@media (max-width: 1100px) { .tn-equipe__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .tn-equipe__grille { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .tn-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tn-chiffre:nth-child(3) { border-left: 0; }
  .tn-chiffre:nth-child(n + 3) { border-top: 1px solid var(--tn-filet); }
}
@media (max-width: 420px) { .tn-auteur:not(.tn-auteur--tous) { grid-template-columns: 64px minmax(0, 1fr); padding: 18px; gap: 14px; } .tn-auteur__photo { width: 64px; height: 64px; } }

/* ───────── AVIS ───────── */
.tn-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 56px; align-items: center; padding: 26px 40px; max-width: 56rem; margin-inline: auto; }
.tn-note__gauche { text-align: center; padding-right: 56px; border-right: 1px solid var(--tn-filet); }
.tn-note__valeur { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--tn-encre); }
.tn-note__valeur span { font-size: 1.4rem; color: var(--tn-doux); }
.tn-note__etoiles { margin-top: 10px; display: flex; justify-content: center; gap: 4px; }
.tn-note__base { margin-top: 8px; font-size: 0.92rem; color: var(--tn-doux); }
.tn-note__repartition { display: grid; gap: 8px; }
.tn-note__repartition li { display: grid; grid-template-columns: 38px minmax(0, 1fr) 22px; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--tn-texte); }
.tn-note__repartition li > span:first-child { display: inline-flex; align-items: center; gap: 3px; }
.tn-note__piste { height: 8px; border-radius: 9999px; background: var(--tn-piste); overflow: hidden; }
.tn-note__piste span { display: block; height: 100%; background: var(--tn-jade); border-radius: 9999px; transform-origin: left center; }
.tn-avis__liste { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 24px; align-items: stretch; }
.tn-temoin { padding: 24px; display: flex; flex-direction: column; gap: 12px; height: 100%; }
.tn-temoin__note { display: flex; gap: 2px; }
.tn-temoin__texte { flex: 1; line-height: 1.6; color: var(--tn-texte); }
.tn-temoin__qui { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--tn-filet); font-size: 0.9rem; color: var(--tn-doux); }
.tn-temoin__qui strong { color: var(--tn-encre); }
.tn-temoin__initiale { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 9999px; background: var(--tn-teinte); color: var(--tn-jade); font-weight: 700; }
@media (max-width: 1023px) { .tn-avis__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .tn-avis__liste { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .tn-note { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; }
  .tn-note__gauche { padding-right: 0; border-right: 0; }
}

/* ───────── FAQ ───────── */
.tn-faq__cadre { max-width: 52rem; }
.tn-faq__liste { display: grid; gap: 12px; }
.tn-question { padding: 0; overflow: hidden; }
.tn-question summary { display: flex; align-items: center; gap: 14px; padding: 18px 22px; min-height: 44px; cursor: pointer; list-style: none; font-weight: 700; color: var(--tn-encre); }
.tn-question summary::-webkit-details-marker { display: none; }
.tn-question__q { flex: 1; line-height: 1.4; }
.tn-question__chevron { color: var(--tn-jade); flex: none; transition: transform 0.3s; }
.tn-question[open] { border-color: color-mix(in srgb, var(--tn-jade) 40%, transparent); }
.tn-question[open] .tn-question__chevron { transform: rotate(180deg); }
.tn-question[open] .tn-num { background: var(--tn-jade); color: var(--tn-carte); }
.tn-question__r { padding: 0 22px 20px 62px; color: var(--tn-texte); line-height: 1.65; }
@media (max-width: 640px) { .tn-question__r { padding: 0 18px 18px; } .tn-question summary { padding: 16px 18px; } }

/* ───────── ÉTABLI ───────── */
.tn-etabli__grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 72rem; margin-inline: auto; }
.tn-chantier { padding: 24px; display: flex; flex-direction: column; gap: 10px; border-left: 4px solid var(--tn-jade); }
.tn-chantier__statut { display: flex; align-items: center; gap: 10px; }
.tn-chantier__titre { font-size: 1.08rem; line-height: 1.3; font-weight: 400; color: var(--tn-encre); }
.tn-chantier__angle { color: var(--tn-doux); line-height: 1.55; }
.tn-chantier__deja { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--tn-filet); font-size: 0.92rem; line-height: 1.4; }
.tn-chantier__deja span { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tn-doux); margin-bottom: 2px; }
.tn-chantier__deja a { font-weight: 600; color: var(--tn-jade); }
.tn-chantier__deja a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .tn-etabli__grille { grid-template-columns: minmax(0, 1fr); } }

/* ───────── CTA ET LETTRE ───────── */
.tn-cta { padding-top: 0; }
.tn-cta__carte {
  position: relative; overflow: hidden; border-radius: var(--radius-2xl); padding: clamp(28px, 5vw, 64px); text-align: center;
  background: linear-gradient(135deg, var(--tn-jade), var(--tn-jade-fonce)); color: var(--tn-carte);
}
.tn-cta__carte::before {
  content: ""; position: absolute; inset: 0; opacity: 0.12; pointer-events: none;
  background-image: radial-gradient(var(--tn-carte) 1.2px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent); mask-image: linear-gradient(to bottom, black, transparent);
}
.tn-cta__texte { position: relative; max-width: 46rem; margin-inline: auto; }
.tn-cta__chapo { margin-top: 16px; font-size: 1.08rem; line-height: 1.6; color: rgba(255, 255, 255, 0.88); }
.tn-cta__actions { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 24px; }
.tn-lettre {
  position: relative; max-width: 40rem; margin: 40px auto 0; padding: 24px; border-radius: var(--radius-xl); background: var(--tn-carte); color: var(--tn-texte);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; text-align: left; box-shadow: var(--tn-ombre-haute);
}
.tn-lettre__titre { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-family: var(--font-display); text-transform: uppercase; color: var(--tn-encre); }
.tn-lettre__titre svg { color: var(--tn-jade); }
.tn-lettre__texte { grid-column: 1 / -1; font-size: 0.95rem; color: var(--tn-doux); }
.tn-lettre__champ { min-height: 44px; padding: 10px 14px; border-radius: var(--radius-lg); border: 1px solid var(--tn-filet); background: var(--tn-fond); color: var(--tn-encre); }
.tn-lettre__champ:focus { outline: none; border-color: var(--tn-jade); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tn-jade) 20%, transparent); }
@media (max-width: 560px) { .tn-cta__carte { padding: 32px 12px; } .tn-lettre { grid-template-columns: minmax(0, 1fr); padding: 18px 12px; } .tn-cta__actions .tn-btn { width: 100%; justify-content: center; } }

/* ───────── Mobile : bandeau d'annonce masqué, en-tête court ───────── */
@media (max-width: 700px) { [data-bandeau], .announcement-bar { display: none !important; } }

/* ───────── 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; }
}
