/* yf-beaute.com : home « la semaine de soin ». Couleurs, polices, rayons et ombres viennent de la charte
   (magazine.css --yf-*, da.css --c-* / --o-* / --r-*). Aucune couleur écrite en dur. */

/* ---------- Socle de la home : pleine largeur, liens sans le soulignement global du thème ---------- */
body.yf-accueil main#contenu { width: auto; max-width: none; margin: 0; padding: 0; }
:where(.tn-hero, .tn-section) a:where(:not(.yf-bouton)) { color: inherit !important; text-decoration: none !important; }
.yf-entete .yf-nav a, .yf-entete .yf-btn-rubriques, .yf-entete .yf-logo { text-decoration: none !important; }
.yf-entete .yf-nav a { color: var(--yf-texte) !important; }
.yf-entete .yf-nav a:hover, .yf-entete .yf-nav a[aria-current="page"] { color: var(--yf-prune) !important; }
.yf-entete .yf-defile a { color: var(--yf-blanc) !important; text-decoration: none !important; }
.yf-entete .yf-defile a:hover { text-decoration: underline !important; }
/* Bandeau de la home : seuls les titres entiers qui tiennent sur la ligne, sans fondu ni défilement. */
body.yf-accueil .yf-bandeau [data-defile] { -webkit-mask-image: none; mask-image: none; height: 1.5rem; overflow: hidden; align-self: center; }
body.yf-accueil .yf-bandeau [data-defile] .kv-piste { animation: none !important; transform: none !important; width: auto; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; line-height: 1.5rem; column-gap: 0; }
body.yf-accueil .yf-bandeau [data-defile] .kv-piste > * { height: 1.5rem; margin-right: 0; padding-right: 1.25rem; margin-left: 0; }
body.yf-accueil .yf-bandeau [data-defile] .kv-piste > * + *::before { content: "·"; display: inline-block; width: 1.25rem; margin-left: -.0rem; text-align: center; opacity: .6; }

/* ---------- Grammaire commune ---------- */
.tn-int { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.tn-section { padding: clamp(4rem, 7vw, 6.5rem) 0; background: var(--yf-blanc); }
.tn-section--poudre { background: var(--yf-poudre); }
.tn-tete { max-width: 760px; margin: 0 auto clamp(2.25rem, 4vw, 3.25rem); text-align: center; }
.tn-tete h2 { font-family: var(--yf-titre); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.12; letter-spacing: -0.015em; margin: 1rem 0 .9rem; text-wrap: balance; }
.tn-tete > p:not(.tn-kicker) { margin: 0 auto; max-width: 60ch; color: var(--yf-gris); font-size: 1.08rem; }
.tn-section .tn-tete a, .tn-section p > a:not(.tn-lien) { color: var(--yf-prune-fonce) !important; text-decoration: underline !important; text-decoration-color: var(--yf-rose) !important; text-underline-offset: 3px; text-decoration-thickness: 2px !important; }
.tn-hero em, .tn-tete h2 em { font-style: normal; color: var(--yf-prune); background: linear-gradient(transparent 64%, var(--yf-rose) 64%, var(--yf-rose) 92%, transparent 92%); padding-inline: .04em; }
.tn-kicker { display: inline-flex; align-items: center; gap: .6rem; margin: 0; padding: .3rem .95rem .3rem .3rem; border: 1px solid var(--yf-rose); border-radius: var(--r-bouton); background: var(--yf-blanc); color: var(--yf-prune-fonce); font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; line-height: 1.2; }
.tn-kicker-num { font-family: var(--yf-titre); display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 999px; background: var(--yf-prune); color: var(--yf-blanc); font-size: .72rem; letter-spacing: .02em; }
.tn-carte { background: var(--yf-blanc); border: 1px solid var(--yf-rose); border-radius: var(--r-carte); box-shadow: var(--o-carte); box-sizing: border-box; }
.tn-etiquette { display: inline-flex; align-items: center; min-height: 26px; padding: 0 .7rem; border-radius: 999px; background: var(--yf-poudre); color: var(--yf-prune-fonce); font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.tn-pastille { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: color-mix(in srgb, var(--yf-prune) 9%, transparent); color: var(--yf-prune); }
.tn-lien { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: var(--yf-prune-fonce) !important; font-weight: 700; text-decoration: none !important; }
.tn-lien svg { transition: transform .2s ease; }
.tn-lien:hover svg { transform: translateX(3px); }
.tn-puce { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border: 1px solid var(--yf-rose); border-radius: 999px; background: var(--yf-blanc); color: var(--yf-texte); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tn-puce:hover { border-color: var(--yf-prune); }
.tn-puce.actif, .tn-puce.kv-actif { background: var(--yf-prune); border-color: var(--yf-prune); color: var(--yf-blanc); }
.tn-jauge { position: relative; display: block; height: 8px; border-radius: 999px; background: var(--yf-rose); overflow: hidden; }
.tn-jauge > span, .tn-jauge > i { position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); border-radius: inherit; background: var(--yf-prune); transform-origin: left center; }
.tn-section h3 { font-family: var(--yf-corps); font-weight: 700; color: var(--yf-texte); }
.tn-section a { text-decoration: none; }
.tn-section img { display: block; max-width: 100%; }
.yf-bouton { text-decoration: none !important; }

/* ---------- 01 Hero : la semaine de soin ---------- */
.tn-hero { position: relative; display: grid; align-items: center; min-height: calc(100svh - var(--header-h, 104px)); box-sizing: border-box; padding: clamp(2rem, 4vw, 3.5rem) 0; background: linear-gradient(180deg, var(--yf-blanc) 0%, var(--yf-blanc) 35%, var(--yf-poudre) 100%); overflow: hidden; }
.tn-hero-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(2rem, 4.5vw, 4.5rem); align-items: center; }
.tn-hero-texte, .tn-scene { min-width: 0; }
.tn-hero h1 { font-family: var(--yf-titre) !important; font-weight: 400; font-size: clamp(2.5rem, 4.7vw, 4.3rem); line-height: 1.04; letter-spacing: -0.025em; margin: 1.4rem 0 1.3rem; color: var(--yf-texte); text-wrap: balance; }
.tn-chapo { margin: 0; max-width: 34em; font-size: 1.14rem; line-height: 1.65; color: var(--yf-gris); }
.tn-boutons { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.tn-reperes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--yf-rose); max-width: 520px; }
.tn-reperes div { padding-left: 1rem; border-left: 1px solid var(--yf-rose); }
.tn-reperes div:first-child { padding-left: 0; border-left: 0; }
.tn-reperes dt { font-family: var(--yf-titre); font-size: 2.4rem; line-height: 1; color: var(--yf-prune-fonce); }
.tn-reperes dd { margin: .4rem 0 0; font-size: .92rem; color: var(--yf-gris); }

