/* ============================================================
   FOC STUDIO — BLOG · LES 3 TESTS (commun aux trois pages)
   ------------------------------------------------------------
   Préfixe t3-. S'appuie sur css/blog.css (bl-hero, bl-rule, bl-prose,
   bl-share, bl-list) et css/base.css (tokens, titres, cartes).
   Règles du brief : un seul test par page, zéro vente, tient en un
   écran → sections resserrées, aucun bloc offre.
   ============================================================ */

/* Pages plus courtes que les articles : on resserre le rythme vertical. */
body.page-blog-test { --section-pad: clamp(2.5rem, 5vw, 5rem); }

/* ---------- HERO : la question en titre, le nom du test en dessous ---------- */
.t3-name {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 0.9vw, 0.9rem);
  color: rgba(10, 10, 10, 0.65);
  margin-bottom: 0.9rem;
}

/* ---------- LA CONSIGNE (bandeau feu) ---------- */
.t3-consigne .bl-rule__body {
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  line-height: 1.35;
  max-width: var(--bl-col);      /* même largeur que la colonne de texte */
}
.t3-consigne .bl-rule__body p + p { margin-top: 0.6em; }
.t3-consigne__q { font-weight: 700; margin-top: 0.9em; }
.t3-consigne__tri { list-style: none; padding: 0; margin-top: 0.5em; }
.t3-consigne__tri li { position: relative; padding-left: 1.3em; }
.t3-consigne__tri li + li { margin-top: 0.35em; }
.t3-consigne__tri li::before { content: '→'; position: absolute; left: 0; color: var(--rose); font-weight: 700; }
.t3-consigne__tri strong { font-weight: 700; color: var(--rose); }

/* ---------- MISE EN SITUATION (fond blanc) ---------- */
.t3-demo-section .bl-prose__inner > h2 + p { margin-top: 0.6em; }

.t3-demo-section h2 {
  text-transform: none;           /* une phrase qu'il dirait, pas un titre de rubrique */
  letter-spacing: -0.02em;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

/* Boutons des tests : simples, jamais 100 % de large. */
.t3-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border: 2px solid var(--noir);
  border-radius: 0;                 /* jamais d'arrondi sur FOC */
  background: var(--noir);
  color: var(--blanc);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.t3-btn:hover,
.t3-btn:focus-visible { background: var(--feu); border-color: var(--feu); color: var(--noir); }
.t3-btn:active { transform: scale(0.97); }
.t3-btn--ghost { background: transparent; color: var(--noir); }
.t3-btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }

