/* Silver Sun Scan — style inspiré des jeux-questionnaires (couleurs vives, grosses tuiles) */
:root {
  --purple: #103a63;
  --purple-dark: #071b30;
  --purple-light: #3b82f6;
  --red: #e21b3c;     --red-d: #a8102a;
  --blue: #1368ce;    --blue-d: #0b4c96;
  --yellow: #d89e00;  --yellow-d: #9c7200;
  --green: #26890c;   --green-d: #1a6107;
  --teal: #0a8f8f;    --teal-d: #066565;
  --matrix: #00c853;  --matrix-d: #007a33;
  --orange: #e0620d;  --orange-d: #a44506;
  --pink: #b8177e;    --pink-d: #82105a;
  --purple-light-d: #1d4ed8;
  --ink: #1d1d2b;
  --muted: #5d5d73;
  --card: #ffffff;
  --soft: #eef4fb;
  --line: #d7e6f2;
  --safe: #1f8a3a;
  --warn: #c98200;
  --danger: #d0172f;
  --radius: 18px;
  --shadow: 0 6px 0 rgba(0, 0, 0, .18);
  --fs: 18px;
}

* { box-sizing: border-box; }
html { font-size: var(--fs); overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--ink);
  background: var(--purple);
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 4px solid #ffd43b; outline-offset: 3px; }

