/* ---- feuille de la page /diagnostic-ia ---- */
.hero-diag { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
  .hero-diag .hero-grille { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2.5rem; }
  .hero-diag h1 { max-width: none; }
  .diag { max-width: 820px; margin: 0 auto; }
  .diag-carte { background: var(--fond-carte); border: 1px solid var(--bord); border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 3rem); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); color: var(--encre); }
  .diag-carte h2 { color: var(--encre-titre); }
  .diag-progres { height: 4px; border-radius: 4px; background: var(--bord); overflow: hidden; }
  .diag-progres span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .35s ease; }
  .diag-tete { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 1.25rem 0 0; color: var(--texte-2); font-size: 0.95rem; }
  .diag-retour { background: none; border: 0; padding: 0; color: var(--texte-2); cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
  .diag-retour[hidden] { display: none; }
  .diag h2 { margin: 1rem 0 0; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); line-height: 1.15; letter-spacing: -0.02em; }
  .diag-aide { margin: 0.6rem 0 0; color: var(--texte-2); }
  .diag-options { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
  .diag-options button { width: 100%; text-align: left; font: inherit; font-size: 1.02rem; color: var(--encre);
    background: var(--fond); border: 1px solid var(--bord); border-radius: 14px; padding: 1rem 1.2rem; cursor: pointer;
    transition: border-color .2s, background .2s, transform .2s; }
  .diag-options button:hover, .diag-options button:focus-visible { border-color: var(--accent-fonce); background: #FFFFFF; outline: none; }
  .diag-options button[aria-pressed="true"] { border-color: var(--accent-fonce); box-shadow: 0 0 0 2px var(--accent-fonce) inset; }
  .diag-etape { animation: diag-entree .35s ease both; }
  @keyframes diag-entree { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
  .res-haut { display: grid; gap: 1.5rem; align-items: end; }
  .res-marche { margin: 0.5rem 0 0; font-family: var(--font-titre); font-weight: 600; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; }
  .res-tagline { margin: 0.5rem 0 0; color: var(--texte-2); }
  .res-score strong { display: block; font-family: var(--font-titre); font-weight: 600; font-size: clamp(2.6rem, 2rem + 2.4vw, 3.6rem); line-height: 1; color: var(--accent-fonce); font-variant-numeric: tabular-nums; }
  .res-score span { color: var(--texte-2); font-size: 0.95rem; }
  .res-echelle { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.4rem; }
  .res-echelle li { border-top: 4px solid var(--bord); padding-top: 0.55rem; font-size: 0.85rem; color: var(--texte-2); line-height: 1.3; }
  .res-echelle li.passee { border-top-color: rgba(var(--accent-rgb), 0.45); }
  .res-echelle li.actuelle { border-top-color: var(--accent-fonce); color: var(--encre-titre); font-weight: 600; }
  .res-recos { margin: 2.25rem 0 0; }
  .res-recos h3, .res-envoi h3 { margin: 0; font-size: 1.2rem; }
  .res-recos ol { margin: 1rem 0 0; padding: 0; list-style: none; counter-reset: r; }
  .res-recos li { counter-increment: r; display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.75rem; padding: 0.9rem 0; border-top: 1px solid var(--bord); line-height: 1.55; }
  .res-recos li::before { content: counter(r); width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--encre-titre); color: #FFFFFF; font-size: 0.85rem; font-weight: 600; }
  .res-envoi { margin: 2.5rem 0 0; padding: 1.75rem 0 0; border-top: 2px solid var(--encre-titre); }
  .res-envoi > p { margin: 0.6rem 0 0; color: var(--texte-2); max-width: 60ch; }
  .res-champs { display: grid; gap: 1rem; margin: 1.5rem 0 0; }
  .res-champs label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.35rem; }
  .res-champs input, .res-champs textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 0.8rem 0.95rem; border: 1px solid var(--bord); border-radius: 12px; background: #FFFFFF; color: var(--encre); }
  .res-champs input:focus, .res-champs textarea:focus { outline: 2px solid var(--accent-fonce); outline-offset: 1px; }
  .res-champs textarea { min-height: 90px; resize: vertical; }
  .res-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .res-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 1.5rem 0 0; }
  .res-actions .bouton-contour { color: var(--encre-titre); border-color: var(--bord); }
  .res-retour { margin: 1rem 0 0; min-height: 1.5em; }
  .res-retour.ok { color: #1F7A4D; } .res-retour.ko { color: #B42318; }
  .res-refaire { margin: 1.75rem 0 0; background: none; border: 0; padding: 0; font: inherit; color: var(--texte-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
  .seo-diag { display: grid; gap: 1.5rem; }
  .seo-texte p { max-width: 70ch; font-size: 1.05rem; line-height: 1.7; margin: 0 0 1rem; }
  .parcours-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .seo-lien { margin: 2rem 0 0; }
  .bande-sombre .seo-lien a { color: var(--accent); }
  .piliers { list-style: none; margin: 2.25rem 0 0; padding: 0; counter-reset: p; display: grid; gap: 1rem; }
  .piliers li { counter-increment: p; position: relative; padding: 1.4rem 1.4rem 1.4rem 4.25rem; background: var(--fond-carte); border: 1px solid var(--bord); border-radius: 16px; }
  .piliers li::before { content: counter(p); position: absolute; left: 1.3rem; top: 1.3rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #0D1A18; font-weight: 600; }
  .piliers .ico { position: absolute; right: 1.2rem; top: 1.2rem; }
  .piliers li { padding-right: 4.5rem; }
  .piliers h3 { margin: 0 0 0.35rem; font-size: 1.08rem; }
  .piliers p { margin: 0; color: var(--texte-2); line-height: 1.55; }
  .faq-diag { max-width: 820px; margin-top: 1.5rem; }
  .faq-diag details { border-top: 1px solid var(--bord-sombre); padding: 1.1rem 0; }
  .faq-diag details:last-child { border-bottom: 1px solid var(--bord-sombre); }
  .faq-diag summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; color: #FFFFFF; font-size: 1.02rem; }
  .faq-diag summary::-webkit-details-marker { display: none; }
  .faq-diag summary::after { content: "+"; color: var(--accent); font-weight: 400; }
  .faq-diag details[open] summary::after { content: "\2212"; }
  .faq-diag p { margin: 0.7rem 0 0; color: rgba(255, 255, 255, 0.76); line-height: 1.65; max-width: 70ch; }
  @media (min-width: 900px) { .piliers { grid-template-columns: repeat(2, minmax(0, 1fr)); } .piliers li:last-child { grid-column: 1 / -1; } }
  @media (max-width: 900px) { .parcours-5 { grid-template-columns: 1fr; } }
  @media (min-width: 760px) {
    .res-haut { grid-template-columns: 1fr auto; }
    .res-champs { grid-template-columns: 1fr 1fr; }
    .res-champs .large { grid-column: 1 / -1; }
  }
  @media (max-width: 560px) { .res-echelle li { font-size: 0.72rem; } }
  @media (prefers-reduced-motion: reduce) { .diag-etape { animation: none; } .diag-progres span { transition: none; } }

/* ---- feuille de la page /diagnostic-ia ---- */
.ariane-nav{margin:0 0 1.1rem;font-size:.9rem;opacity:.78}.ariane-nav a{color:inherit;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}.ariane-nav span[aria-current]{font-weight:600}