/* La photo descend plus bas que l'agenda ; l'agenda déborde dans la gouttière et ne couvre que le fauteuil, jamais le visage ni le geste. */
.tn-scene { position: relative; }
.tn-scene-photo { position: relative; margin: 0 0 0 auto; width: 80%; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: var(--yf-poudre); box-shadow: var(--o-carte); }
.tn-scene-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 16% 50%; border-radius: 0; }
.tn-scene-photo figcaption { position: absolute; right: 1rem; top: 1rem; }
.tn-scene-photo figcaption a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 .9rem; border-radius: 999px; background: var(--yf-blanc); color: var(--yf-prune-fonce) !important; font-size: .82rem; font-weight: 700; box-shadow: var(--o-carte); }
.tn-agenda { position: absolute; left: clamp(-4rem, -4.4vw, -1rem); bottom: 3rem; width: 368px; padding: .9rem 1rem .85rem; background: var(--yf-blanc); border: 1px solid var(--yf-rose); border-radius: var(--r-carte); box-shadow: var(--o-survol), var(--o-carte); box-sizing: border-box; }
.tn-agenda-tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--yf-rose); }
.tn-agenda-titre { margin: 0; display: grid; line-height: 1.25; }
.tn-agenda-titre strong { font-family: var(--yf-titre); font-weight: 400; font-size: 1.2rem; color: var(--yf-texte); }
.tn-agenda-titre span { font-size: .8rem; color: var(--yf-gris); }
.tn-agenda-compte { margin: 0; display: flex; align-items: baseline; gap: .3rem; white-space: nowrap; }
.tn-agenda-compte b { font-family: var(--yf-titre); font-weight: 400; font-size: 1.7rem; line-height: 1; color: var(--yf-prune); font-variant-numeric: tabular-nums; min-width: 1.4em; text-align: right; }
.tn-agenda-compte span { font-size: .8rem; color: var(--yf-gris); }
.tn-agenda-grille { width: 100%; border-collapse: separate; border-spacing: 0; margin: .5rem 0 .2rem; table-layout: fixed; }
.tn-agenda-grille thead th { height: 30px; font-size: .74rem; font-weight: 700; color: var(--yf-gris); text-align: center; }
.tn-agenda-grille thead th:first-child { width: 42%; }
.tn-agenda-grille abbr { text-decoration: none; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; transition: background .25s, color .25s; }
.tn-agenda-grille tbody th { text-align: left; padding: .3rem .4rem .3rem 0; font-weight: 400; }
.tn-agenda-grille tbody th a { display: grid; line-height: 1.2; text-decoration: none; color: var(--yf-texte); }
.tn-agenda-grille tbody th strong { font-size: .86rem; font-weight: 700; }
.tn-agenda-grille tbody th span { font-size: .72rem; color: var(--yf-gris); }
.tn-agenda-grille tbody th a:hover strong { color: var(--yf-prune) !important; }
.tn-agenda-grille tbody tr + tr > * { border-top: 1px dashed var(--yf-rose); }
.tn-case { text-align: center; height: 34px; transition: background .25s; }
.tn-pastille-geste { vertical-align: middle; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 999px; background: var(--yf-prune); color: var(--yf-blanc); transition: background .25s, color .25s, transform .25s; }
.tn-pastille-geste--libre, .tn-agenda.tn-anime .tn-pastille-geste--libre { background: var(--yf-blanc); color: transparent; box-shadow: inset 0 0 0 1.5px var(--yf-rose); }
/* JS : la semaine se remplit jour après jour */
.tn-agenda.tn-anime .tn-pastille-geste { background: var(--yf-poudre); color: transparent; box-shadow: inset 0 0 0 1px var(--yf-rose); }
.tn-agenda.tn-anime .tn-case.fait .tn-pastille-geste { background: var(--yf-prune); color: var(--yf-blanc); box-shadow: none; }
.tn-agenda.tn-anime .tn-case.jour { background: color-mix(in srgb, var(--yf-prune) 7%, transparent); }
.tn-agenda.tn-anime .tn-case.jour .tn-pastille-geste { transform: scale(1.12); }
.tn-agenda-grille thead th.jour abbr { background: var(--yf-prune); color: var(--yf-blanc); }
.tn-notes { list-style: none; margin: .4rem 0 0; padding: .6rem .7rem .45rem; border-radius: 12px; background: var(--yf-poudre); }
.tn-note { display: none; }
.tn-note.actif { display: block; }
.tn-note-jour { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--yf-prune); }
.tn-note p { hyphens: manual; margin: .15rem 0 .2rem; font-size: .87rem; line-height: 1.42; color: var(--yf-texte); min-height: 2.84em; }
.tn-note a { display: inline-flex; align-items: center; gap: .35rem; min-height: 32px; font-size: .84rem; font-weight: 700; color: var(--yf-prune-fonce) !important; }

