/* Rubriqua, outil Audit GEO gratuit */

[hidden] { display: none !important; }
.au-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.au-center { text-align: center; }
.au-white { background: var(--white); }
.au-beige { background: var(--beige); }

/* Hero */
.au-form { display: flex; flex-wrap: wrap; gap: 8px; background: var(--white); border-radius: 10px; padding: 8px; max-width: 620px; }
.au-form input { flex: 999 1 260px; min-width: 0; font: inherit; font-size: 18px; font-weight: 600; border: 0; border-radius: 6px; padding: 14px 16px; color: var(--ink); background: var(--white); }
.au-form input:focus { outline: 2px solid var(--red-light); outline-offset: 2px; }
.au-form .btn { flex: 1 1 170px; }
.au-note { font-size: 15px; color: #a9a49d; }
.au-error { font-size: 16px; font-weight: 700; color: var(--white); background: rgba(153, 25, 21, .85); border-radius: 6px; padding: 12px 16px; max-width: 620px; }

/* Illustration animée : la recherche se tape, la réponse arrive, votre site apparaît en source */
@keyframes au-frappe { 0% { width: 0; } 35%, 100% { width: 100%; } }
@keyframes au-curseur { 50% { border-color: transparent; } }
@keyframes au-apparait { 0%, 38% { opacity: 0; transform: translateY(6px); } 48%, 100% { opacity: 1; transform: none; } }
@keyframes au-source { 0%, 55% { opacity: 0; transform: translateX(-8px); } 65%, 100% { opacity: 1; transform: none; } }
@keyframes au-pulse { 0%, 70% { box-shadow: 0 0 0 0 rgba(153, 25, 21, .35); } 85% { box-shadow: 0 0 0 8px rgba(153, 25, 21, 0); } 100% { box-shadow: none; } }
.au-typed { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; border-right: 2px solid var(--red); animation: au-frappe 7s steps(38) infinite, au-curseur .8s step-end infinite; }
.au-ans { animation: au-apparait 7s ease infinite; display: flex; flex-direction: column; gap: 10px; }
.au-src1 { animation: au-source 7s ease infinite, au-pulse 7s ease infinite; }
.au-src2 { animation: au-source 7s ease infinite .25s; }

/* Analyse en cours */
@keyframes au-tourne { to { transform: rotate(360deg); } }
@keyframes au-monte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.au-run { background: var(--beige); }
.au-run-inner { padding-top: 56px; padding-bottom: 56px; max-width: 880px; display: flex; flex-direction: column; gap: 14px; }
.au-run-title { display: flex; align-items: center; gap: 14px; font-size: 20px; }
.au-spin { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; animation: au-tourne .9s linear infinite; }
.au-run-steps { list-style: none; margin: 0 0 0 42px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.au-run-steps li { font-size: 16px; color: var(--text); animation: au-monte .4s var(--ease) both; }

/* Résultat */
@property --au-p { syntax: '<number>'; inherits: false; initial-value: 0; }
.au-result { background: var(--beige); outline: none; scroll-margin-top: 80px; }
.au-result-inner { padding-top: 64px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 24px; }
.au-summary { color: var(--white); border-radius: 14px; padding: 40px; display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; animation: au-monte .5s var(--ease) both;
  background-color: var(--black); background-image: linear-gradient(#232323 1px, transparent 1px), linear-gradient(90deg, #232323 1px, transparent 1px); background-size: 44px 44px; }
.au-score { --au-c: var(--red-light); flex: none; width: 184px; height: 184px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: conic-gradient(var(--au-c) calc(var(--au-p) * 1%), #333 0); transition: --au-p 1.6s var(--ease); }
.au-score > div { width: 148px; height: 148px; border-radius: 50%; background: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.au-score b { font-size: 56px; letter-spacing: -0.04em; line-height: 1; }
.au-score span { font-size: 13px; font-weight: 700; color: #a9a49d; }
.au-summary-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.au-for { font-size: 15px; color: #a9a49d; }
.au-for b { color: var(--white); }
.au-summary-text h2 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; }
.au-counts { display: flex; flex-wrap: wrap; gap: 8px; }
.au-calc { font-size: 13px; color: #a9a49d; }
.au-measure { font-size: 15px; line-height: 1.55; color: #cfcbc4; margin: 0; max-width: 640px; }
.au-measure b { color: var(--white); }
.au-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.au-two > div { border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.au-two .au-st, .au-two-tag { align-self: flex-start; }
.au-two b { font-size: 17px; line-height: 1.3; color: var(--ink); }
.au-two p { font-size: 15px; line-height: 1.55; margin: 0; }
.au-two-read { background: var(--beige); }
.au-two-cite { background: var(--ink); color: #cfcbc4; }
.au-two-cite b { color: var(--white); }
.au-concl .au-two-cite p { color: #cfcbc4; }
.au-two-tag { font-size: 12px; font-weight: 800; padding: 4px 8px; border-radius: 4px; background: #3a3a3a; color: var(--red-light); }
.au-two-cite a { color: var(--red-light); font-weight: 800; font-size: 15px; text-decoration: none; margin-top: auto; }
.au-two-cite a:hover { text-decoration: underline; }
#au-releve-cta { scroll-margin-top: 90px; }
@media (max-width: 760px) { .au-two { grid-template-columns: 1fr; } }
.au-st { font-size: 12px; font-weight: 800; padding: 4px 8px; border-radius: 4px; white-space: nowrap; }
.au-st-ok { background: #e8f1ea; color: #2f6b3a; }
.au-st-warn { background: #fbefe0; color: #8a4b08; }
.au-st-ko { background: #f6e8e7; color: var(--red); }
.au-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.au-group { background: var(--white); border-radius: 12px; padding: 24px 28px; animation: au-monte .5s var(--ease) both; }
.au-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 8px; }
.au-group-head h3 { font-size: 21px; }
.au-group-head span { font-size: 14px; font-weight: 700; color: var(--muted); }
.au-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid #ece9e4; animation: au-monte .45s var(--ease) both; }
.au-row svg { width: 24px; height: 24px; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.au-row b { display: block; font-size: 16px; line-height: 1.35; }
.au-row p { font-size: 14px; line-height: 1.55; color: var(--text); margin-top: 4px; }
.au-next { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.au-concl { min-width: 0; background: var(--white); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.au-concl h3 { font-size: 22px; }
.au-concl p { font-size: 15px; line-height: 1.65; color: var(--text); }
.au-prio { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.au-prio li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid #ece9e4; }
.au-prio li:first-child { border-top: 0; }
.au-prio-n { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.au-prio b { font-size: 16px; line-height: 1.35; }
.au-concl .au-concl-main { font-size: 17px; line-height: 1.7; color: var(--ink); }
.au-cta label { min-width: 0; }
.au-cta input { width: 100%; box-sizing: border-box; background: var(--white); color: var(--ink); }
.au-cta h3 { font-size: 24px; line-height: 1.25; }
.au-cta .au-cta-text { font-size: 15px; line-height: 1.6; color: #cfcbc4; }
.au-cta label { color: #cfcbc4; }
.au-cta input { border: 0; }
.au-cta .form-note { color: #a9a49d; }
.au-cta .form-note a { color: var(--white); }
.au-again { align-self: flex-start; font: inherit; font-size: 15px; font-weight: 800; background: none; border: 0; padding: 4px 0; color: var(--red); cursor: pointer; text-decoration: underline; text-decoration-color: var(--red-light); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Étapes : numéros gris foncé, trait du premier au dernier numéro */
.au-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; }
.au-steps .step { align-items: center; text-align: center; padding-right: 0; }
.au-steps::before, .au-steps::after { left: calc((100% - 48px) / 6); }
.au-steps::before { right: calc((100% - 48px) / 6); }
.au-steps::after { background: var(--grey); }
.au-steps.is-in::after { width: calc(100% - (100% - 48px) / 3); }
.au-steps.is-in .step-num { background: var(--grey); border-color: var(--grey); }

/* Critères */
.au-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.au-head h2 { max-width: 640px; line-height: 1.08; }
.au-head p { max-width: 460px; font-size: 17px; line-height: 1.6; color: var(--text); }
.au-fams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.au-fam { background: var(--white); border-radius: 10px; padding: 32px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 24px; align-content: start; }
.au-fam-num { grid-row: span 3; font-size: 44px; font-weight: 800; letter-spacing: -0.04em; color: var(--red-light); line-height: 1; }
.au-fam h3 { font-size: 23px; }
.au-fam p { font-size: 16px; line-height: 1.65; color: var(--text); }
.au-fam .au-fam-list { font-size: 14px; color: var(--muted); margin-top: 6px; }
.au-fam-list b { color: var(--ink); }

/* Sections éditoriales */
.au-dark { color: var(--white); }
.au-split { display: flex; flex-wrap: wrap; gap: 32px 72px; align-items: flex-start; }
.au-split h2 { flex: 1 1 360px; min-width: 0; line-height: 1.08; }
.au-split-body { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.75; color: #cfcbc4; }
.au-split-body a { color: var(--white); font-weight: 700; text-decoration-color: var(--red-light); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.au-split-light .au-split-body { color: var(--text); }
.au-cmp-title { margin-top: 96px; margin-bottom: 40px; }
.au-cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.au-cmp > div { border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.au-cmp span { font-size: 13px; font-weight: 800; }
.au-cmp h3 { font-size: 26px; }
.au-cmp p { font-size: 16px; line-height: 1.7; }
.au-cmp-free { border: 2px solid var(--ink); }
.au-cmp-free span { color: var(--red); }
.au-cmp-free p { color: var(--text); }
.au-cmp-full { background: var(--red); color: var(--white); }
.au-cmp-full span, .au-cmp-full p { color: #f6dcda; }
.au-cmp-full .btn { align-self: flex-start; margin-top: auto; }
.btn-light { background: var(--white); color: var(--red); }
.btn-light:hover { background: var(--beige); color: var(--red-dark); }

@media (max-width: 1024px) {
  .au-groups, .au-fams { grid-template-columns: 1fr; }
  .au-next { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .au-next { grid-template-columns: 1fr; }
    /* Sur mobile : score, priorités et formulaire d'abord, détail des critères ensuite */
  .au-summary { order: 1; }
  .au-next { order: 2; }
  .au-groups { order: 3; }
  .au-again { order: 4; }
  .au-summary { padding: 28px 22px; justify-content: center; text-align: center; }
  .au-summary-text { align-items: center; }
  .au-counts { justify-content: center; }
  .au-score { width: 160px; height: 160px; }
  .au-score > div { width: 128px; height: 128px; }
  .au-score b { font-size: 48px; }
  .au-prio li { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; }
  .au-prio-n { width: 28px; height: 28px; font-size: 13px; }
  .au-prio b { font-size: 15px; }
  .au-prio .au-st { font-size: 11px; padding: 3px 6px; }
  .au-form input { font-size: 17px; }
  .au-summary, .au-concl, .au-cta { padding: 24px; }
  .au-row { grid-template-columns: 24px minmax(0, 1fr); }
  .au-row .au-st { grid-column: 2; justify-self: start; }
  .au-steps { grid-template-columns: 1fr; }
  .au-steps .step { align-items: flex-start; text-align: left; }
  /* Sur mobile, un trait entre chaque numéro, qui s'arrête sur le dernier */
  .au-steps::before, .au-steps::after { display: none; }
  .au-steps .step:not(:last-child)::after { content: ""; position: absolute; left: 31px; top: 64px; bottom: -32px; width: 2px; background: var(--grey); }
  .au-fam { padding: 24px; grid-template-columns: 1fr; }
  .au-fam-num { grid-row: auto; font-size: 34px; }
  .au-cmp { grid-template-columns: 1fr; }
  .au-cmp-title { margin-top: 64px; }
}

/* Résultat, novembre 2026 : liens rapides, priorités encadrées, rapport par e-mail, audit complet */
.au-jump { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.au-btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--white); }
.au-btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--white); }
.au-concl { border: 2px solid var(--red); scroll-margin-top: 90px; outline: none; }
.au-concl h3 { color: var(--red); }
.au-concl-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.au-mobile-only { display: none; }
.au-complet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; padding-top: 18px; border-top: 1px solid #ece9e4; }
.au-complet[hidden] { display: none; }
.au-complet .full { grid-column: 1 / -1; }
.au-complet label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink); min-width: 0; }
.au-complet input, .au-complet textarea { font: inherit; font-size: 15px; width: 100%; box-sizing: border-box; border: 1px solid #d9d4cc; border-radius: 6px; padding: 11px 12px; background: var(--white); color: var(--ink); }
.au-complet-intro { grid-column: 1 / -1; font-size: 15px; }
.au-next .au-cta { min-width: 0; margin: 0; color: var(--white); padding: 32px; border-radius: 12px; display: flex; flex-direction: column; gap: 14px; background-color: #161616; }
.au-cta label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: #cfcbc4; }
.au-cta input[type=email], .au-cta input[type=text] { font: inherit; font-size: 15px; border: 0; border-radius: 6px; padding: 12px; width: 100%; box-sizing: border-box; background: var(--white); color: var(--ink); }
.au-cta .au-check { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 500; line-height: 1.5; color: var(--white); cursor: pointer; }
.au-check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--white); }
.au-releve { display: flex; flex-direction: column; gap: 12px; padding-left: 28px; }
.au-releve[hidden] { display: none; }
.au-releve-note { font-size: 12px; color: #a9a49d; line-height: 1.5; }
.au-btn-light { align-self: flex-start; background: transparent; color: var(--white); border: 1px solid var(--white); }
.au-btn-light:hover { background: var(--white); color: var(--ink); }
.au-cta .form-note { font-size: 12px; line-height: 1.5; color: #a9a49d; margin: 0; }
.au-cta .form-status { margin: 0; font-weight: 700; color: var(--white); }
.au-complet .form-status { margin: 0; font-weight: 700; color: var(--ink); }
.form-status.is-error { color: var(--red-light); }
.au-complet .form-status.is-error { color: var(--red); }
.au-groups { scroll-margin-top: 90px; outline: none; }
@media (max-width: 760px) {
  .au-jump { justify-content: center; }
  .au-jump .btn { flex: 1 1 100%; justify-content: center; }
  .au-mobile-only { display: inline-flex; }
  .au-concl-acts .btn { flex: 1 1 100%; justify-content: center; text-align: center; }
  .au-complet { grid-template-columns: 1fr; }
  .au-next .au-cta { padding: 24px; }
  .au-btn-light { align-self: stretch; text-align: center; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .au-typed, .au-ans, .au-src1, .au-src2, .au-summary, .au-group, .au-row, .au-run-steps li { animation: none; }
  .au-typed { border-right: 0; }
}

/* Type de page : choix avant l'analyse, rappel et changement dans le résultat */
.au-type { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 14px; font-weight: 700; color: #cfcbc4; }
.au-type select { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--white); border: 0; border-radius: 6px; padding: 8px 10px; }
.au-typeline { margin: 6px 0 10px; display: flex; flex-direction: column; gap: 8px; }
.au-typeline p { margin: 0; font-size: 14px; color: #cfcbc4; }
.au-typeline p b { color: var(--white); }
.au-retype { display: flex; flex-wrap: wrap; gap: 6px; }
.au-retype button { font: inherit; font-size: 13px; font-weight: 700; color: var(--white); background: transparent; border: 1px solid #555; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.au-retype button:hover { border-color: var(--white); }

/* Hero centré sans visuel, validé le 18 novembre 2026 */
.au-hero-centre .hero-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; max-width: 860px; margin: 0 auto; }
.au-hero-centre .hero-text { width: 100%; }
.au-hero-centre .breadcrumb { justify-content: center; }
.au-hero-centre .lead { margin-left: auto; margin-right: auto; max-width: 680px; }
.au-hero-centre .au-form { margin: 0 auto; width: 100%; max-width: 720px; box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 24px 60px rgba(0,0,0,.45); }
.au-hero-centre .au-type { justify-content: center; }
.au-hero-centre .au-note, .au-hero-centre .au-error { max-width: 640px; margin-left: auto; margin-right: auto; }
.au-puces { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; color: #e8e4de; font-weight: 700; font-size: 16px; }
.au-puces li { display: flex; align-items: center; gap: 8px; }
.au-puces svg { color: #6fd39b; flex: none; }
