/* Roboto servie par l'outil lui-même : aucune requête vers Google Fonts (RGPD). */
@font-face { font-family: Roboto; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/roboto-latin-400-normal.woff) format("woff"); }
@font-face { font-family: Roboto; font-style: italic; font-weight: 400; font-display: swap; src: url(fonts/roboto-latin-400-italic.woff) format("woff"); }
@font-face { font-family: Roboto; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/roboto-latin-500-normal.woff) format("woff"); }
@font-face { font-family: Roboto; font-style: normal; font-weight: 600 700; font-display: swap; src: url(fonts/roboto-latin-700-normal.woff) format("woff"); }
:root {
  --navy: #0D1D3C;
  --red: #E73327;
  --text: #292929;
  --muted: #6B7280;
  --line: #E3E6EC;
  --bg: #FFFFFF;
  --soft: #F5F6F8;
  --ok: #1F7A4D;
  --warn: #B45309;
  --radius: 10px;
  --wrap: 1040px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--navy); }
a:hover { color: var(--red); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.topbar { border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--navy); }
.brand b { font-size: 22px; letter-spacing: .5px; font-weight: 700; }
.brand b i { color: var(--red); font-style: normal; }
.brand span { font-size: 13px; color: var(--muted); }
.topbar nav a { font-size: 14px; text-decoration: none; margin-left: 18px; color: var(--muted); }
footer.site { border-top: 1px solid var(--line); margin-top: 80px; padding: 24px 0 40px; font-size: 13px; color: var(--muted); }
footer.site a { color: var(--muted); }