/* ---------- 02 À la une ---------- */
.tn-une-grille { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.tn-une article { position: relative; }
.tn-une h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tn-une h3 a:hover { color: var(--yf-prune) !important; }
.tn-une-grande { overflow: hidden; }
.tn-une-media { position: relative; }
.tn-une-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; }
.tn-repere { margin: 0; display: grid; gap: .1rem; line-height: 1.2; }
.tn-repere b { font-family: var(--yf-titre); font-weight: 400; color: var(--yf-prune); }
.tn-repere span { font-size: .8rem; color: var(--yf-gris); }
.tn-une-media .tn-repere { position: absolute; left: 1.25rem; bottom: 1.25rem; padding: .8rem 1rem; border-radius: 14px; background: var(--yf-blanc); box-shadow: var(--o-carte); max-width: 260px; }
.tn-une-media .tn-repere b { font-size: 2rem; line-height: 1; }
.tn-carte-corps { padding: 1.4rem 1.5rem 1.5rem; display: grid; gap: .55rem; justify-items: start; }
.tn-une-grande h3 { margin: 0; font-size: 1.55rem; line-height: 1.25; }
.tn-une-grande .tn-carte-corps > p:not(.tn-meta) { margin: 0; color: var(--yf-gris); }
.tn-meta { margin: 0; display: flex; flex-wrap: wrap; gap: .2rem .9rem; font-size: .84rem; color: var(--yf-gris); }
.tn-une-liste { display: grid; gap: 1rem; }
.tn-une-fiche { display: grid; grid-template-columns: 104px minmax(0, 1fr) 118px; align-items: center; gap: 1rem; padding: .8rem 1rem .8rem .8rem; transition: box-shadow .25s, transform .25s; }
.tn-une-fiche:hover, .tn-une-grande:hover { box-shadow: var(--o-survol); }
.tn-une-fiche img { width: 104px; height: 104px; object-fit: cover; border-radius: 12px; }
.tn-une-fiche .tn-carte-corps { padding: 0; gap: .35rem; }
.tn-une-fiche h3 { margin: 0; font-size: 1.02rem; line-height: 1.3; }
.tn-repere--fiche { padding-left: 1rem; border-left: 1px solid var(--yf-rose); }
.tn-repere--fiche b { font-size: 1.25rem; }
.tn-repere--fiche span { font-size: .74rem; }

/* ---------- 03 Flacon ---------- */
.tn-flacon-grille { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 1.5rem; align-items: start; }
.tn-flacon-photo { margin: 0; overflow: hidden; }
.tn-flacon-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 50%; border-radius: 0; }
.tn-flacon-photo figcaption, .tn-peau-photo figcaption { padding: 1rem 1.25rem; font-size: .9rem; color: var(--yf-gris); }
.tn-calcul { padding: 1.6rem; display: grid; gap: 1.3rem; }
.tn-presets { display: flex; flex-wrap: wrap; gap: .6rem; }
.tn-champs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tn-champs label { display: grid; gap: .4rem; font-size: .85rem; font-weight: 700; color: var(--yf-texte); }
.tn-champs input { width: 100%; box-sizing: border-box; min-height: 48px; padding: .5rem .9rem; border: 1px solid var(--yf-rose); border-radius: 12px; font: inherit; font-size: 1.05rem; color: var(--yf-texte); background: var(--yf-blanc); }
.tn-champs input:focus { outline: 2px solid var(--yf-prune); outline-offset: 1px; }
.tn-resultats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 1.1rem 0 0; border-top: 1px solid var(--yf-rose); }
.tn-resultat { margin: 0; display: grid; }
.tn-resultat output { font-family: var(--yf-titre); font-size: 3.2rem; line-height: 1; color: var(--yf-prune-fonce); font-variant-numeric: tabular-nums; }
.tn-resultat span { font-size: .9rem; color: var(--yf-gris); }
.tn-jauge-semaines { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 5px; }
.tn-jauge-semaines span { height: 16px; border-radius: 5px; background: var(--yf-rose); transition: background .3s ease; }
.tn-jauge-semaines span.plein { background: var(--yf-prune); }
.tn-jauge-legende { margin: -.6rem 0 0; font-size: .84rem; color: var(--yf-gris); }