/* Logo décoratif d'arrière-plan */
.bg-shapes { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bg-shapes .s { position: absolute; opacity: .08; }
.s1 { width: 340px; height: 340px; top: -80px; left: -100px; }
.s2 { width: 260px; height: 260px; bottom: 8%; right: -80px; transform: rotate(24deg); }
.s3 { width: 300px; height: 300px; top: 42%; left: -130px; transform: rotate(-16deg); }
.s4 { width: 200px; height: 200px; top: 10%; right: 12%; transform: rotate(18deg); }

/* Barre du haut */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px;
  background: rgba(7, 27, 48, .92);
  backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.brand b { color: #ffc93c; }
.brand-logo { border-radius: 50%; object-fit: contain; background: #000; flex: none; }
.brand span { white-space: nowrap; }
@media (max-width: 420px) { .brand { font-size: .95rem; gap: 8px; } .brand img { width: 34px; height: 34px; } .pill-btn { padding: 0 12px; } }
.topbar-actions { display: flex; gap: 8px; }
.pill-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 16px;
  border: 0; border-radius: 999px;
  background: #fff; color: var(--purple-dark);
  font-weight: 800; font-size: .85rem; text-decoration: none; cursor: pointer;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .25);
}
.pill-btn[aria-pressed="true"] { background: #ffc93c; }
.pill-btn.icon-btn { width: 44px; padding: 0; }
.pill-btn.icon-btn svg { width: 22px; height: 22px; }

.textsize-wrap { position: relative; }
.textsize-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 20;
  display: grid; gap: 6px;
  background: #fff; border-radius: 14px; padding: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  min-width: 120px;
}
.textsize-opt {
  border: 0; border-radius: 10px; background: none; cursor: pointer;
  min-height: 44px; padding: 0 14px; text-align: left;
  font-weight: 800; font-size: 1rem; color: var(--purple-dark);
}
.textsize-opt:hover { background: var(--soft); }
.textsize-opt[aria-checked="true"] { background: var(--purple-light); color: #fff; }
.textsize-menu[hidden] { display: none; }

main { position: relative; z-index: 1; flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 24px 16px 40px; outline: none; }
.footer {
  position: relative; z-index: 1; text-align: center;
  padding: 26px 16px 30px;
}
.footer-notices { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 640px; margin: 0 auto 20px; }
.footer-note {
  display: flex; align-items: flex-start; gap: 10px; text-align: left;
  margin: 0; background: rgba(255, 255, 255, .07); border-radius: 12px;
  padding: 12px 14px; font-size: .82rem; font-weight: 600;
  color: rgba(255, 255, 255, .85);
}
.footer-note svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }
.footer-note span { flex: 1 1 auto; min-width: 0; }
.footer-note b { color: #fff; }
.footer-note.privacy { background: rgba(45, 212, 153, .12); color: #cdf3e2; }
.footer-note.mission { background: rgba(255, 201, 60, .1); color: rgba(255, 255, 255, .85); }
.footer-note a { color: #ffc93c; font-weight: 900; text-decoration: none; }
.footer-note a:hover { text-decoration: underline; }
.footer p + p { margin-top: 14px; }
.footer-bug {
  margin-top: 16px; background: rgba(255, 255, 255, .12); border: 0; color: #fff;
  font-weight: 700; font-size: .78rem; padding: 10px 18px; border-radius: 99px; cursor: pointer;
}
.footer-bug:hover { background: rgba(255, 255, 255, .22); }
.bug-dialog { width: min(520px, calc(100vw - 32px)); border: 0; border-radius: var(--radius); padding: 22px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); color: var(--ink); }
.bug-dialog::backdrop { background: rgba(4, 12, 24, .6); }
.bug-dialog h2 { margin: 0 0 6px; font-weight: 900; }

/* Accueil */
.hero { text-align: center; color: #fff; margin: 8px 0 28px; }
.hero h1 { font-size: clamp(1.6rem, 5vw, 2.5rem); font-weight: 900; margin: 0 0 8px; line-height: 1.15; }
.hero p { margin: 0 auto; max-width: 620px; font-size: 1.05rem; opacity: .92; font-weight: 600; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.tile {
  --c: var(--red); --cd: var(--red-d);
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  min-height: 170px; padding: 20px;
  border-radius: var(--radius);
  background: var(--c);
  color: #fff; text-decoration: none;
  box-shadow: 0 7px 0 var(--cd);
  transition: transform .12s ease, box-shadow .12s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 10px 0 var(--cd); }
.tile:active { transform: translateY(5px); box-shadow: 0 2px 0 var(--cd); }
.tile .shape { width: 52px; height: 52px; }
.tile h2 { margin: 0; font-size: 1.25rem; font-weight: 900; line-height: 1.2; }
.tile p { margin: 4px 0 0; font-size: .85rem; font-weight: 600; opacity: .95; }
.tile.featured { grid-column: span 2; min-height: 190px; }
.tile.featured h2 { font-size: 1.55rem; }
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile { min-height: 150px; padding: 16px; }
  .tile h2 { font-size: 1.05rem; }
  .tile p { display: none; }
  .tile .shape { width: 40px; height: 40px; }
  .tile.featured { grid-column: span 2; }
  .tile.featured p { display: block; }
}
.c-red { --c: var(--red); --cd: var(--red-d); }
.c-blue { --c: var(--blue); --cd: var(--blue-d); }
.c-yellow { --c: var(--yellow); --cd: var(--yellow-d); }
.c-green { --c: var(--green); --cd: var(--green-d); }
.c-teal { --c: var(--teal); --cd: var(--teal-d); }
.c-matrix { --c: var(--matrix); --cd: var(--matrix-d); }
.c-orange { --c: var(--orange); --cd: var(--orange-d); }
.c-pink { --c: var(--pink); --cd: var(--pink-d); }

/* En-tête de page */
.page-head { display: flex; align-items: center; gap: 14px; color: #fff; margin-bottom: 18px; }
.page-head .badge { flex: none; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--c); box-shadow: 0 5px 0 var(--cd); }
.page-head .badge svg { width: 34px; height: 34px; }
.page-head h1 { margin: 0; font-size: clamp(1.4rem, 4.5vw, 2rem); font-weight: 900; line-height: 1.15; }
.page-head p { margin: 2px 0 0; font-weight: 600; opacity: .9; font-size: .95rem; }

/* Cartes */
.card { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px; }
.card h2 { margin: 0 0 10px; font-size: 1.2rem; font-weight: 900; }
.card h3 { margin: 16px 0 6px; font-size: 1rem; font-weight: 800; }
.card p { margin: 0 0 10px; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }

/* Champs */
.big-input, .big-textarea {
  width: 100%;
  padding: 16px 18px;
  border: 3px solid var(--line);
  border-radius: 14px;
  font-size: 1.05rem; font-weight: 600;
  background: #fff; color: var(--ink);
}
.big-input:focus, .big-textarea:focus { border-color: var(--purple-light); outline: none; }
.big-textarea { min-height: 170px; resize: vertical; line-height: 1.45; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row > .grow { flex: 1 1 260px; }
label.lbl { display: block; font-weight: 800; margin-bottom: 8px; }

/* Boutons */
.btn {
  --c: var(--purple); --cd: var(--purple-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px;
  border: 0; border-radius: 14px;
  background: var(--c); color: #fff;
  font-weight: 900; font-size: 1.05rem; text-decoration: none; cursor: pointer;
  box-shadow: 0 5px 0 var(--cd);
  transition: transform .1s ease, box-shadow .1s ease;
}
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--cd); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn svg { width: 24px; height: 24px; }
.btn.light { --c: #fff; --cd: #cfc6e2; color: var(--purple-dark); }
.btn.block { width: 100%; }
.btn.small-btn { min-height: 44px; padding: 0 16px; font-size: .9rem; }
.link-btn { background: none; border: 0; color: var(--blue); font-weight: 800; cursor: pointer; padding: 6px 0; text-decoration: underline; }

.hint { display: flex; gap: 10px; align-items: flex-start; background: var(--soft); border-radius: 12px; padding: 12px 14px; font-size: .88rem; font-weight: 600; color: #163a5c; }
.hint svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.notice { border-radius: 12px; padding: 12px 14px; font-weight: 700; font-size: .9rem; }
.notice.warn { background: #fff4d6; color: #6b4a00; }
.notice.err { background: #ffe0e4; color: #8a0f22; }
.notice.ok { background: #dcf5e1; color: #155d27; }

/* Chargement façon jeu */
.loader { text-align: center; padding: 30px 10px; }
.loader .spinner { display: flex; justify-content: center; gap: 10px; margin-bottom: 18px; }
.loader .spinner span { width: 28px; height: 28px; border-radius: 6px; animation: bounce 1s infinite ease-in-out; }
.loader .spinner span:nth-child(1) { background: var(--red); }
.loader .spinner span:nth-child(2) { background: var(--blue); border-radius: 50%; animation-delay: .12s; }
.loader .spinner span:nth-child(3) { background: var(--yellow); transform: rotate(45deg); animation-delay: .24s; }
.loader .spinner span:nth-child(4) { background: var(--green); animation-delay: .36s; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.loader .step { font-weight: 800; font-size: 1.05rem; min-height: 1.6em; }
.progress { height: 12px; background: var(--soft); border-radius: 99px; overflow: hidden; margin: 14px auto 0; max-width: 420px; }
.progress > div { height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--yellow), var(--green)); transition: width .8s ease; }

/* Résultat */
.verdict { --vc: var(--safe); display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; border-top: 10px solid var(--vc); }
.verdict.caution { --vc: var(--warn); }
.verdict.danger { --vc: var(--danger); }
.gauge { width: 150px; height: 150px; position: relative; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .num { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.gauge .num b { display: block; font-size: 2.6rem; font-weight: 900; line-height: 1; color: var(--vc); }
.gauge .num small { font-weight: 800; color: var(--muted); font-size: .75rem; }
.verdict h2 { font-size: 1.6rem; color: var(--vc); margin-bottom: 6px; line-height: 1.2; }
.domain-box { margin-top: 10px; background: var(--soft); border-radius: 12px; padding: 12px 14px; }
.domain-box .lbl-s { font-size: .78rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.domain-box .dom { font-size: 1.35rem; font-weight: 900; word-break: break-all; color: var(--purple-dark); }
.domain-box .full { font-size: .8rem; color: var(--muted); word-break: break-all; margin-top: 4px; }
.domain-box .full mark { background: #ffe58a; color: var(--ink); font-weight: 800; border-radius: 4px; padding: 0 2px; }
@media (max-width: 600px) {
  .verdict { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .domain-box { text-align: left; width: 100%; }
}

.sources { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.source { border: 3px solid var(--line); border-radius: 14px; padding: 14px; }
.source.clean { border-color: #9fdcad; background: #f1fbf3; }
.source.bad { border-color: #f3a2ad; background: #fff2f4; }
.source.suspicious { border-color: #f2cf77; background: #fffaeb; }
.source .top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.source .name { font-weight: 900; }
.source .about { font-size: .78rem; color: var(--muted); margin: 6px 0 0; }
.tag { display: inline-block; border-radius: 99px; padding: 3px 10px; font-size: .72rem; font-weight: 900; color: #fff; background: #8b8ba0; white-space: nowrap; }
.tag.clean { background: var(--safe); }
.tag.bad { background: var(--danger); }
.tag.suspicious { background: var(--warn); }

.findings { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.finding { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 12px; border-radius: 14px; background: var(--soft); }
.finding .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 900; }
.finding.good .ico { background: var(--safe); }
.finding.warn .ico { background: var(--warn); }
.finding.bad .ico { background: var(--danger); }
.finding .ico svg { width: 22px; height: 22px; }
.finding b { display: block; }
.finding span { font-size: .88rem; color: #3d3d52; }

.facts { width: 100%; border-collapse: collapse; font-size: .9rem; }
.facts th, .facts td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 40%; color: var(--muted); font-weight: 700; }
.facts td { font-weight: 700; word-break: break-word; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 6px; border: 3px solid var(--purple-light); }
.checklist li.done::before { background: var(--purple-light); }

/* Liste d'information (pas cliquable, pas de case à cocher) */
.tiplist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tiplist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.tiplist svg { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--safe); }

/* Score d'alerte du questionnaire de signes visuels */
.sign-score { margin: 4px 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--soft); color: var(--muted); font-weight: 700; text-align: center; }
.sign-score.warn { background: #fff4d6; color: #6b4a00; }
.sign-score.danger { background: #ffe0e4; color: #8a0f22; }
.linkgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.linkgrid a { display: block; padding: 14px; border-radius: 12px; background: var(--soft); color: var(--purple-dark); font-weight: 800; text-decoration: none; border: 2px solid var(--line); }
.linkgrid a:hover { border-color: var(--purple-light); }
.soon { border: 3px dashed var(--line); box-shadow: none; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* QR */
.qr-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .qr-choices { grid-template-columns: 1fr; } }
.qr-choice { min-height: 150px; flex-direction: column; font-size: 1.15rem; }
.qr-choice svg { width: 48px; height: 48px; }
.camera-wrap { position: relative; max-width: 520px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 1 / 1; }
.camera-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.camera-frame { position: absolute; inset: 15%; border: 5px solid rgba(255, 255, 255, .9); border-radius: 20px; box-shadow: 0 0 0 999px rgba(0, 0, 0, .35); }
.camera-frame::after { content: ''; position: absolute; left: 6%; right: 6%; height: 4px; background: #ffc93c; top: 10%; animation: scanline 2s infinite ease-in-out alternate; border-radius: 4px; }
@keyframes scanline { to { top: 88%; } }
.drop { border: 4px dashed var(--line); border-radius: var(--radius); padding: 26px; text-align: center; font-weight: 700; color: var(--muted); }
.drop.over { border-color: var(--blue); background: #eef5ff; }
.qr-result { font-family: ui-monospace, Consolas, monospace; background: var(--soft); padding: 12px 14px; border-radius: 12px; word-break: break-all; font-weight: 700; }

/* Formation */
.quiz-cta {
  display: flex; align-items: center; gap: 16px;
  text-decoration: none; color: #fff;
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  transition: transform .12s ease, box-shadow .12s ease;
}
.quiz-cta:hover { transform: translateY(-3px); }
.quiz-cta-badge { flex: none; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .18); display: grid; place-items: center; }
.quiz-cta-badge svg { width: 30px; height: 30px; }
.quiz-cta h2 { margin: 0; font-size: 1.15rem; font-weight: 900; }
.quiz-cta p { margin: 4px 0 0; font-size: .88rem; font-weight: 600; opacity: .92; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { border: 0; border-radius: 99px; padding: 10px 16px; font-weight: 800; background: rgba(255, 255, 255, .18); color: #fff; cursor: pointer; font-size: .85rem; }
.chip[aria-pressed="true"] { background: #fff; color: var(--purple-dark); }
.lessons { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.lesson { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .12s; }
.lesson:hover { transform: translateY(-3px); }
.lesson .thumb { aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--c); color: #fff; position: relative; background-size: cover; background-position: center; }
.lesson .thumb svg { width: 56px; height: 56px; }
.lesson .kind { position: absolute; top: 10px; left: 10px; background: rgba(0, 0, 0, .55); color: #fff; border-radius: 99px; font-size: .7rem; font-weight: 900; padding: 4px 10px; }
.lesson .body { padding: 14px 16px 18px; }
.lesson h3 { margin: 0 0 6px; font-size: 1.02rem; font-weight: 900; line-height: 1.25; }
.lesson p { margin: 0; font-size: .84rem; color: var(--muted); }
.lesson .meta { margin-top: 10px; font-size: .72rem; font-weight: 800; color: var(--purple-light); text-transform: uppercase; letter-spacing: .04em; }
.article-body h2 { margin-top: 22px; }
.article-body ul { padding-left: 1.2em; }
.article-body li { margin-bottom: 8px; }
.video-box { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; margin-bottom: 16px; }
.video-box iframe, .video-box video { width: 100%; height: 100%; border: 0; display: block; }
.empty { text-align: center; color: #fff; font-weight: 700; padding: 30px; }

/* Quiz */
.quiz-stage { max-width: 900px; margin: 0 auto; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; color: #fff; font-weight: 900; margin-bottom: 12px; gap: 10px; }
.quiz-top .count, .quiz-top .pts { background: rgba(0, 0, 0, .25); padding: 8px 14px; border-radius: 99px; }
.question { background: #fff; border-radius: var(--radius); padding: 26px 22px; text-align: center; box-shadow: var(--shadow); font-size: clamp(1.1rem, 3.5vw, 1.5rem); font-weight: 900; line-height: 1.3; margin-bottom: 16px; }
.timer-row { display: flex; justify-content: center; margin-bottom: 16px; }
.timer { width: 76px; height: 76px; border-radius: 50%; background: var(--purple-light); color: #fff; display: grid; place-items: center; font-size: 1.7rem; font-weight: 900; border: 5px solid #fff; }
.timer.low { background: var(--red); animation: pulse .5s infinite alternate; }
@keyframes pulse { to { transform: scale(1.08); } }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .answers { grid-template-columns: 1fr; } }
.answer {
  --c: var(--red); --cd: var(--red-d);
  display: flex; align-items: center; gap: 14px;
  min-height: 90px; padding: 14px 18px;
  border: 0; border-radius: 14px;
  background: var(--c); color: #fff; text-align: left;
  font-weight: 800; font-size: 1.02rem; cursor: pointer;
  box-shadow: 0 6px 0 var(--cd);
  transition: transform .1s, opacity .25s;
}
.answer:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--cd); }
.answer svg { flex: none; width: 36px; height: 36px; }
.answer.dim { opacity: .3; }
.answer.right { outline: 5px solid #fff; }
.answer[disabled] { cursor: default; }
.feedback { margin-top: 18px; border-radius: var(--radius); padding: 20px; color: #fff; box-shadow: var(--shadow); }
.feedback.ok { background: var(--green); }
.feedback.no { background: var(--red); }
.feedback h2 { margin: 0 0 6px; font-size: 1.5rem; font-weight: 900; }
.feedback p { margin: 0 0 14px; font-weight: 600; }
.podium { text-align: center; color: #fff; }
.podium .big { font-size: clamp(2.6rem, 10vw, 4.5rem); font-weight: 900; line-height: 1; margin: 12px 0; }
.stars { font-size: 2.4rem; letter-spacing: 6px; color: #ffc93c; }

/* Mot de passe */
.meter { height: 16px; border-radius: 99px; background: var(--soft); overflow: hidden; margin: 14px 0 8px; }
.meter > div { height: 100%; width: 0; transition: width .3s, background .3s; }
.pw-wrap { position: relative; }
.pw-wrap .big-input { padding-right: 110px; }
.pw-wrap button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); }
.passphrase { font-family: ui-monospace, Consolas, monospace; font-size: 1.2rem; font-weight: 800; background: var(--soft); padding: 14px; border-radius: 12px; word-break: break-all; }

/* Aide */
details.acc { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
details.acc summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 900; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: '+'; font-size: 1.6rem; color: var(--purple-light); line-height: 1; }
details.acc[open] summary::after { content: '−'; }
details.acc .inner { padding: 0 20px 18px; }
details.acc ol { padding-left: 1.3em; margin: 0; }
details.acc li { margin-bottom: 8px; }
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.contact { background: var(--soft); border-radius: 14px; padding: 14px; }
.contact b { display: block; }
.contact a.tel { display: inline-block; margin-top: 6px; font-size: 1.15rem; font-weight: 900; color: var(--purple-dark); }

/* Admin */
.admin-list { list-style: none; padding: 0; margin: 0; }
.admin-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.form-grid { display: grid; gap: 14px; }
.form-grid select, .form-grid input[type=text], .form-grid input[type=url], .form-grid input[type=password], .form-grid textarea {
  width: 100%; padding: 12px 14px; border: 3px solid var(--line); border-radius: 12px; font-weight: 600; background: #fff;
}
.upbar { height: 10px; background: var(--soft); border-radius: 99px; overflow: hidden; }
.upbar > div { height: 100%; width: 0; background: var(--green); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }
.mt { margin-top: 16px; }
.center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