.t3-demo__controls { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.t3-note {
  font-size: 0.9em;
  color: rgba(10, 10, 10, 0.7);
}

/* Champ de saisie commun (textarea + inputs). Jamais de donnée envoyée. */
.t3-input {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid var(--noir);
  border-radius: 0;
  background: var(--blanc);
  color: var(--noir);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.4;
}
.t3-input:focus { outline: 3px solid var(--feu); outline-offset: 2px; }
textarea.t3-input { resize: vertical; min-height: 4.5em; }

/* ============================================================
   TEST 2 — LES 5 SECONDES : maquette d'un site « comme partout »
   Volontairement générique : Arial, bleu corporate, slider, 7 entrées.
   ============================================================ */
.t3-site {
  --site-blue: #1f5fa8;
  --site-grey: #e9ecef;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(10, 10, 10, 0.2);
  border-radius: 10px;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  font-size: clamp(9px, 1.6vw, 14px);
  box-shadow: 0 12px 40px rgba(10, 10, 10, 0.12);
  user-select: none;
}

.t3-site__bar {
  display: flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.6em 0.9em;
  background: #f1f3f5;
  border-bottom: 1px solid #dee2e6;
}
.t3-site__bar span { width: 0.8em; height: 0.8em; border-radius: 50%; background: #ced4da; }
.t3-site__bar i {
  flex: 1;
  margin-left: 0.6em;
  padding: 0.3em 0.8em;
  border-radius: 999px;
  background: #fff;
  font-style: normal;
  font-size: 0.85em;
  color: #868e96;
}

.t3-site__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 1em 1.4em;
}
.t3-site__logo { font-size: 1.35em; font-weight: 700; letter-spacing: 0.02em; color: var(--site-blue); }
.t3-site__logo span { color: #adb5bd; font-weight: 400; }
.t3-site__nav { display: flex; gap: 1.1em; list-style: none; padding: 0; margin: 0; font-size: 0.85em; color: #495057; }
.t3-site__nav li:first-child { color: var(--site-blue); font-weight: 700; }

.t3-site__slider {
  position: relative;
  padding: 3.2em 1.4em 2.6em;
  text-align: center;
  background: linear-gradient(135deg, #dfe7f1 0%, #c5d3e3 100%);
}
.t3-site__slider p { margin: 0; font-size: 2.1em; font-weight: 700; color: #2c3e50; }
.t3-site__slider small { display: block; margin-top: 0.6em; font-size: 1em; color: #4a5a6a; }
.t3-site__slider b {
  display: inline-block;
  margin-top: 1.4em;
  padding: 0.6em 1.4em;
  border-radius: 4px;
  background: var(--site-blue);
  color: #fff;
  font-weight: 400;
  font-size: 0.9em;
}
.t3-site__dots { position: absolute; left: 0; right: 0; bottom: 0.9em; display: flex; justify-content: center; gap: 0.4em; }
.t3-site__dots span { width: 0.6em; height: 0.6em; border-radius: 50%; background: rgba(44, 62, 80, 0.25); }
.t3-site__dots span.on { background: var(--site-blue); }

.t3-site__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4em;
  padding: 1.6em 1.4em 1.8em;
}
.t3-site__cols h4 { margin: 0 0 0.6em; font-size: 1em; color: var(--site-blue); }
.t3-site__cols i { display: block; height: 0.55em; margin-top: 0.45em; border-radius: 2px; background: var(--site-grey); }
.t3-site__cols i:nth-child(3) { width: 85%; }
.t3-site__cols i:nth-child(4) { width: 60%; }

/* Compte à rebours en coin, puis l'écran se vide. */
.t3-site__timer {
  position: absolute;
  top: 0.9em;
  right: 1em;
  min-width: 2.2em;
  padding: 0.3em 0.6em;
  border-radius: 0;
  background: var(--feu);
  color: var(--blanc);
  font-family: var(--font-title);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 700;
  text-align: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
.t3-demo.is-running .t3-site__timer { opacity: 1; transform: scale(1); }
.t3-demo.is-blank .t3-site__timer { opacity: 0; }

.t3-site__veil {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--noir);
  color: var(--blanc);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-out-quart, ease);
}
.t3-demo.is-blank .t3-site__veil { opacity: 1; }
.t3-site__alors {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 5rem);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--rose);
  opacity: 0;
  transform: translateY(0.2em);
  transition: opacity 0.5s 0.35s, transform 0.5s 0.35s var(--ease-out-expo, ease);
}
.t3-demo.is-blank .t3-site__alors { opacity: 1; transform: none; }

/* Sans JS : la maquette est visible et la question suit (fallback statique).
   Avec JS (.is-ready) : bouton visible, question masquée jusqu'au .is-done. */
.t3-demo { margin-top: 1.25em; }
.t3-demo__controls { margin-top: 1.25em; }
.t3-demo:not(.is-ready) .t3-demo__controls { display: none; }
.t3-after { margin-top: 1.5em; }
.t3-demo.is-ready .t3-after { display: none; }
.t3-demo.is-ready.is-done .t3-after { display: block; animation: t3-fade 0.6s var(--ease-out-quart, ease) both; }
.t3-after__q {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}
.t3-after__then { margin-top: 0.8em; }

@keyframes t3-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================================================
   TEST 2 — LE LOGO ÉCHANGÉ : trois phrases, un logo qui change
   ============================================================ */
.t3-phrases {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin-top: 1.25em;
}

.t3-card {
  display: flex;
  flex-direction: column;
  gap: 1.1em;
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border: 1px solid rgba(10, 10, 10, 0.25);
  background: rgba(255, 255, 255, 0.4);   /* pâle sur le rose, jamais blanc pur */
}
.t3-card[role="button"] { cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.t3-card[role="button"]:hover,
.t3-card[role="button"]:focus-visible { border-color: var(--feu); background: rgba(255, 255, 255, 0.6); outline: none; }

.t3-card__logo {
  display: inline-block;
  align-self: flex-start;
  padding: 0.35em 0.7em;
  border-radius: 0;
  background: #1f5fa8;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.8em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  perspective: 400px;
}
.t3-card__logo.is-flip { animation: t3-flip 0.45s var(--ease-out-quart, ease); }
@keyframes t3-flip {
  0%   { transform: rotateX(0); }
  45%  { transform: rotateX(90deg); background: var(--rose); }
  100% { transform: rotateX(0); }
}

.t3-card q {
  quotes: "«\00a0" "\00a0»";
  font-family: Georgia, 'Times New Roman', serif;   /* le ton « site corporate » */
  font-size: 1.05em;
  line-height: 1.35;
  color: #2c3e50;
}

.t3-phrases__hint { margin-top: 0.8em; }

/* « Colle la tienne » : invisible sans JS (le fallback = les 3 cartes). */
.t3-own:not(.is-ready) { display: none; }
/* [hidden] doit gagner sur les display:flex des cartes et boutons. */
.t3-own [hidden] { display: none !important; }
.t3-own { margin-top: 1.25em; display: grid; gap: 1em; }
.t3-card--own { background: rgba(255, 255, 255, 0.55); }
.t3-card--own.is-swapped { border-color: var(--feu); }
.t3-card--own .t3-card__logo { background: var(--noir); }
.t3-card--own.is-swapped .t3-card__logo { background: #1f5fa8; }
.t3-own__q {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  animation: t3-fade 0.5s var(--ease-out-quart, ease) both;
}

@media (max-width: 640px) {
  .t3-phrases { grid-template-columns: 1fr; }
}

/* ============================================================
   TEST 3 — LE CLIENT QUI CHERCHE : composer la recherche, puis l'ouvrir
   ============================================================ */
.t3-finder { margin-top: 1.25em; display: grid; gap: 1.1em; }
.t3-finder__fields {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 0.75rem;
}
.t3-finder__fields label {
  display: grid;
  gap: 0.4em;
  font-size: 0.85em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.t3-finder__out { display: grid; gap: 0.5em; }
.t3-finder__out span {
  display: block;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(10, 10, 10, 0.6);
}
.t3-query {
  display: block;
  padding: 0.7em 0.9em;
  background: rgba(10, 10, 10, 0.08);
  border-left: 3px solid var(--feu);
  font-size: 1.05em;
  font-weight: 700;
}
.t3-finder__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media (max-width: 560px) {
  .t3-finder__fields { grid-template-columns: 1fr; }
}

/* Fausse conversation avec un assistant IA (statique, anonymisée). */
.t3-chat {
  margin-top: 1.25em;
  display: grid;
  gap: 0.9em;
  font-size: 0.98em;
}
.t3-chat__user,
.t3-chat__ai {
  padding: 1em 1.2em;
  border-radius: 14px;
  line-height: 1.45;
}
.t3-chat__user {
  justify-self: end;
  max-width: 85%;
  background: rgba(10, 10, 10, 0.1);
  border-bottom-right-radius: 4px;
}
.t3-chat__ai {
  justify-self: start;
  max-width: 92%;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(10, 10, 10, 0.2);
  border-bottom-left-radius: 4px;
}
.t3-chat__ai > * + * { margin-top: 0.7em; }
.t3-chat__ai ol { padding-left: 1.4em; }
.t3-chat__ai li + li { margin-top: 0.3em; }
.t3-redact {
  display: inline-block;
  min-width: 3.2em;
  height: 0.85em;
  vertical-align: -0.1em;
  border-radius: 0;
  background: repeating-linear-gradient(90deg, #343a40 0 0.55em, #495057 0.55em 1.1em);
  color: transparent;
  overflow: hidden;
}
.t3-chat__after {
  margin-top: 0.4em;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

/* ============================================================
   CLÔTURE (fond noir, section .bl-share réutilisée) : une phrase,
   la signature, puis le partage « lis ça ».
   ============================================================ */
.t3-close__text {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--blanc);
  margin: 0;
}
.t3-close__text .text-rose { color: var(--rose); }
.t3-close__sign {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 0.95vw, 0.9rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--light-text);
  margin-top: clamp(1rem, 2vw, 1.5rem);
}
.t3-close__share {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.t3-close__share-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--light-text);
  margin-bottom: 0.9rem;
}

/* ============================================================
   LES DEUX AUTRES TESTS (fond rose) — cartes communes du blog (blog/_card.php)
   ============================================================ */
.t3-suite__title {
  grid-column: 1 / -1;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

/* Mouvement réduit : pas de flip, pas de fondu long. */
@media (prefers-reduced-motion: reduce) {
  .t3-card__logo.is-flip { animation: none; }
  .t3-site__veil, .t3-site__alors, .t3-site__timer { transition-duration: 0.01s; transition-delay: 0s; }
  .t3-demo.is-ready.is-done .t3-after, .t3-own__q { animation: none; }
}

/* ============================================================
   V2 (retour Janine, 20 oct. 2026) : plus de contexte.
   Hero : la ligne « tester son site soi-même » lisible + une intro.
   Sections « Ce que ça veut dire » et conclusion (encadré feu).
   Test 2 : le jeu « est-ce que je te retrouve ? » (envoi sans e-mail).
   ============================================================ */
.page-blog-test .bl-hero__sur {          /* la question, sous le titre, en phrase */
  font-size: clamp(1rem, 1.4vw, 1.4rem);
  font-weight: 700;
  margin-top: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 0;
}
.t3-hero__intro {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.45;
  max-width: 730px;
  margin-top: clamp(0rem, 1vw, 0.5rem);
  text-wrap: pretty;
}
.t3-hero__intro p + p { margin-top: 0.75em; }
.t3-hero__tips { margin-top: 0.75em; font-size: 0.9em; }
.t3-hero__tips p { margin: 0 0 0.3em; }
.t3-hero__tips strong { font-weight: 700; }
.t3-hero__tips ul { list-style: none; padding: 0; margin: 0; }
.t3-hero__tips li { position: relative; padding-left: 1.2em; }
.t3-hero__tips li::before { content: '→'; position: absolute; left: 0; font-weight: 700; }
.t3-hero__tips a { color: var(--noir); text-decoration: underline; text-underline-offset: 0.15em; }
.t3-hero__tips a:hover { color: var(--blanc); }

/* Titres de rubrique dans la prose (Ce que ça veut dire, Fais-le ici…). */
.t3-demo-section h2.t3-h {
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 0.95;
  margin-top: 2.2em;
}
.t3-demo-section h2.t3-h:first-child { margin-top: 0; }
.t3-demo-section .bl-aside h2 { margin-top: 0; }
.t3-demo-section .bl-aside { margin-top: 2.5em; }

/* La consigne : la ligne qui trie (si oui / si non) — voir .t3-consigne__tri plus haut. */

/* ---------- TEST 2 : le jeu « est-ce que je te retrouve ? » ---------- */
.t3-game {
  margin-top: 0.5em;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 2px solid var(--noir);
  background: transparent;
  display: grid;
  gap: 0.9em;
}
.t3-game h2 {
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 0.95;
  margin: 0;
}
.t3-game p { margin: 0; }
.t3-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.t3-send__status { font-weight: 700; min-height: 1.4em; }
.t3-send__status.is-error { color: var(--feu); }
.t3-send__after { animation: t3-fade 0.5s var(--ease-out-quart, ease) both; }
.t3-send__after a { color: var(--feu); font-weight: 700; }
.t3-own.is-sent .t3-send { display: none; }
.t3-own.is-sent .t3-game__pitch { display: none; }

/* ---------- TEST 1 : « entre ton site » → capture de sa page d'accueil ---------- */
.t3-capture { margin-top: 1.25em; display: grid; gap: 0.75em; }
.t3-capture__row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.t3-capture__row .t3-input { flex: 1 1 220px; width: auto; }
.t3-capture__status { font-weight: 700; min-height: 1.4em; margin: 0; }
.t3-capture__status.is-error { color: var(--feu); }
.t3-capture.is-busy .t3-capture__go { opacity: 0.5; pointer-events: none; }
.t3-capture.is-busy .t3-capture__status::after {
  content: '';
  display: inline-block;
  width: 0.8em; height: 0.8em;
  margin-left: 0.5em;
  vertical-align: -0.1em;
  border: 2px solid var(--feu);
  border-right-color: transparent;
  border-radius: 0;
  animation: t3-spin 0.8s linear infinite;
}
@keyframes t3-spin { to { transform: rotate(360deg); } }
.t3-site.has-shot .t3-site__mock { display: none; }
.t3-site__shot { display: block; width: 100%; height: auto; }
.t3-site__shot[hidden] { display: none; }

/* ---------- Ordre des fonds (Janine, 20 oct. 2026) : hero FEU → consigne NOIRE →
   mise en situation blanche → clôture noire → deux autres tests ROSE → pied de page. */
.t3-hero__intro { color: var(--noir); }
.t3-consigne { background: var(--noir); color: var(--blanc); }
.t3-consigne .bl-rule__label { color: var(--rose); }

/* ---------- TEST « 5 secondes » : rien n'est dévoilé avant le lancement ----------
   Tant que le test n'est pas lancé (JS prêt), la page (maquette ou capture)
   est floutée sous un voile avec un bouton play. Au clic : net pendant les
   5 s, puis le voile noir « Alors ? ». Sans JS : tout reste visible. */
.t3-site__mock,
.t3-site__shot { transition: filter 0.4s var(--ease-out-quart, ease); }
.t3-demo.is-ready:not(.is-running):not(.is-blank) .t3-site__mock,
.t3-demo.is-ready:not(.is-running):not(.is-blank) .t3-site__shot { filter: blur(16px) saturate(0.8); }

.t3-site__cover {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(10, 10, 10, 0.35);
}
.t3-demo.is-ready:not(.is-running):not(.is-blank) .t3-site__cover { display: grid; }
.t3-play {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: 0;
  color: var(--blanc);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.t3-play__btn {
  width: clamp(4rem, 9vw, 6rem);
  height: clamp(4rem, 9vw, 6rem);
  border-radius: 0;                 /* carré : jamais d'arrondi sur FOC */
  background: var(--noir);
  color: var(--rose);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 0 rgba(255, 153, 255, 0.5);
  transition: transform 0.2s, box-shadow 0.3s;
}
.t3-play__btn svg { width: 40%; height: 40%; margin-left: 8%; fill: currentColor; }
.t3-play:hover .t3-play__btn,
.t3-play:focus-visible .t3-play__btn { transform: scale(1.06); box-shadow: 0 0 0 12px rgba(255, 153, 255, 0.35); }
.t3-play:focus-visible { outline: none; }

/* ---------- CONSIGNE en marche à suivre (test « client qui cherche ») ---------- */
.t3-steps { list-style: none; padding: 0; counter-reset: t3step; display: grid; gap: 0.9em; }
.t3-steps li { position: relative; padding-left: 3rem; counter-increment: t3step; }
.t3-steps li::before {
  content: counter(t3step);
  position: absolute; left: 0; top: 0.1em;
  width: 2.1rem; height: 2.1rem;
  background: var(--feu); color: var(--blanc);
  font-family: var(--font-title); font-weight: 700; font-size: 1rem;
  display: grid; place-items: center;
}
.t3-steps strong { font-weight: 700; }
.t3-steps__warn, .t3-steps__ex { display: block; margin-top: 0.4em; font-size: 0.85em; line-height: 1.4; }
.t3-steps__warn { color: var(--rose); font-weight: 700; }
.t3-steps__warn::before { content: '⚠ '; }
.t3-steps__ex { color: var(--light-text); }

/* L'outil (champs + boutons) dans la section noire */
.t3-consigne .t3-finder { max-width: var(--bl-col); margin-top: clamp(1.5rem, 3vw, 2.5rem); font-family: var(--font-body); font-size: clamp(1rem, 1.25vw, 1.125rem); }
.t3-consigne .t3-finder__fields label { color: var(--blanc); }
.t3-consigne .t3-input { border-color: var(--blanc); }
.t3-consigne .t3-input:focus { outline-color: var(--rose); }
.t3-consigne .t3-finder__out span { color: var(--light-text); }
.t3-consigne .t3-query { background: rgba(255, 255, 255, 0.08); border-left-color: var(--rose); color: var(--blanc); }
.t3-consigne .t3-btn { background: var(--rose); border-color: var(--rose); color: var(--noir); }
.t3-consigne .t3-btn--ghost { background: transparent; border-color: var(--blanc); color: var(--blanc); }
.t3-consigne .t3-btn:hover, .t3-consigne .t3-btn:focus-visible { background: var(--feu); border-color: var(--feu); color: var(--noir); }
.t3-consigne .t3-note { color: var(--light-text); }
.t3-consigne .bl-rule__body + .t3-finder + .bl-rule__body { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.t3-consigne__tri a { color: var(--blanc); text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 0.15em; }
.t3-consigne__tri a:hover { color: var(--rose); }

/* ---------- Le test DANS l'article (fond rose) : étapes, résultat oui/non, « à retenir » ---------- */
.bl-prose .t3-steps { margin-top: 0.5em; }
.bl-prose .t3-steps__warn { color: var(--feu); }
.bl-prose .t3-steps__ex { color: rgba(10, 10, 10, 0.7); }
.bl-prose .t3-finder { margin-top: 0.75em; }
.bl-prose .t3-consigne__q { font-size: 1.1em; margin-top: 0.5em; }
.bl-prose .t3-consigne__tri li::before,
.bl-prose .t3-consigne__tri strong { color: var(--feu); }
.bl-prose .t3-consigne__tri a { color: var(--noir); text-decoration: underline; text-decoration-color: var(--feu); text-underline-offset: 0.15em; }
.bl-prose .t3-consigne__tri a:hover { color: var(--feu); }
.t3-demo-section h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.35em;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-top: 1.8em;
}
/* FAQ : les questions en fonte de texte (PP Telegraf), pas en titre */
.t3-faq h3 {
  font-family: var(--font-body);
  font-size: 1.1em;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 1.6em;
}
.t3-faq h3 + p { margin-top: 0.5em; }
.t3-demo-section h2 + h3 { margin-top: 0.4em; }
/* « À retenir » : bloc noir, étiquette rose — pop, pas terne. */
.t3-key {
  margin-top: 1.4em;
  padding: 1.1em 1.3em;
  background: var(--noir);
  color: var(--blanc);
  font-size: 1.02em;
}
.t3-key strong { display: block; margin-bottom: 0.3em; color: var(--rose); font-family: var(--font-title); text-transform: uppercase; letter-spacing: 0; }

/* Boutons (composant .btn du site) et .t3-btn dans l'article : la règle des liens
   de l'article (.bl-prose__inner a) ne doit pas les souligner ni les recolorer. */
.bl-prose__inner a.btn { color: var(--btn-text); text-decoration: none; }
.bl-prose__inner a.t3-btn { color: var(--blanc); text-decoration: none; }
.bl-prose__inner a.t3-btn--ghost { color: var(--noir); }
.bl-prose__inner a.t3-btn:hover, .bl-prose__inner a.t3-btn:focus-visible { color: var(--noir); }
.t3-finder__ctas { margin-top: 0.25em; }
.t3-finder + .t3-h { margin-top: 2.2em; }

/* ---------- « Ta recherche » / « Ta demande » : une vraie barre de recherche, une vraie zone de chat ---------- */
.t3-search { display: grid; gap: 0.45em; margin-top: 1em; }
.t3-search__label {
  font-family: var(--font-body); font-weight: 700; font-size: 0.85em;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.t3-search__box {
  display: flex; align-items: center; gap: 0.75em;
  padding: 0.9em 1em;
  background: var(--blanc); color: var(--noir);
  border: 2px solid var(--noir);
  font-family: var(--font-body); font-size: 1.05em; line-height: 1.35;
}
.t3-search__box svg { flex: none; width: 1.25em; height: 1.25em; }
.t3-search__box output { display: block; flex: 1; min-width: 0; }
.t3-search--ai .t3-search__box { align-items: flex-end; }
.t3-search__send { padding: 0.25em; background: var(--noir); color: var(--blanc); width: 1.6em !important; height: 1.6em !important; }
.t3-finder__ctas { margin-top: 1em; }
.t3-finder + p { margin-top: 1.4em; }

/* ---------- Saisie dans le hero (fond feu), avant le TL;DR ---------- */
.t3-hero__fields {
  max-width: 640px;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--font-body);
  font-size: 1rem;
  grid-template-columns: 1fr 1fr;      /* deux champs de même taille */
  align-items: end;                    /* inputs alignés même si un libellé fait deux lignes */
}
.t3-hero__fields label { color: var(--noir); display: grid; align-content: end; gap: 0.4em; min-width: 0; }
.t3-hero__fields .t3-input { padding: 0.75rem 0.9rem; font-size: 1rem; }
.t3-hero__fields .t3-input:focus { outline-color: var(--noir); }
.t3-hero__go { grid-column: 1 / -1; margin-top: 0.25rem; }
@media (max-width: 560px) { .t3-hero__fields { grid-template-columns: 1fr; } }

/* ---------- Google | IA côte à côte (comparaison), puis « Ton résultat » ---------- */
.t3-compare {
  display: grid;
  grid-template-columns: 0.75fr 1fr;       /* la demande ChatGPT est plus longue : colonne plus large */
  grid-template-rows: auto auto auto;      /* titre | champ | bouton : alignés entre les colonnes */
  gap: 0 clamp(1.5rem, 3vw, 3.5rem);
  margin-top: 1em;
}
.t3-demo-section h3.t3-compare__h {        /* titres de la comparaison : phrase en fonte texte */
  font-family: var(--font-body);
  font-size: 1.2em;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.25;
}
.t3-compare__col {
  min-width: 0;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  row-gap: 1em;
}
.t3-compare .t3-finder { display: contents; }   /* ses enfants prennent les rangées de la grille */
.t3-compare h3 { margin-top: 0; }
.t3-compare .t3-search { margin-top: 0; align-content: start; }   /* chaque champ garde sa hauteur naturelle ; les boutons restent alignés en bas */
.t3-compare .t3-search__box { font-size: 0.95em; padding: 0.75em 0.85em; }
.t3-compare .t3-finder__ctas { margin-top: 0; align-self: end; }
@media (max-width: 640px) {
  .t3-compare { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 2em; }
  .t3-compare__col { grid-template-rows: none; grid-row: auto; }
}

/* « Les deux autres tests » : calé sur le bord gauche du contenu (même conteneur que le hero,
   le texte et le partage), pas sur la gouttière de l'écran. */
.t3-suite { padding-left: max(var(--gutter), calc((100% - var(--max-width)) / 2)); }

/* « Ta recherche » / « Ta demande » : cliquable, ramène aux champs du haut pour modifier. */
.t3-search__box[data-edit-fields] { cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; }
.t3-search__box[data-edit-fields]:hover,
.t3-search__box[data-edit-fields]:focus-visible { outline: none; }

/* ---------- Le test dans le hero : champs → boîtes Google / IA ---------- */
.t3-hero__test { max-width: var(--bl-col); margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.t3-hero__fields { margin-top: 0; }
.t3-hero__results { max-width: 820px; }
.t3-hero__results .t3-compare { margin-top: 0; }
.t3-compare__h {                            /* titres des deux boîtes (hero ou article) */
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.25;
  margin: 0;
}
.t3-hero__results .t3-search__box { border-color: var(--noir); }
.t3-hero__after {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  font-family: var(--font-body); font-size: 0.95rem;
}
/* (ancien .t3-again « Recommencer » de la v4 supprimé : les boutons de retour sont des .btn du site, voir plus bas) */
.t3-hero__result-link { color: var(--noir); font-weight: 700; text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 0.2em; }
.t3-hero__result-link:hover { color: var(--blanc); }
/* [hidden] doit gagner sur le display:grid des champs et des boîtes */
.t3-hero__test [hidden] { display: none !important; }
/* Apparition des boîtes */
.t3-hero__test.is-ready [data-step="results"]:not([hidden]) { animation: t3-fade 0.5s var(--ease-out-quart, ease) both; }

/* TL;DR déplacé en tête de l'article (fond rose) */
.bl-tldr--article { margin: 0 0 clamp(2rem, 4vw, 3rem); max-width: none; border: 0; padding: 0; }   /* dans l’article : ni cadre ni padding (Janine, 23 oct.) */

/* Option A : les boîtes suivent directement les champs */
.t3-hero__fields + .t3-hero__results { margin-top: clamp(1.25rem, 2.5vw, 2rem); }

/* ---------- Hero, option A affinée (Janine, 23 oct.) ----------
   Mêmes colonnes pour les champs et les deux boîtes (alignement strict). Les boîtes
   gardent le cadre noir, sans fond blanc ; le bouton noir est glissé dans la boîte,
   flèche seule, le libellé (Google / ChatGPT) apparaît au survol ou au focus. */
.t3-hero__test { max-width: 820px; }
.t3-hero__fields,
.t3-hero__results .t3-compare {
  grid-template-columns: 0.8fr 1fr;
  column-gap: clamp(1rem, 2vw, 1.5rem);
  max-width: none;
}
.t3-hero__results { max-width: none; }
.t3-hero__results .t3-compare { grid-template-rows: none; row-gap: 0; align-items: start; }   /* chaque boîte garde sa hauteur */
.t3-hero__results .t3-finder { display: flex; min-width: 0; margin-top: 0; }   /* la boîte prend toute la hauteur de la rangée */
/* Le cadre est sur le <p> ; la boîte intérieure n'a ni fond ni bordure (réglages Janine) */
.t3-hero__results .t3-search {
  display: flex;
  flex: 1;
  margin: 0;
  border: 2px solid var(--noir);
  padding: 0 0 0 0.5em;
  position: relative;
}
.t3-hero__results .t3-search--ai { border-color: var(--noir); }
.t3-hero__results .t3-search__box {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 0 3.2em 0 0;                 /* place réservée au bouton replié, à droite */
  gap: 0.7em;
  align-items: flex-start;
  font-weight: 400;                    /* texte léger : le gras était trop lourd */
  color: var(--noir);
  cursor: pointer;
  text-decoration: none;
}
.t3-hero__results .t3-search__box[data-edit-fields]:hover,
.t3-hero__results .t3-search__box[data-edit-fields]:focus-visible { box-shadow: none; text-decoration: none; border: 0; outline: none; }
.t3-hero__results .t3-search__icon { flex: none; width: 1.2em; height: 1.2em; margin-top: 0.8em; }
.t3-hero__results output { padding: 0.75em 0; }
/* Le bouton glissé dans la boîte : en absolu, il se déplie PAR-DESSUS le texte sans le compresser */
.t3-search__go {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0 0.9em;
  background: var(--noir);
  color: var(--blanc);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.25s, color 0.25s;
}
.t3-search__go svg { flex: none; width: 1.1em; height: 1.1em; fill: currentColor; transition: transform 0.4s var(--ease-out-expo, ease); }
.t3-search__go-label {
  display: block;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 0.45s var(--ease-out-expo, ease), margin 0.45s var(--ease-out-expo, ease), opacity 0.3s;
}
/* Le survol de TOUTE la boîte déplie le bouton (pas seulement le survol du bouton) */
.t3-search:hover .t3-search__go,
.t3-search__go:focus-visible { background: var(--noir); color: var(--blanc); outline: none; }
.t3-search:hover .t3-search__go-label,
.t3-search__go:focus-visible .t3-search__go-label { max-width: 8em; margin-right: 0.6em; opacity: 1; }
.t3-search:hover .t3-search__go svg { transform: translateX(0.15em); }
@media (max-width: 560px) { .t3-hero__results .t3-compare { grid-template-columns: 1fr; row-gap: 0.75em; } }
/* Option A : les boîtes suivent directement les champs */
.t3-hero__fields + .t3-hero__results { margin-top: clamp(1.25rem, 2.5vw, 2rem); }


.t3-hero__after-note { font-size: inherit; color: var(--noir); }   /* même taille et même noir que les libellés */
.t3-hero__after { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.t3-hero__after .btn--inline { --btn-text: var(--noir); }

/* ---------- Le test en 3 étapes (Janine, 23 oct.) : 1 entrer, 2 vérifier, 3 comprendre.
   Les étapes 2 et 3 n'apparaissent qu'une fois un champ rempli (glissement). ---------- */
.t3-step {
  display: flex; align-items: center; gap: 0.6em;
  margin: 0 0 0.9rem;
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.125rem);          /* titres d'étape : 18 px max, comme les libellés */
  text-transform: uppercase; letter-spacing: 0.05em;
}
.t3-step__n {
  flex: none; width: 1.7em; height: 1.7em;
  display: grid; place-items: center;
  background: var(--noir); color: var(--rose);
  font-family: var(--font-title); font-size: 0.95em;
}
.t3-hero__results .t3-step { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.t3-step--3 { margin-top: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 0.6rem; }
.t3-hero__fields + .t3-hero__results { margin-top: 0; }
/* Masqué tant que rien n'est tapé (JS prêt), puis glisse en place */
.t3-hero__test.is-ready:not(.is-filled) .t3-hero__results,
.t3-hero__test.is-ready:not(.is-filled) .t3-step--3,
.t3-hero__test.is-ready:not(.is-filled) .t3-flow,
.t3-hero__test.is-ready:not(.is-filled) .t3-hero__after { display: none; }
.t3-hero__test.is-filled .t3-hero__results,
.t3-hero__test.is-filled .t3-step--3,
.t3-hero__test.is-filled .t3-flow,
.t3-hero__test.is-filled .t3-hero__after { animation: t3-slide 0.55s var(--ease-out-expo, ease) both; }
@keyframes t3-slide { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .t3-hero__test.is-filled .t3-hero__results, .t3-hero__test.is-filled .t3-step--3, .t3-hero__test.is-filled .t3-flow, .t3-hero__test.is-filled .t3-hero__after { animation: none; } }

/* Libellés des champs : plus légers que les titres d'étape (hiérarchie) */
.t3-hero__fields label { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 0.95rem; }
/* Même texte courant partout sous les étapes : libellés, contenu des boîtes, phrase de l'étape 3 */
.t3-hero__fields label, .t3-hero__after, .t3-hero__fields .t3-input, .t3-hero__tips { font-size: clamp(1rem, 2vw, 1.125rem); line-height: 1.35; letter-spacing: 0; }
.t3-search__box, .t3-compare .t3-search__box { font-size: clamp(0.95rem, 1.2vw, 1.05rem); line-height: 1.35; letter-spacing: 0; }   /* texte des boîtes Google / ChatGPT : même taille que le TL;DR (16.8 px max) */
/* Étape 3 : le titre EST le bouton (centré sur le carré 3), la phrase juste dessous, même espace que sous 1 et 2 */
.t3-step--3 { margin-bottom: 0.9rem; }
.t3-hero__after { margin-top: 0; padding-left: 0; }

/* ---------- « Ton cas » : trois écrans enchaînés au même endroit (question Google → question ChatGPT → résultat).
   Cadre 2 px, numéro + libellé à cheval sur le bord (comme le TL;DR). Sans JS : tout est visible à la suite. ---------- */
.t3-flow { margin-top: 0.5em; }
.t3-quiz__q { border: 0; padding: 0; margin: 0 0 1.4em; min-width: 0; }
.t3-quiz__legend {
  float: left; width: 100%;                      /* float : la légende redevient un enfant normal (mode sans JS) */
  display: flex; align-items: center; gap: 0.6em; margin: 0 0 0.4em; padding: 0;
  font-weight: 700; font-size: 1.1em; line-height: 1.2;
}
.t3-quiz__legend .t3-step__n { width: 1.5em; height: 1.5em; font-size: 0.85em; }
.t3-quiz__help { clear: both; margin: 0.4em 0 0.9em; font-size: 0.9em; color: rgba(10, 10, 10, 0.75); }
.t3-quiz__opts { display: flex; flex-direction: column; gap: 0.5em; }
/* Boutons radio carrés (jamais d'arrondi), en liste */
.t3-radio { position: relative; display: flex; align-items: center; cursor: pointer; }
.t3-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.t3-radio span { display: flex; align-items: center; gap: 0.6em; line-height: 1.3; }
.t3-radio span::before {
  content: ''; flex: none; width: 1em; height: 1em; box-sizing: border-box;
  border: 2px solid var(--noir); background: transparent;
  transition: background 0.15s, box-shadow 0.15s;
}
.t3-radio:hover span::before { background: rgba(10, 10, 10, 0.12); }
.t3-radio input:checked + span::before { background: var(--noir); box-shadow: inset 0 0 0 3px var(--rose); }
.t3-radio input:checked + span { font-weight: 700; }
.t3-radio input:focus-visible + span::before { outline: 2px solid var(--noir); outline-offset: 2px; }
.t3-quiz__nav { margin: 1em 0 0; }
.t3-quiz__back {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: 0.9em; color: var(--noir);
  text-decoration: underline; text-decoration-color: var(--feu); text-underline-offset: 0.15em;
}
.t3-quiz__back:hover { color: var(--feu); }
.t3-quiz__recap { margin: 0 0 1em; font-size: 0.9em; color: rgba(10, 10, 10, 0.75); }
.t3-quiz__recap strong { color: var(--noir); }
.t3-quiz__nav, .t3-quiz__recap { display: none; }                 /* n'existent qu'avec JS */
/* Avec JS : un seul écran à la fois, cadre 2 px, étiquette à cheval sur le bord, glissement */
.t3-flow.is-quiz [data-screen] { display: none; }
.t3-flow.is-quiz [data-screen].is-screen {
  display: block; position: relative; margin: 1.4em 0 0; padding: 1.4em 1.5em 1.5em;
  border: 0; background: var(--rose); animation: t3-slide 0.45s var(--ease-out-expo, ease) both;
}
.t3-flow.is-quiz .t3-quiz__legend { float: left; width: 100%; margin: 0 0 0.7em; padding: 0; background: none; }   /* float : une <legend> redevient un enfant normal, à l'intérieur du cadre */
.t3-flow.is-quiz .t3-quiz__legend + * { clear: both; }
.t3-flow.is-quiz .t3-quiz__help { margin-top: 0; }
.t3-flow.is-quiz .t3-quiz__nav, .t3-flow.is-quiz .t3-quiz__recap { display: block; }
.t3-flow.is-quiz .t3-quiz__recap[hidden] { display: none; }
.t3-flow.is-quiz .t3-case, .t3-flow.is-quiz .t3-quiz__ai { display: none; }
.t3-flow.is-quiz .t3-case.is-on { display: block; }
.t3-flow.is-quiz .t3-quiz__ai.is-on { display: grid; }
.t3-flow:not(.is-quiz) .t3-cases { margin-top: 1.5em; }
.t3-flow:not(.is-quiz) .t3-case + .t3-case { margin-top: 1.6em; padding-top: 1.4em; border-top: 1px solid var(--noir); }
.t3-flow:not(.is-quiz) .t3-quiz__ai { display: none; }
/* Écran résultat : titre du cas en grand, puis rangées « → étiquette | texte », un filet seulement avant ChatGPT */
.t3-case h4 { margin: 0.5em 0 0.6em; font-family: var(--font-title); font-size: 1.5em; font-weight: 700; line-height: 1.05; text-transform: uppercase; letter-spacing: 0; }
.t3-flow .t3-case__rows { list-style: none; padding: 0; margin: 0; }
.t3-flow .t3-case__rows li, .t3-quiz__ai {
  display: grid; grid-template-columns: 12em 1fr; gap: 0 1em; align-items: start;
  padding: 0.45em 0; margin: 0;
}
.t3-case__rows strong, .t3-quiz__ai strong {
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.3;
  letter-spacing: 0.01em; color: var(--noir);
}
.t3-case__rows strong::before { content: '→'; color: var(--feu); margin-right: 0.5em; }
.t3-quiz__ai { margin-top: 0.6em; padding-top: 0.9em; border-top: 1px solid rgba(10, 10, 10, 0.3); }
.t3-quiz__ai span { display: block; }
.t3-quiz__recap { margin: 0 0 0.7em; font-size: 0.9em; color: var(--noir); }
.t3-flow.is-quiz .t3-quiz__nav { margin: 1.4em 0 0; padding: 0; }   /* pied du cadre : boutons pleins du site, pas de filet */
/* Boutons de retour : composant .btn--inline du site, flèche ronde qui tourne au survol (reprise de la v4) */
.t3-flow .t3-again { --btn-text: var(--noir); gap: 0.6em; padding: 0; text-decoration: none; font-family: var(--font-title); font-weight: 700; font-size: clamp(0.8rem, 1vw, 0.95rem); line-height: 1.04; letter-spacing: 0.05em; }   /* retour = bouton inline du site, flèche ronde */
.t3-flow .t3-again:hover { color: var(--feu); }
.t3-flow .t3-again .btn__arr { display: none; }   /* le script du site injecte les flèches : ici, seule la flèche ronde */
.t3-flow .t3-again .btn__text, .t3-flow .t3-again:hover .btn__text { transform: none; }
.t3-flow .t3-again .t3-again__ic { position: relative; z-index: 1; width: 1.1em; height: 1.1em; flex: none; transition: transform 0.5s var(--ease-out-expo, ease); }
.t3-flow .t3-again:hover .t3-again__ic { transform: rotate(-180deg); }
@media (max-width: 600px) {
  .t3-flow .t3-case__rows li, .t3-quiz__ai { grid-template-columns: 1fr; gap: 0.2em 0; }
}
.bl-steps { scroll-margin-top: 6rem; }
.t3-key--after { margin-top: 1.5em; }   /* « À retenir » sous le cadre du résultat, puis le TL;DR */
.t3-key--after + .bl-tldr { margin-top: 1.5em; }

/* ---------- Le mini-parcours vit dans le hero (feu) : fond de l'étiquette, liens, cases ---------- */
.bl-hero .t3-flow { margin-top: 0; max-width: 820px; }
.bl-hero .t3-flow a:not(.btn):not(.t3-search__go) { color: var(--noir); text-decoration: underline; text-underline-offset: 0.15em; }
.bl-hero .t3-flow a:not(.btn):not(.t3-search__go):hover { color: var(--feu); }
.bl-hero .t3-quiz__ai { border-top-color: rgba(10, 10, 10, 0.35); }
.bl-hero .t3-step--3 { margin-bottom: 0.9rem; }
.bl-hero .t3-case__rows strong::before { color: var(--noir); }   /* sur fond feu, la flèche feu disparaissait */

/* ---------- Le test en un seul cadre, un écran à la fois (23 oct., soir) ---------- */
.t3-screen { border: 0; padding: 0; margin: 0; }
.t3-flow:not(.is-quiz) .t3-screen + .t3-screen, .t3-flow:not(.is-quiz) .t3-quiz { margin-top: 2em; }
.t3-screen .t3-hero__fields { margin-top: 0.4em; }
.t3-screen .t3-finder { max-width: none; margin-top: 0.4em; }
.t3-screen .t3-search { margin: 0; }
.t3-screen__hint { margin: 0.8em 0 0; font-size: 0.95em; font-weight: 700; }
.t3-screen__hint[hidden] { display: none; }
/* Consignes de l'étape : liste numérotée compacte */
.t3-todo { margin: 0.6em 0 0; padding-left: 1.4em; line-height: 1.3; }
.t3-todo li + li { margin-top: 0.9em; }
.t3-todo .t3-finder { margin: 0.5em 0 0; }
.t3-todo .t3-search { margin-top: 0; }
/* L'élément juste avant le pied de cadre garde le même retrait que les côtés */
/* « Fais le test ici » : titre d'appel avant le cadre, pas de retrait supplémentaire */
.t3-hero__go { margin-top: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: 0; font-family: var(--font-title); text-transform: uppercase; letter-spacing: 0; font-size: 1.35em; line-height: 1.05; }
.t3-hero__go + .t3-hero__test { margin-top: 0.6rem; }
.t3-screen .t3-quiz__help { margin: 0.2em 0 0.9em; font-size: inherit; color: var(--noir); }
.t3-todo a { color: var(--noir); text-decoration: underline; text-underline-offset: 0.15em; }
.t3-todo a:hover { color: var(--blanc); }
/* Pied du cadre : retour à gauche, suivant à droite */
.t3-flow.is-quiz .t3-quiz__nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.8em 1.5em; }
.t3-flow.is-quiz .t3-quiz__nav--end { justify-content: flex-end; }
/* Question du questionnaire (la légende dit « 4 Ton résultat ») */
.t3-quiz__question { margin: 0.2em 0 0.7em; font-weight: 700; font-size: 1.1em; }
/* Boîte Google = copier ; feedback « Copié ! » */
.t3-search--copy { cursor: copy; }
button.t3-search__go { border: 0; font: inherit; cursor: pointer; }
.t3-search--copy.is-copied .t3-search__go { background: var(--noir); color: var(--blanc); }
.t3-search--copy.is-copied .t3-search__go-label { max-width: 10em; margin-right: 0.6em; opacity: 1; }
/* Note « avis d'un pro » sous le résultat */
.t3-result__pro { display: flex; gap: 0.6em; align-items: flex-start; margin: 1.2em 0 0; font-size: 0.95em; line-height: 1.3; }
.t3-result__pro-ic { flex: none; width: 1.2em; height: 1.2em; margin-top: 0.1em; }
.t3-result__pro a { color: var(--noir); text-decoration: underline; text-underline-offset: 0.15em; }
.t3-result__pro a:hover { color: var(--blanc); }
/* Interlignage des textes du résultat et des réponses */
.t3-case__rows li span, .t3-quiz__ai span, .t3-radio span { line-height: 1.3; }

/* ---------- Typo unifiée dans le cadre du test : tout à la taille du texte courant (18 px max), interlignage 1.3.
   Seule exception : le texte des boîtes à copier (taille du TL;DR). ---------- */
.t3-flow { font-size: clamp(1rem, 2vw, 1.125rem); line-height: 1.3; }
.t3-flow .t3-quiz__legend, .t3-flow .t3-quiz__help, .t3-flow .t3-todo, .t3-flow .t3-radio span,
.t3-flow .t3-case__rows strong, .t3-flow .t3-quiz__ai strong, .t3-flow .t3-case__rows li span, .t3-flow .t3-quiz__ai span,
.t3-flow .t3-result__pro, .t3-flow .t3-screen__hint, .t3-flow .t3-hero__fields label, .t3-flow .t3-hero__fields .t3-input { font-size: 1em; line-height: 1.3; }
.t3-flow .t3-quiz__legend { font-size: 1.15em; }
.t3-flow .t3-quiz__legend .t3-step__n { font-size: 0.85em; }
.t3-flow .t3-hero__fields label { font-weight: 700; }
.t3-flow .t3-radio span { align-items: flex-start; }
.t3-flow .t3-radio span::before { margin-top: 0.2em; }
.t3-flow .t3-result__pro { font-size: 1rem; }
.t3-flow .t3-case h4 { font-size: 1.5em; line-height: 1.05; }
.t3-flow .t3-quiz__nav { font-size: 1rem; }   /* les boutons gardent la taille du .btn du site */
.t3-flow .t3-search__box, .t3-flow .t3-compare .t3-search__box { font-size: clamp(0.95rem, 1.2vw, 1.05rem); }
.t3-flow .t3-hero__fields .t3-input, .t3-flow input.t3-input { font-size: 1em !important; line-height: 1.3; }
.t3-flow .t3-hero__fields { font-size: 1em; }   /* le bloc des champs fixait sa propre taille (16 px) */
.bl-hero .t3-flow .t3-search__go, .bl-hero .t3-flow .t3-search__go:hover, .bl-hero .t3-flow .t3-search__go:focus-visible { color: var(--blanc); }   /* bouton de boîte : texte et icône blancs sur noir */
/* Pied de cadre : libellés des deux boutons sur la même ligne ; bouton de boîte sans soulignement ; « Refaire le test » plein */
.t3-flow .t3-quiz__nav .btn--inline { align-self: center; }
.bl-hero .t3-flow .t3-search__go, .bl-hero .t3-flow .t3-search__go:hover, .bl-hero .t3-flow .t3-search__go:focus-visible { text-decoration: none; }
.t3-flow .t3-restart { gap: 0.6em; }
.t3-flow .t3-restart .btn__arr { display: none; }
.t3-flow .t3-restart .btn__text, .t3-flow .t3-restart:hover .btn__text { transform: none; }
.t3-flow .t3-restart .t3-again__ic { position: relative; z-index: 1; width: 1.1em; height: 1.1em; flex: none; transition: transform 0.5s var(--ease-out-expo, ease); }
.t3-flow .t3-restart:hover .t3-again__ic { transform: rotate(-180deg); }

/* ============================================================
   MÊME BASE POUR LES TROIS TESTS (23 oct. 2026) : les tests 2 et 3
   reprennent le cadre du test 1 (.t3-flow dans le hero). Ici, seulement
   ce que leurs blocs propres (capture + 5 s, logo échangé) ont besoin
   d'ajuster pour vivre dans le cadre, sur fond feu.
   ============================================================ */
/* [hidden] doit gagner sur les display:flex/grid des blocs du cadre */
.t3-flow [hidden] { display: none !important; }
.t3-flow { scroll-margin-top: 5.5rem; }   /* quand le parcours ramène le cadre à la vue : de l'air sous l'en-tête */
.t3-flow textarea.t3-input { font-size: 1em; line-height: 1.3; min-height: 3.6em; }
.t3-flow .t3-demo__controls { margin-top: 0.9em; }

/* ---------- Test 2 : charge ta page (capture) + les 5 secondes dans le cadre ---------- */
.t3-flow .t3-capture { margin-top: 0.2em; gap: 0.6em; }
.t3-flow .t3-capture__row { align-items: stretch; }
.t3-flow .t3-capture__row .t3-input { flex: 1 1 240px; font-size: 1em; }
.t3-flow .t3-capture__row .btn { flex: none; align-self: center; }
.t3-flow .t3-capture__status { font-size: 1em; min-height: 0; }
.t3-flow .t3-capture__status:empty { display: none; }
.t3-flow .t3-capture.is-busy .t3-capture__go { opacity: 0.5; pointer-events: none; }
.t3-flow .t3-capture.is-busy .t3-capture__status::after { border-color: var(--noir); border-right-color: transparent; }
.t3-flow .t3-capture__status.is-error { color: var(--noir); text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 0.15em; }
.t3-flow .t3-screen__hint:not([data-hint]) { font-weight: 400; margin-top: 0.6em; }
.t3-flow .t3-demo { margin-top: 1.1em; }
.t3-flow .t3-site { border-radius: 0; border-color: var(--noir); box-shadow: none; }   /* jamais d'arrondi sur FOC */
.t3-flow .t3-after { margin-top: 1.1em; }
.t3-flow .t3-after__q { font-size: 1.5em; line-height: 1.05; }

/* ---------- Test 3 : ta phrase sous un logo qu'on échange, puis le jeu ---------- */
.t3-flow .t3-todo .t3-card { margin: 0.6em 0 0; gap: 0.8em; border: 2px solid var(--noir); background: rgba(255, 255, 255, 0.55); }
.t3-flow .t3-card q { font-size: 1.05em; }
.t3-flow .t3-card.is-example q { opacity: 0.55; }         /* tant qu'elle n'a rien collé : l'exemple, en retrait */
.t3-flow .t3-card--own.is-swapped { border-color: var(--noir); }
.t3-flow .t3-todo .t3-demo__controls { margin-top: 0.7em; }
.t3-flow .t3-send__status { font-size: 1em; margin: 0.6em 0 0; min-height: 0; }
.t3-flow .t3-send__status:empty { display: none; }
.t3-flow .t3-send__status.is-error { color: var(--noir); text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 0.15em; }
.t3-flow .t3-send__after { margin: 0.6em 0 0; }
.t3-flow .t3-send__after a { color: var(--noir); font-weight: 700; text-decoration: underline; text-underline-offset: 0.15em; }
.t3-flow .t3-send__after a:hover { color: var(--blanc); }
.t3-logo.is-sent .t3-send, .t3-logo.is-sent .t3-game__pitch { display: none; }
.t3-logo.is-sent .t3-demo__controls { display: none; }

/* Les trois cartes d'exemple vivent maintenant dans l'article (fond rose) */
.bl-prose .t3-phrases { margin-top: 1em; }
.bl-prose .t3-phrases + p { margin-top: 1.4em; }

/* ---------- Test 2, écran 2 (relecture Janine, 23 oct.) : le carré des secondes à cheval sur le coin
   de la boîte (hors de la boîte, comme un numéro d'étape) ; la question et « Revoir » dans la boîte noire. ---------- */
.t3-stage { position: relative; }
.t3-flow .t3-stage { margin-top: 1.4em; }                      /* de l'air pour le carré qui dépasse en haut */
.t3-stage .t3-site__timer {
  top: -0.55em; right: -0.55em;                                /* à cheval sur le coin */
  min-width: 0; width: 1.9em; height: 1.9em; padding: 0;
  display: grid; place-items: center;
  background: var(--noir); color: var(--rose);                 /* comme les numéros d'étape (feu sur feu serait invisible) */
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  z-index: 2;
}
.t3-site__veil {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.1em; padding: 1.5em; text-align: center;
  visibility: hidden;                                          /* ni cliquable ni lu par le lecteur d'écran tant que l'écran n'est pas vidé */
  transition: opacity 0.6s var(--ease-out-quart, ease), visibility 0s 0.6s;
}
.t3-demo.is-blank .t3-site__veil { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.t3-site__veil .t3-after { margin-top: 0; }
.t3-flow .t3-site__veil .t3-after { margin-top: 0; }
.t3-site__veil .t3-after__q { color: var(--blanc); font-size: clamp(1.25rem, 2.4vw, 1.9rem); margin: 0; }
.t3-flow .t3-site__veil .t3-after__q { font-size: clamp(1.25rem, 2.4vw, 1.9rem); }
.t3-site__veil .t3-demo__controls { margin: 0.9em 0 0; justify-content: center; }
.t3-flow .t3-site__veil .t3-demo__controls { margin-top: 0.9em; }
.t3-flow .t3-site__veil .t3-again { --btn-text: var(--rose); color: var(--rose); }
.t3-flow .t3-site__veil .t3-again:hover { color: var(--blanc); }
/* Sans JS : la boîte noire s'affiche sous la maquette, en statique, avec la question */
.t3-demo:not(.is-ready) .t3-site__veil { position: static; opacity: 1; visibility: visible; margin-top: 1em; }
.t3-demo:not(.is-ready) .t3-site__alors { opacity: 1; transform: none; }

/* ---------- Test 3 : lecture automatique de la page (adresse → phrase + logo) ---------- */
.t3-flow:not(.is-quiz) [data-screen="adresse"] { display: none; }     /* sans JS, l'écran adresse ne sert à rien */
.t3-flow .t3-lecture.is-busy .t3-lecture__go { opacity: 0.5; pointer-events: none; }
.t3-flow .t3-lecture.is-busy .t3-capture__status::after {
  content: ''; display: inline-block; width: 0.8em; height: 0.8em; margin-left: 0.5em; vertical-align: -0.1em;
  border: 2px solid var(--noir); border-right-color: transparent; animation: t3-spin 0.8s linear infinite;
}
.t3-flow .t3-capture__status a { color: var(--noir); text-decoration: underline; text-underline-offset: 0.15em; }
.t3-flow [data-lecture-note] { font-weight: 700; }
/* Son vrai logo dans la carte : sur fond blanc (un logo sombre sur le noir disparaîtrait) */
.t3-card__logo.has-img { background: #fff; padding: 0.45em 0.7em; }
.t3-card__logo img { display: block; height: 2.4em; width: auto; max-width: 12em; object-fit: contain; }
.t3-card__logo img[hidden], .t3-card__logo [hidden] { display: none !important; }

/* Lecture ratée : texte ET cadre du champ en feu, sinon on ne voit pas l'erreur (Janine, 23 oct.) */
.t3-flow .t3-lecture .t3-capture__status.is-error { color: var(--feu); text-decoration: none; }
.t3-flow .t3-lecture .t3-capture__status.is-error a { color: var(--feu); text-decoration: underline; text-underline-offset: 0.15em; }
.t3-flow .t3-lecture.is-error .t3-input { border-color: var(--feu); box-shadow: inset 0 0 0 1px var(--feu); }
/* Étape 2 : le logo lu, à valider avec la phrase */
.t3-flow .t3-lecture__logo { display: flex; align-items: center; gap: 0.8em; margin: 0.9em 0 0; font-weight: 700; }
.t3-flow .t3-lecture__logo img { display: block; height: 2.6em; width: auto; max-width: 12em; object-fit: contain; background: #fff; padding: 0.35em 0.6em; border: 2px solid var(--noir); }

/* Étape 2 : changer le logo lu (un autre trouvé sur la page, une image de son ordinateur, aucun) */
.t3-flow .t3-lecture__logo { flex-wrap: wrap; row-gap: 0.5em; }
.t3-flow .t3-lecture__logo img[hidden] { display: none; }
.t3-flow .t3-lecture__logo-actions { display: flex; flex-wrap: wrap; gap: 0.3em 1.1em; font-weight: 400; font-size: 0.95em; }
.t3-flow .t3-lecture__alt {
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
  font: inherit; color: var(--noir); text-decoration: underline; text-underline-offset: 0.15em; text-decoration-color: var(--feu);
}
.t3-flow .t3-lecture__alt:hover { color: var(--feu); }
.t3-flow .t3-lecture__alt[hidden] { display: none; }
.t3-flow .t3-lecture__alt:has(input:focus-visible) { outline: 2px solid var(--noir); outline-offset: 2px; }

/* ---------- Cartes d'exemple (relecture Janine, 23 oct.) : plus de bleu « corporate », pas FOC.
   La boîte en NOIR, le logo supposé en ROSE ; la phrase reste en serif (le ton « site de partout »). ---------- */
.t3-phrases .t3-card { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.t3-phrases .t3-card q { color: var(--blanc); }
.t3-phrases .t3-card__logo { background: var(--rose); color: var(--noir); }
.t3-phrases .t3-card[role="button"]:hover,
.t3-phrases .t3-card[role="button"]:focus-visible { background: var(--noir); border-color: var(--rose); }
/* Ta carte (dans le cadre du test) : fond clair, « Ton logo » noir, « Concurrent SA » rose */
.t3-card--own q { color: var(--noir); }
.t3-card--own.is-swapped .t3-card__logo { background: var(--rose); color: var(--noir); }

/* ---------- Relecture Janine (23 oct., nuit) : ta carte en blanc franc, « Concurrent SA » en feu,
   le choix du logo en cases à cocher (vignettes), sans contour ni lien souligné. ---------- */
.t3-flow .t3-todo .t3-card--own, .t3-card--own { background: #fff; }
.t3-card--own.is-swapped .t3-card__logo { background: var(--feu); color: var(--noir); }
.t3-flow .t3-lecture__logo { display: block; margin-top: 1.1em; }
.t3-flow .t3-lecture__logo-label { margin: 0 0 0.5em; font-weight: 700; }
.t3-flow .t3-logo-pick { display: flex; flex-wrap: wrap; gap: 0.6em; margin: 0 0 0.6em; }
.t3-flow .t3-logo-pick:empty { display: none; }
.t3-logo-pick__item { position: relative; display: block; cursor: pointer; background: #fff; padding: 0.45em 0.7em; border: 2px solid transparent; transition: border-color 0.15s; }
.t3-logo-pick__item input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.t3-logo-pick__item img { display: block; height: 2.6em; width: auto; max-width: 12em; object-fit: contain; }
.t3-logo-pick__item.is-on { border-color: var(--noir); box-shadow: inset 0 0 0 3px var(--rose); }
.t3-logo-pick__item:hover { border-color: rgba(10, 10, 10, 0.4); }
.t3-logo-pick__item:has(input:focus-visible) { outline: 2px solid var(--noir); outline-offset: 2px; }
.t3-flow .t3-logo-opts { gap: 0.4em; }

/* ---------- Cartes d'exemple (Janine, 26 oct.) : même hauteur, on voit qu'on peut cliquer, survol qui ressort sur le noir ---------- */
.t3-phrases { align-items: stretch; }
.t3-phrases .t3-card { height: 100%; min-height: 11em; box-sizing: border-box; border-width: 2px; transition: border-color 0.2s; }
.t3-phrases .t3-card q { flex: 1; }
.t3-card__swap {
  display: inline-flex; align-items: center; gap: 0.5em; margin-top: auto;
  font-family: var(--font-title); font-weight: 700; font-size: 0.8rem; line-height: 1.04;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--rose);
}
.t3-card__swap .t3-again__ic { width: 1.1em; height: 1.1em; flex: none; transition: transform 0.5s var(--ease-out-expo, ease); }
.t3-phrases .t3-card[role="button"]:hover,
.t3-phrases .t3-card[role="button"]:focus-visible { border-color: var(--rose); }   /* pas de soulèvement : les trois restent alignées */
.t3-phrases .t3-card[role="button"]:hover .t3-card__swap .t3-again__ic,
.t3-phrases .t3-card[role="button"]:focus-visible .t3-card__swap .t3-again__ic { transform: rotate(-180deg); }
.t3-phrases .t3-card[role="button"]:hover .t3-card__logo { box-shadow: 0 0 0 3px var(--noir), 0 0 0 5px var(--rose); }
@media (prefers-reduced-motion: reduce) { .t3-phrases .t3-card, .t3-card__swap .t3-again__ic { transition: none; } }
/* Les cartes sont des <li> : la règle de l'article « li + li { margin-top } » décalait les 2e et 3e de 7 px */
.bl-prose__inner .t3-phrases li, .bl-prose__inner .t3-phrases li + li { margin: 0; }

/* ---------- Mobile (Janine, 26 oct.) : les deux champs du test 1 l'un sous l'autre ---------- */
@media (max-width: 560px) {
  .t3-hero__fields, .t3-flow .t3-hero__fields, .t3-hero__results .t3-compare { grid-template-columns: 1fr; row-gap: 0.75em; }
}
/* ---------- Test 3 : « C'est fait, suivant » grisé tant que le logo n'a pas été échangé au moins une fois ---------- */
.t3-flow .btn[disabled] { opacity: 0.35; pointer-events: none; cursor: default; }