/* ---------- 04 Type de peau ---------- */
.tn-peau-grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.5rem; align-items: start; }
.tn-peau-photo { position: relative; margin: 0; overflow: hidden; }
.tn-peau-profil { position: absolute; left: 1rem; top: 1rem; margin: 0; display: grid; gap: .1rem; padding: .7rem .95rem; border-radius: 14px; background: var(--yf-blanc); box-shadow: var(--o-carte); line-height: 1.25; max-width: calc(100% - 2rem); box-sizing: border-box; }
.tn-peau-profil span { font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--yf-prune); }
.tn-peau-profil b { font-family: var(--yf-titre); font-weight: 400; font-size: 1.2rem; color: var(--yf-texte); }
.tn-peau-profil i { font-style: normal; font-size: .8rem; color: var(--yf-gris); }
.tn-peau-photo img { width: 100%; aspect-ratio: 4 / 5; max-height: 460px; object-fit: cover; object-position: 62% 30%; border-radius: 0; }
.tn-peau-photo figcaption a { color: var(--yf-prune-fonce) !important; font-weight: 700; }
.tn-onglets { display: grid; gap: 1rem; justify-items: start; min-width: 0; }
.tn-onglets-liste { flex-wrap: wrap; background: var(--yf-poudre) !important; }
.tn-onglets-liste .tn-puce { border-color: transparent; background: transparent; }
.tn-onglets-liste .tn-puce.kv-actif { background: var(--yf-prune); color: var(--yf-blanc); }
.tn-fiche-peau { width: 100%; padding: 1.6rem; }
.tn-fiche-peau h3 { margin: 0 0 1rem; font-family: var(--yf-titre) !important; font-weight: 400 !important; font-size: 1.55rem; line-height: 1.2; }
.tn-fiche-lignes { margin: 0 0 1.2rem; display: grid; }
.tn-fiche-lignes div { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 1rem; align-items: baseline; padding: .75rem 0; border-top: 1px solid var(--yf-rose); }
.tn-fiche-lignes dt a { font-size: .88rem; font-weight: 700; color: var(--yf-prune-fonce) !important; text-decoration: underline !important; text-underline-offset: 3px; text-decoration-color: var(--yf-rose) !important; }
.tn-fiche-lignes dd { margin: 0; font-family: var(--yf-titre); font-size: 1.18rem; color: var(--yf-texte); }
.tn-coches { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.tn-coches li { display: flex; gap: .6rem; align-items: flex-start; color: var(--yf-texte); }
.tn-coches svg { flex: none; margin-top: .25rem; color: var(--yf-prune); }

/* ---------- 05 Sommaire des rubriques ---------- */
.tn-sommaire-grille { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
.tn-rubrique { grid-column: span 2; }
.tn-rubrique:nth-child(n + 4) { grid-column: span 3; }
.tn-rubrique { padding: 1.4rem 1.4rem 1rem; display: flex; flex-direction: column; gap: .9rem; }
.tn-rubrique-tete { display: flex; align-items: center; gap: .85rem; }
.tn-rubrique h3 { margin: 0; font-size: 1.18rem; }
.tn-rubrique-compte { margin: 0; font-size: .86rem; color: var(--yf-gris); }
.tn-rubrique-compte b { font-family: var(--yf-titre); font-weight: 400; font-size: 1.1rem; color: var(--yf-prune); }
.tn-rubrique-desc { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--yf-gris); }
.tn-rubrique-liste { list-style: none; margin: 0; padding: 0; display: grid; }
.tn-rubrique-liste li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px dashed var(--yf-rose); }
.tn-rubrique-liste a { font-size: .95rem; font-weight: 600; color: var(--yf-texte); line-height: 1.35; }
.tn-rubrique-liste a:hover { color: var(--yf-prune) !important; }
.tn-rubrique-liste b { flex: none; font-family: var(--yf-titre); font-weight: 400; font-size: .98rem; color: var(--yf-prune); white-space: nowrap; }
.tn-rubrique .tn-lien { margin-top: auto; }

/* ---------- 06 Double nettoyage ---------- */
/* Photo et pile des 4 gestes à la même hauteur fixe (472 px, sous le plafond de 480 px des photos de bloc) :
   la photo remplit sa carte du haut du geste 1 au bas du geste 4. Le kit la rend sticky, on la reprend en absolu. */