/* ---------- Landing ---------- */
.hero { min-height: calc(100vh - 64px - 90px); display: flex; align-items: center; }
.hero .wrap { max-width: 820px; text-align: center; }
.hero h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.08; color: var(--navy); margin: 0 0 22px; font-weight: 700; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: #3d4352; margin: 0 auto 36px; max-width: 700px; }
.urlform { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; }
.urlform input[type=url], .urlform input[type=text] {
  flex: 1; min-width: 0; font: inherit; font-size: 17px; padding: 15px 16px;
  border: 1.5px solid #C9CED8; border-radius: var(--radius); outline: none;
}
.urlform input:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13,29,60,.12); }
.btn {
  display: inline-block; font: inherit; font-weight: 600; font-size: 16px; cursor: pointer;
  background: var(--red); color: #fff; border: 0; border-radius: var(--radius); padding: 15px 22px;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { background: #c9281d; color: #fff; }
.btn.secondary { background: var(--navy); }
.btn.secondary:hover { background: #1b2f57; }
.btn.ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.hint { font-size: 14px; color: var(--muted); margin-top: 14px; }
.error { color: var(--red); font-size: 15px; margin-top: 14px; }
@media (max-width: 600px) { .urlform { flex-direction: column; } .btn { width: 100%; } }

/* ---------- Analyse en cours ---------- */
.page { padding: 48px 0; }
.page h1 { color: var(--navy); font-size: clamp(26px, 4vw, 36px); margin: 0 0 8px; line-height: 1.2; }
.sub { color: var(--muted); margin: 0 0 28px; }
.steps { list-style: none; padding: 0; margin: 0 0 24px; max-width: 640px; }
.steps li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.steps li time { color: var(--muted); font-size: 13px; min-width: 64px; font-variant-numeric: tabular-nums; padding-top: 2px; }
.steps li.current { color: var(--navy); font-weight: 600; }
.steps li.current::after { content: ""; width: 14px; height: 14px; margin-left: auto; border: 2px solid var(--line); border-top-color: var(--red); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.note { background: var(--soft); border-radius: var(--radius); padding: 14px 16px; font-size: 14.5px; color: #3d4352; max-width: 640px; }
.banner-demo { background: #FFF6E5; border: 1px solid #F3D39A; color: #6B4A06; border-radius: var(--radius); padding: 12px 16px; font-size: 14.5px; margin: 0 0 24px; }

/* ---------- Aperçu ---------- */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0; }
.kpi { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.kpi b { display: block; font-size: 30px; color: var(--navy); line-height: 1.1; }
.kpi span { font-size: 14px; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .grid2, .kpis { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 12px; font-size: 16px; color: var(--navy); text-transform: uppercase; letter-spacing: .6px; }
ul.plain { padding-left: 18px; margin: 0; }
ul.plain li { margin: 6px 0; }
.blur { filter: blur(4px); user-select: none; pointer-events: none; }
.lead-box { background: var(--navy); color: #fff; border-radius: 14px; padding: 32px; margin: 36px 0; }
.lead-box h2 { margin: 0 0 8px; font-size: 26px; }
.lead-box p { margin: 0 0 20px; color: #CFD6E4; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid label { font-size: 13px; color: #CFD6E4; display: block; margin-bottom: 4px; }
.form-grid input { width: 100%; font: inherit; padding: 12px 13px; border-radius: 8px; border: 0; }
.form-grid .full { grid-column: 1 / -1; }
.consent { font-size: 13px; color: #CFD6E4; display: flex; gap: 8px; align-items: flex-start; margin: 14px 0; }
.consent input { margin-top: 3px; }
.privacy { font-size: 12.5px; color: #AEB8CC; margin-top: 12px; }
.privacy a { color: #fff; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .lead-box { padding: 22px; } }

/* ---------- Rapport ---------- */
.report section { padding: 56px 0 24px; }
.report section:first-of-type { border-top: 0; }
.report h2 { color: var(--navy); font-size: 26px; margin: 0 0 6px; line-height: 1.25; }
.report h3 { color: var(--navy); font-size: 18px; margin: 22px 0 10px; }
.report .point { font-size: 17px; margin: 6px 0 18px; }
.cover { background: var(--navy); color: #fff; padding: 46px 0 40px; }
.cover .eyebrow { color: #AEB8CC; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.cover h1 { margin: 6px 0 10px; font-size: clamp(30px, 5vw, 44px); line-height: 1.1; }
.cover .meta { color: #CFD6E4; font-size: 15px; }
.cover .actions { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.cover .actions .btn.ghost { color: #fff; border-color: #fff; }
.headline { font-size: 21px; line-height: 1.45; color: var(--navy); font-weight: 600; margin: 0 0 12px; }
table.t { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.t th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; border-bottom: 1.5px solid var(--line); padding: 8px 8px; }
table.t td { border-bottom: 1px solid var(--line); padding: 9px 8px; vertical-align: top; }
table.t td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.scroll { overflow-x: auto; }
.chip { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 99px; background: var(--soft); color: #3d4352; white-space: nowrap; }
.chip.red { background: #FDE8E6; color: #A51F15; }
.chip.navy { background: #E6EAF2; color: var(--navy); }
.chip.green { background: #E3F3EA; color: var(--ok); }
.chip.amber { background: #FFF1DB; color: var(--warn); }
.indic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }
.indic .row { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.indic .row b { font-size: 22px; color: var(--navy); font-variant-numeric: tabular-nums; }
.indic .row small { grid-column: 1 / -1; color: var(--muted); font-size: 12.5px; }
@media (max-width: 760px) { .indic { grid-template-columns: 1fr; } }
details.formula { font-size: 13px; color: var(--muted); }
.opp { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 12px 0; break-inside: avoid; }
.opp h4 { margin: 4px 0 8px; font-size: 17.5px; color: var(--navy); }
.opp dl { display: grid; grid-template-columns: 190px 1fr; gap: 4px 14px; margin: 10px 0 0; font-size: 14.5px; }
.opp dt { color: var(--muted); }
.opp dd { margin: 0; }
@media (max-width: 600px) { .opp dl { grid-template-columns: 1fr; } .opp dt { margin-top: 6px; } }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 14px; }
.filters select, .filters input { max-width: 100%; font: inherit; font-size: 14px; padding: 8px 10px; border: 1px solid #C9CED8; border-radius: 8px; background: #fff; }
.plan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan .col { background: var(--soft); border-radius: var(--radius); padding: 16px; }
.plan .col h4 { margin: 0 0 8px; color: var(--navy); }
.plan .col ol { margin: 0; padding-left: 20px; font-size: 14.5px; }
@media (max-width: 760px) { .plan { grid-template-columns: 1fr; } }
.cta { background: var(--soft); border-radius: 14px; padding: 26px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.small { font-size: 13px; color: var(--muted); }

/* ---------- Admin ---------- */
.admin table.t td, .admin table.t th { font-size: 13.5px; }
.admin .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 28px; }
@media (max-width: 760px) { .admin .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Page d'attente : un tiret et deux points qui s'allument tour à tour ---------- */
.wait { max-width: 640px; margin: 40px auto 0; text-align: center; }
.loader { display: inline-flex; gap: 9px; align-items: center; height: 14px; margin: 0 0 26px; }
.loader i { display: block; height: 10px; border-radius: 5px; background: var(--red); opacity: .15;
  animation: morse-blink 1.8s ease-in-out infinite; }
.loader i.dash { width: 30px; }
.loader i.dot { width: 10px; }
.loader i:nth-child(2) { animation-delay: .3s; }
.loader i:nth-child(3) { animation-delay: .6s; }
@keyframes morse-blink { 0%, 55%, 100% { opacity: .15; } 15%, 35% { opacity: 1; } }
.wait-kicker { text-transform: uppercase; letter-spacing: 2.5px; font-size: 12px; color: var(--muted); font-weight: 600; margin: 0 0 8px; }
.wait h1 { margin: 0 0 30px; word-break: break-word; font-weight: 600; }
.wait-step { font-size: 16.5px; color: var(--navy); margin: 0 0 14px; min-height: 1.5em; }
.wait-bar { height: 2px; background: var(--line); border-radius: 1px; overflow: hidden; max-width: 420px; margin: 0 auto; }
.wait-bar span { display: block; height: 100%; width: 2%; background: var(--navy); transition: width 1.2s ease; }
.wait-meta { font-size: 13px; color: var(--muted); margin: 12px 0 34px; }
.phases { list-style: none; padding: 0; margin: 0 auto 34px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 26px;
  font-size: 13.5px; color: #A3A9B5; }
.phases li { position: relative; padding-left: 14px; transition: color .3s; }
.phases li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.phases li.done { color: var(--navy); }
.phases li.now { color: var(--red); font-weight: 600; }
.wait-fact { min-height: 3em; max-width: 520px; margin: 0 auto 30px; font-size: 14.5px; color: var(--muted);
  opacity: 0; transition: opacity .4s ease; }
.wait-fact.in { opacity: 1; }
.wait-log { text-align: left; max-width: 640px; margin: 0 auto 20px; }
.wait-log summary { cursor: pointer; font-size: 13.5px; color: var(--muted); }
.wait-log .steps { margin-top: 10px; }
.wait .note { text-align: left; max-width: 640px; margin-left: auto; margin-right: auto; font-size: 14px; }
@media (prefers-reduced-motion: reduce) {
  .loader i { animation: none; opacity: 1; }
  .wait-bar span, .wait-fact { transition: none; }
}

/* ---------- Rapport : titres de partie, sommaire, nouvelles rubriques ---------- */
.sec-head { margin: 0 0 22px; padding-bottom: 16px; border-bottom: 2px solid var(--navy); position: relative; }
.sec-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--red); }
.sec-top { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.sec-num { font-size: 15px; font-weight: 700; color: var(--red); letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.sec-morse, .cover-morse { display: inline-flex; gap: 10px; align-items: center; }
.ml { display: inline-flex; gap: 4px; align-items: center; }
.ml i { display: inline-block; height: 6px; border-radius: 3px; background: var(--red); }
.ml i.dot { width: 6px; } .ml i.dash { width: 18px; }
.sec-head h2 { font-size: clamp(26px, 4vw, 34px); color: var(--navy); margin: 0; line-height: 1.15; letter-spacing: -.3px; }
.sec-kicker { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }
.report section { scroll-margin-top: 16px; }
.cover-morse { margin: 26px 0 4px; gap: 14px; }
.cover-morse .ml i { height: 8px; } .cover-morse .ml i.dot { width: 8px; } .cover-morse .ml i.dash { width: 26px; }
.share { margin-top: 22px; max-width: 620px; }
.share label { display: block; font-size: 13px; color: #CFD6E4; margin-bottom: 6px; }
.share-row { display: flex; gap: 8px; }
.share-row input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 10px 12px; border-radius: 8px; border: 0; color: var(--navy); }
.share-row .btn { color: #fff; border-color: #fff; padding: 9px 16px; }

.toc .toc-title { font-size: 22px; color: var(--navy); margin: 0 0 14px; }
.toc ol { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 36px; }
.toc li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.toc a { display: block; padding: 9px 0; text-decoration: none; color: var(--text); font-weight: 500; }
.toc a:hover { color: var(--red); }
.toc .n { display: inline-block; width: 34px; color: var(--red); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps3 .st { border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); padding: 16px 18px; }
.steps3 .st:nth-child(2) { border-top-color: #4A5B7D; } .steps3 .st:nth-child(3) { border-top-color: var(--red); }
.st-n { font-size: 12.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--red); font-weight: 700; }
.st-n span { color: var(--muted); font-weight: 500; margin-left: 8px; text-transform: none; letter-spacing: 0; }
.steps3 h4 { margin: 6px 0 6px; font-size: 18px; color: var(--navy); line-height: 1.3; }
.st-obj { margin: 0 0 8px; font-weight: 500; }
.steps3 ul { margin: 0 0 8px; padding-left: 18px; font-size: 14.5px; }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } }

.card10 { border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--radius); padding: 14px 18px; margin: 0 0 10px; }
.card10[data-type="creer"] { border-left-color: var(--red); }
.c-top { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.c-n { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700;
  font-size: 13px; align-items: center; justify-content: center; margin-right: 4px; }
.card10 h4 { margin: 8px 0 4px; font-size: 17px; color: var(--navy); line-height: 1.3; }
.card10 .why { margin: 0 0 6px; font-size: 14.5px; }
.card10 .meta { margin: 0; font-size: 13px; color: var(--muted); }
.card10 .meta b { color: var(--text); font-weight: 600; }
details.more { margin-top: 14px; } details.more summary { cursor: pointer; color: var(--navy); font-weight: 600; margin-bottom: 10px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }
.howto { background: var(--soft); border-radius: var(--radius); padding: 18px; position: relative; }
.howto .hn { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; align-items: center; justify-content: center; }
.howto h4 { margin: 10px 0 6px; font-size: 17px; color: var(--navy); }
.howto p { margin: 0 0 8px; font-size: 14.5px; }
.morse-help { margin-top: 18px; border: 2px solid var(--navy); border-radius: var(--radius); padding: 16px 20px; }
.morse-help h4 { margin: 0 0 6px; color: var(--navy); font-size: 17px; }
.morse-help p { margin: 0; }

.back { background: var(--navy); color: #fff; padding: 64px 0; margin-top: 40px; }
.back h2 { font-size: clamp(28px, 5vw, 42px); margin: 10px 0 14px; color: #fff; }
.back-lead { font-size: 18px; max-width: 680px; color: #E3E8F1; margin: 0 0 22px; }
.back h3 { margin: 46px 0 16px; font-size: 20px; color: #fff; }
.back-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.back-steps div { border-top: 3px solid var(--red); padding-top: 10px; }
.back-steps b { display: block; font-size: 16px; margin-bottom: 4px; }
.back-steps span { font-size: 14px; color: #CFD6E4; }
.back-foot { margin-top: 46px; font-size: 14px; color: #AEB8CC; }
.back a { color: #fff; }
@media (max-width: 760px) { .back-steps { grid-template-columns: 1fr 1fr; } }

/* ---------- Réponse à « Vos contenus ont-ils de quoi être cités par les IA ? » ---------- */
.verdict { border: 1px solid var(--line); border-left: 5px solid var(--warn); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 24px; background: #fff; }
.verdict.v-oui { border-left-color: var(--ok); } .verdict.v-non { border-left-color: var(--red); } .verdict.v-na { border-left-color: var(--line); }
.v-q { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 600; }
.v-a { margin: 4px 0 2px; font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1.15; }
.v-oui .v-a { color: var(--ok); } .v-non .v-a { color: var(--red); } .v-partiel .v-a { color: var(--warn); }
.v-s { margin: 0 0 14px; font-size: 16px; }
.v-crit { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 22px; }
.v-crit li { display: grid; grid-template-columns: 12px 1fr; gap: 0 10px; align-items: baseline; font-size: 14.5px; }
.v-crit li i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); transform: translateY(1px); }
.v-crit li.lv-bon i { background: var(--ok); } .v-crit li.lv-partiel i { background: var(--warn); } .v-crit li.lv-faible i { background: var(--red); }
.v-crit li span { grid-column: 2; font-size: 13px; color: var(--muted); }
.v-limit { margin: 0; font-size: 12.5px; color: var(--muted); }
@media (max-width: 640px) { .v-crit { grid-template-columns: 1fr; } }
.card10 .cite { margin: 0 0 6px; font-size: 13.5px; padding: 6px 10px; background: #FBF2F1; border-radius: 6px; }
.card10 .cite b { color: var(--red); font-weight: 600; margin-right: 4px; }

/* ---------- Pages juridiques ---------- */
.legal .wrap { max-width: 760px; }
.legal h3 { color: var(--navy); margin: 28px 0 8px; font-size: 18px; }
.legal ul.plain li { margin-bottom: 8px; }
pre.ua { background: var(--soft); border-radius: 8px; padding: 12px 14px; font-size: 13.5px; white-space: pre-wrap; word-break: break-word; }
.hint.small-legal { font-size: 12.5px; margin-top: 4px; }
.hint.small-legal a { color: inherit; }
.btn:disabled { opacity: .55; cursor: wait; }
.urlform { flex-wrap: wrap; } .urlform .cf-turnstile { flex-basis: 100%; display: flex; justify-content: center; }
.launch { border: 1px solid #F3D2A5; background: #FFF8EE; border-radius: var(--radius); padding: 14px 18px; margin: 10px 0 22px; font-size: 14.5px; }
.launch ul { list-style: none; padding: 0; margin: 8px 0 0; }
.launch li { padding: 2px 0; } .launch li.ok { color: var(--ok); } .launch li.ko { color: var(--warn); font-weight: 500; }
.review-box { display: flex; gap: 18px; align-items: center; justify-content: space-between; border-radius: var(--radius); padding: 14px 18px; margin: 12px 0 20px; font-size: 14.5px; }
.review-box.pending { background: #FFF8EE; border: 1px solid #F3D2A5; }
.review-box.approved { background: #EEF8F2; border: 1px solid #BFE3CE; }
table.health td:first-child { white-space: nowrap; }