.tn-etapes { --tn-etapes-h: 472px; display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.tn-etapes-cadre { position: relative; overflow: hidden; height: var(--tn-etapes-h); padding: 0; }
.tn-etapes .tn-etapes-cadre img[data-etapes-visuel] { position: absolute !important; inset: 0; top: 0 !important; width: 100%; height: 100%; max-height: 472px; aspect-ratio: auto; object-fit: cover; object-position: 50% 50%; border-radius: 0; margin: 0; }
.tn-etapes-total { position: absolute; left: 1rem; bottom: 1rem; z-index: 1; margin: 0; display: flex; align-items: baseline; gap: .5rem; padding: .7rem 1rem; border-radius: 14px; background: var(--yf-blanc); box-shadow: var(--o-carte); }
.tn-etapes-total b { font-family: var(--yf-titre); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--yf-prune); }
.tn-etapes-total span { font-size: .85rem; color: var(--yf-gris); }
.tn-etapes ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(4, minmax(0, 1fr)); gap: .75rem; height: var(--tn-etapes-h); }
.tn-etape { display: grid; grid-template-columns: 40px minmax(0, 1fr) 11.5rem; align-items: center; gap: 1.1rem; padding: .8rem 1.2rem; transition: border-color .3s, box-shadow .3s, opacity .3s, transform .3s; }
.tn-etape > div { display: contents; }
.tn-etape-texte { min-width: 0; }
.tn-etape.kv-actif { border-color: var(--yf-prune); box-shadow: var(--o-survol); transform: none; }
.tn-etape-num { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--yf-poudre); color: var(--yf-prune); font-family: var(--yf-titre); font-size: 1.15rem; transition: background .3s, color .3s; }
.tn-etape.kv-actif .tn-etape-num { background: var(--yf-prune); color: var(--yf-blanc); }
.tn-etape h3 { margin: 0 0 .2rem; font-size: 1.08rem; }
.tn-etape p { margin: 0; color: var(--yf-gris); font-size: .94rem; line-height: 1.45; }
.tn-etape .tn-etape-retire { margin: 0; display: grid; justify-items: start; gap: .3rem; padding-left: 1rem; border-left: 1px dashed var(--yf-rose); color: var(--yf-texte); font-weight: 600; font-size: .88rem; line-height: 1.3; }
.tn-etape-retire > span:first-child { font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--yf-prune); }
.tn-etape-duree { padding: .12rem .65rem; border-radius: 999px; background: var(--yf-poudre); color: var(--yf-prune-fonce); font-size: .78rem; font-weight: 700; }

/* ---------- 07 Rituel du soir ---------- */
.tn-chrono { padding: clamp(1.4rem, 3vw, 2.2rem); }
.tn-chrono-tete { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.tn-chrono-temps { margin: 0; display: flex; align-items: baseline; gap: .6rem; }
.tn-chrono-temps b { font-family: var(--yf-titre); font-weight: 400; font-size: clamp(2.8rem, 5vw, 3.8rem); line-height: 1; color: var(--yf-prune-fonce); font-variant-numeric: tabular-nums; }
.tn-chrono-temps span { color: var(--yf-gris); font-size: .95rem; }
.tn-chrono-etape { margin: 0; padding: .5rem 1rem; border-radius: 999px; background: var(--yf-poudre); color: var(--yf-prune-fonce); font-weight: 700; font-size: .95rem; }
.tn-chrono-piste { display: grid; grid-template-columns: 60fr 90fr 90fr 60fr; gap: 8px; }
.tn-chrono-seg { min-width: 0; }
.tn-chrono-barre { position: relative; display: block; height: 14px; border-radius: 999px; background: var(--yf-rose); overflow: hidden; }
.tn-chrono-barre i { position: absolute; inset: 0; border-radius: inherit; background: var(--yf-prune); transform-origin: left center; transform: scaleX(var(--p, 1)); }
.tn-chrono-debut { display: block; margin-top: .5rem; font-size: .78rem; font-weight: 700; color: var(--yf-gris); font-variant-numeric: tabular-nums; }
.tn-chrono-seg p { margin: .3rem 0 0; font-size: .95rem; line-height: 1.4; color: var(--yf-texte); padding-right: .5rem; }
.tn-chrono-seg p b { display: block; font-family: var(--yf-titre); font-weight: 400; font-size: 1.15rem; color: var(--yf-prune); }
.tn-chrono-seg.actif .tn-chrono-debut { color: var(--yf-prune); }
.tn-rituel-bas { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.25rem; margin-top: 1.25rem; }
.tn-idees { padding: 1.5rem; }
.tn-idees h3 { margin: 0 0 1rem; font-size: 1.15rem; }
.tn-idees ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.tn-idees li { display: flex; align-items: center; gap: .85rem; }
.tn-idees > p { margin: 0 0 .6rem; color: var(--yf-gris); }
.tn-rituel-liens { display: flex; flex-direction: column; align-items: flex-start; }

/* ---------- 08 Vrai ou faux ---------- */
.tn-quiz-cadre { --tn-quiz-h: 464px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; overflow: hidden; padding: 0; }
.tn-quiz-photo { position: relative; margin: 0; height: var(--tn-quiz-h); background: var(--yf-poudre); }
.tn-quiz-photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: 464px; object-fit: cover; border-radius: 0; opacity: 0; transition: opacity .5s ease; }
.tn-quiz-photo img.actif { opacity: 1; }
.tn-quiz-chiffre { position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem; display: grid; }
.tn-quiz-chiffre > span { grid-area: 1 / 1; justify-self: start; display: grid; gap: .2rem; padding: .9rem 1.15rem; border-radius: 16px; background: var(--yf-blanc); box-shadow: var(--o-carte); opacity: 0; transition: opacity .4s ease; }
.tn-quiz-chiffre > span.actif { opacity: 1; }
.tn-quiz-chiffre b { font-family: var(--yf-titre); font-weight: 400; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1; color: var(--yf-prune); }
.tn-quiz-chiffre span span { font-size: .9rem; color: var(--yf-gris); }
.tn-quiz { box-sizing: border-box; min-height: var(--tn-quiz-h); display: flex; flex-direction: column; justify-content: center; padding: clamp(1.6rem, 3.4vw, 3rem); }
.tn-quiz-kicker { margin: 0 0 .9rem; font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--yf-prune); }
.tn-quiz [data-question-texte] { margin: 0 0 1.1rem; font-family: var(--yf-titre); font-size: clamp(1.6rem, 2.5vw, 2.2rem); line-height: 1.2; color: var(--yf-texte); text-wrap: balance; }
.tn-quiz [data-question] { padding: 0; border-radius: 4px; }
.tn-quiz [data-question] + [data-question] { margin-top: 1.4rem; }
.tn-quiz [data-explication] { margin: 1rem 0 0; padding: .9rem 1rem; border-radius: 12px; background: var(--yf-poudre); color: var(--yf-texte); }
.tn-quiz [data-quiz-score]:empty { display: none; }
.tn-quiz [data-quiz-score] { margin: 0 0 .8rem; font-weight: 700; color: var(--yf-prune-fonce); }
.tn-quiz .kv-choix { gap: .75rem; }
.tn-quiz .kv-bouton { min-height: 46px; border-radius: 999px; padding: 0 1.6rem; border: 2px solid var(--yf-prune); color: var(--yf-prune-fonce); font: inherit; font-weight: 700; background: var(--yf-blanc); }
.tn-quiz .kv-bouton.kv-choisi, .tn-quiz .kv-suivante:not(:disabled) { background: var(--yf-prune); color: var(--yf-blanc); }
.tn-quiz .kv-quiz-pied { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--yf-rose); }
.tn-quiz .kv-quiz-prog span { border-color: var(--yf-prune); border-radius: 999px; overflow: hidden; }

/* ---------- 09 À paraître ---------- */
.tn-paraitre-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.tn-a-paraitre { padding: 1.4rem 1.5rem; display: grid; gap: .55rem; align-content: start; }
.tn-a-paraitre h3 { margin: .4rem 0 0; font-size: 1.2rem; }
.tn-a-paraitre > p { margin: 0; color: var(--yf-gris); }
.tn-avant-apres { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .8rem; margin-top: .5rem; padding-top: .9rem; border-top: 1px dashed var(--yf-rose); font-size: .86rem; color: var(--yf-gris); }
.tn-avant-apres b { font-family: var(--yf-titre); font-weight: 400; font-size: 1.3rem; color: var(--yf-prune); }
.tn-jauge--double > i { background: color-mix(in srgb, var(--yf-prune) 35%, transparent); }
.tn-jauge--double > span { z-index: 1; }

/* ---------- 10 Rédaction ---------- */
.tn-equipe-grille { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.tn-auteur { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.4rem 1rem 1.2rem; color: var(--yf-texte); transition: box-shadow .25s, border-color .25s; }
.tn-auteur:hover { box-shadow: var(--o-survol); border-color: var(--yf-prune); }
.tn-auteur img { width: 88px; height: 88px; border-radius: 999px; object-fit: cover; border: 3px solid var(--yf-poudre); }
.tn-auteur h3 { margin: .85rem 0 .2rem; font-size: 1.02rem; }
.tn-auteur-role { margin: 0; font-size: .84rem; color: var(--yf-gris); line-height: 1.35; min-height: 2.7em; }
.tn-auteur-compte { margin: .7rem 0 .6rem; font-size: .84rem; color: var(--yf-gris); }
.tn-auteur-compte b { font-family: var(--yf-titre); font-weight: 400; font-size: 1.6rem; color: var(--yf-prune); margin-right: .2rem; }
.tn-auteur-chiffres { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; }
.tn-auteur-chiffres li { padding: .15rem .6rem; border-radius: 999px; background: var(--yf-poudre); color: var(--yf-prune-fonce); font-size: .76rem; font-weight: 700; white-space: nowrap; }
.tn-redaction { padding-bottom: clamp(3.5rem, 6vw, 5rem); }
.tn-mot { margin-top: 1.25rem; padding: 1.5rem 1.8rem; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 1.5rem 2rem; }
.tn-mot blockquote { margin: 0; padding: 0; border: 0; }
.tn-mot blockquote p { margin: 0; font-family: var(--yf-titre); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.3; color: var(--yf-texte); }
.tn-mot-signature { display: inline-flex; align-items: center; gap: .75rem; color: var(--yf-texte); }
.tn-mot-signature > span:last-child { display: grid; line-height: 1.3; }
.tn-mot-signature > span:last-child > span { font-size: .84rem; color: var(--yf-gris); }

/* ---------- Tablette et mobile ---------- */
@media (max-width: 1100px) {
  .tn-equipe-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tn-mot { grid-template-columns: 1fr; justify-items: start; }
}
@media (max-width: 980px) {
  .tn-hero { min-height: 0; }
  .tn-hero-grille, .tn-une-grille, .tn-flacon-grille, .tn-peau-grille, .tn-etapes, .tn-rituel-bas { grid-template-columns: minmax(0, 1fr); }
  .tn-scene { max-width: 620px; width: 100%; margin-inline: auto; padding-bottom: 0; }
  .tn-scene-photo { width: 100%; aspect-ratio: 1 / 1; }
  .tn-scene-photo img { object-position: 36% 30%; }
  .tn-agenda { position: relative; left: auto; bottom: auto; width: calc(100% - 1.5rem); margin: -5rem 0 0 auto; }
  .tn-peau-photo img { aspect-ratio: 4 / 3; max-height: none; }
  .tn-etapes { grid-template-columns: minmax(0, 1fr); }
  .tn-etapes-cadre { height: auto; aspect-ratio: 4 / 3; }
  .tn-etapes ol { height: auto; grid-template-rows: none; }
  .tn-paraitre-grille { grid-template-columns: minmax(0, 1fr); }
  .tn-sommaire-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tn-rubrique, .tn-rubrique:nth-child(n + 4) { grid-column: auto; }
}
@media (max-width: 700px) {
  [data-bandeau], .announcement-bar { display: none !important; }
  .tn-int { width: calc(100% - 1.5rem); }
  .tn-hero-texte { padding-inline: .375rem; }
  .tn-tete { padding-inline: .375rem; }
  .tn-agenda { padding: .85rem .75rem .75rem; }
  .tn-notes { padding: .6rem .6rem .45rem; }
  .tn-fiche-peau, .tn-calcul, .tn-chrono, .tn-quiz, .tn-idees, .tn-rubrique, .tn-a-paraitre { padding: 1.1rem 1rem; }
  .tn-carte-corps { padding: 1.1rem 1rem 1.2rem; }
  .tn-etape { display: block; padding: 1rem; }
  .tn-etape .tn-etape-retire { margin-top: .7rem; padding-left: 0; border-left: 0; display: flex; flex-wrap: wrap; align-items: center; }
  .tn-etape-num { width: 34px; height: 34px; margin-bottom: .3rem; }
  .tn-mot { padding: 1.2rem 1rem; }
  .tn-idees .tn-pastille { width: 36px; height: 36px; }
  .tn-hero { padding: 1.4rem 0 2.5rem; }
  .tn-hero h1 { font-size: clamp(2.3rem, 10.5vw, 2.9rem); margin: 1rem 0 .9rem; }
  .tn-chapo { font-size: 1.02rem; }
  .tn-boutons { margin-top: 1.4rem; gap: .75rem; }
  .tn-boutons .yf-bouton { flex: 1 1 auto; }
  .tn-reperes { margin-top: 1.6rem; }
  .tn-reperes dt { font-size: 2rem; }
  .tn-agenda { width: 100%; margin-top: -3rem; padding: 1rem; }
  .tn-agenda-grille thead th:first-child { width: 40%; }
  .tn-une-fiche { grid-template-columns: 76px minmax(0, 1fr); }
  .tn-une-fiche img { width: 76px; height: 76px; }
  .tn-repere--fiche { grid-column: 1 / -1; padding: .6rem 0 0; border-left: 0; border-top: 1px dashed var(--yf-rose); display: flex; align-items: baseline; gap: .5rem; }
  .tn-une-media .tn-repere { left: .8rem; bottom: .8rem; }
  .tn-champs, .tn-resultats { grid-template-columns: minmax(0, 1fr); }
  .tn-fiche-lignes div { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .tn-chrono-piste { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .tn-equipe-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tn-sommaire-grille { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 11 Notre démarche : le bloc injecté avant le pied, dans la grammaire de la home ---------- */
body.yf-accueil .uf-block { width: auto; max-width: none; margin: 0; padding: clamp(4rem, 7vw, 6rem) 0; border: 0; border-radius: 0; background: var(--yf-poudre); color: var(--yf-texte); font-family: var(--yf-corps); font-size: 1.0625rem; }
body.yf-accueil .uf-block .about-split { display: block; width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
body.yf-accueil .uf-block .af-pad { max-width: 1200px; margin-inline: auto; padding: 0; display: grid; justify-items: center; text-align: center; }
body.yf-accueil .uf-block .eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .3rem .95rem .3rem .3rem; border: 1px solid var(--yf-rose); border-radius: var(--r-bouton); background: var(--yf-blanc); color: var(--yf-prune-fonce); font-size: .76rem; font-weight: 700; letter-spacing: .09em; line-height: 1.2; }
body.yf-accueil .uf-block .eyebrow::before { content: "11"; font-family: var(--yf-titre); display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 999px; background: var(--yf-prune); color: var(--yf-blanc); font-size: .72rem; letter-spacing: .02em; }
body.yf-accueil .uf-block h2 { max-width: 760px; font-family: var(--yf-titre); font-weight: 400; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.12; letter-spacing: -0.015em; margin: 1rem 0 .9rem; color: var(--yf-texte); text-wrap: balance; }
body.yf-accueil .uf-block h2 em { font-style: normal; color: var(--yf-prune); background: linear-gradient(transparent 64%, var(--yf-rose) 64%, var(--yf-rose) 92%, transparent 92%); padding-inline: .04em; }
body.yf-accueil .uf-block p { margin: 0 auto 1.6rem; max-width: 60ch; color: var(--yf-gris); font-size: 1.08rem; }
body.yf-accueil .uf-block .af-button { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: 0 1.6rem; border: 2px solid var(--yf-prune); border-radius: 999px; background: var(--yf-prune); color: var(--yf-blanc) !important; font-family: var(--yf-corps); font-size: 1rem; font-weight: 700; text-decoration: none !important; }
body.yf-accueil .uf-block .af-button:hover { background: var(--yf-prune-fonce); border-color: var(--yf-prune-fonce); }
.tn-demarche { list-style: none; margin: .6rem 0 2.4rem; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; text-align: left; }
.tn-demarche a { display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.6rem 1.6rem 1.4rem; box-sizing: border-box; background: var(--yf-blanc); border: 1px solid var(--yf-rose); border-radius: var(--r-carte); box-shadow: var(--o-carte); color: var(--yf-texte) !important; text-decoration: none !important; transition: box-shadow .25s, border-color .25s, transform .25s; }
.tn-demarche a:hover { box-shadow: var(--o-survol); border-color: var(--yf-prune); transform: translateY(-3px); }
.tn-demarche .tn-dm-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--yf-prune); }
.tn-demarche .tn-dm-chiffre { display: flex; align-items: baseline; gap: .5rem; margin: .3rem 0 .1rem; }
.tn-demarche .tn-dm-chiffre b { font-family: var(--yf-titre); font-weight: 400; font-size: clamp(3rem, 5vw, 4.2rem); line-height: .95; color: var(--yf-prune); }
.tn-demarche .tn-dm-chiffre em { font-style: normal; font-size: 1rem; font-weight: 700; color: var(--yf-prune-fonce); }
.tn-demarche .tn-dm-titre { font-family: var(--yf-titre); font-weight: 400; font-size: 1.3rem; line-height: 1.25; }
.tn-demarche .tn-dm-texte { flex: 1; font-size: .95rem; line-height: 1.5; color: var(--yf-gris); }
.tn-demarche .tn-dm-pas { display: flex; gap: .35rem; margin-top: .5rem; }
.tn-demarche .tn-dm-pas i { flex: 1; height: 8px; border-radius: 999px; background: var(--yf-poudre); box-shadow: inset 0 0 0 1px var(--yf-rose); }
.tn-demarche .tn-dm-pas i.plein { background: var(--yf-prune); box-shadow: none; }
.tn-demarche .tn-dm-lien { display: inline-flex; align-items: center; gap: .35rem; margin-top: .6rem; font-size: .9rem; font-weight: 700; color: var(--yf-prune-fonce); }

/* ---------- Pied de page de la home : un seul fond prune, colonnes sur la largeur des sections ---------- */
body.yf-accueil .yf-pied { background: var(--yf-prune-fonce); color: var(--yf-blanc); }
body.yf-accueil .yf-pied .yf-conteneur { width: min(1200px, 100% - 2.5rem); }
body.yf-accueil .yf-pied-bande { background: transparent; padding: 3rem 0 2.25rem; border-bottom: 1px solid color-mix(in srgb, var(--yf-blanc) 18%, transparent); }
body.yf-accueil .yf-pied-bande p { color: color-mix(in srgb, var(--yf-blanc) 85%, transparent); }
body.yf-accueil .yf-pied-colonnes { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); padding: 2.5rem 0; }
body.yf-accueil .yf-pied h2 { color: var(--yf-rose) !important; }
body.yf-accueil .yf-pied a { color: var(--yf-blanc) !important; text-decoration: none !important; }
body.yf-accueil .yf-pied li a, body.yf-accueil .yf-pied address a { min-height: 36px; }
body.yf-accueil .yf-pied a:hover { color: var(--yf-rose) !important; }
body.yf-accueil .yf-pied-colonnes > div:nth-child(2) ul { columns: 2; column-gap: 2rem; }
body.yf-accueil .yf-pied address { color: color-mix(in srgb, var(--yf-blanc) 85%, transparent); }
body.yf-accueil .yf-pied-fin { border-top: 1px solid color-mix(in srgb, var(--yf-blanc) 18%, transparent); padding: 1.25rem 0 .4rem; color: color-mix(in srgb, var(--yf-blanc) 70%, transparent); font-size: .85rem; text-align: center; }
body.yf-accueil .yf-pied > p:last-child { margin: 0 !important; padding: 0 1.25rem 1.6rem !important; color: color-mix(in srgb, var(--yf-blanc) 70%, transparent); font-size: .85rem !important; opacity: 1 !important; }
@media (max-width: 980px) {
  .tn-demarche { grid-template-columns: minmax(0, 1fr); }
  .tn-quiz-cadre { grid-template-columns: minmax(0, 1fr); }
  .tn-quiz-photo { height: auto; aspect-ratio: 4 / 3; }
  .tn-quiz { min-height: 0; }
}
@media (max-width: 820px) { body.yf-accueil .yf-pied-colonnes { grid-template-columns: minmax(0, 1fr); } }

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