/* ScoopRole : identité « à la source » (recherche/marketing/identite.md) */
@import url("https://fonts.googleapis.com/css2?family=Funnel+Display:wght@600;700;800&family=Funnel+Sans:wght@400;500;600;700&display=swap");

:root {
  --ink: #07333a;         /* Fontaine : texte et surfaces profondes */
  --ink-2: #0c464c;
  --teal: #0b6b6e;        /* Bassin : liens, focus */
  --water: #5be3cb;       /* Eau : ce qui coule, ce qui est vrai */
  --water-soft: #dcf7f1;
  --coral: #ff7551;       /* Coquelicot : réservé à l'action */
  --coral-deep: #cf4a2a;
  --sun: #ffd65a;         /* Soleil : réservé à la réduction */
  --paper: #eef7f5;       /* Brume */
  --card: #ffffff;
  --line: #cfe3e0;
  --muted: #46666b;
  --on-ink: #b7d8d4;
  --rule-ink: #1e545a;
  --lime: var(--water);   /* ancien nom, gardé pour le code existant */
  --display: "Funnel Display", "Avenir Next", system-ui, sans-serif;
  --body: "Funnel Sans", system-ui, -apple-system, sans-serif;
  --mono: var(--body);    /* plus de police à chasse fixe */
  /* signature : les ondes de la source, et la ligne d'eau entre deux surfaces */
  --ripples: repeating-radial-gradient(circle at 50% -30px, transparent 0 54px, rgba(91, 227, 203, .1) 54px 56px);
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='14' viewBox='0 0 96 14'%3E%3Cpath d='M0 14V7c16-9 32-9 48 0s32 9 48 0v7z' fill='%23eef7f5'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.022em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(40px, 7vw, 76px); }
h2 { font-size: clamp(27px, 4vw, 40px); }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.mono { font-size: 13px; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 800 22px/1 var(--display); letter-spacing: -0.035em; text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
.logo b { font: inherit; color: var(--coral); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; background: var(--card); padding: 3px; }
.lang button { border: 0; background: none; font: 600 12px var(--body); color: var(--muted); min-width: 36px; min-height: 32px; padding: 5px 10px; border-radius: 999px; cursor: pointer; }
/* sur l'eau profonde, le repere du clavier passe en clair */
:is(.topbar, header.top, .hero, .final, section.head, .band, section.match, .sheet:has(.huge)) :focus-visible { outline-color: var(--water); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--ink); border-radius: 12px; padding: 13px 20px; font: 700 15px var(--body); text-decoration: none; cursor: pointer; background: var(--ink); color: #fff; transition: transform .12s, box-shadow .12s, background-color .12s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--water); }
/* l'action principale : coquelicot, en relief, qui s'enfonce au toucher */
.btn.lime { background: var(--coral); border-color: var(--coral); color: var(--ink); box-shadow: 0 5px 0 var(--coral-deep); }
.btn.lime:hover { box-shadow: 0 6px 0 var(--coral-deep); }
.btn.lime:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--coral-deep); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.small { padding: 9px 14px; font-size: 14px; }

/* Signature : la ligne de source, présente sous chaque offre */
.trace { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 12.5px; }
.trace i { flex: 1 1 24px; min-width: 24px; border-top: 2px dotted var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--water-soft); }
.dot.off { background: #a9bcb9; box-shadow: none; }

.jobs { display: grid; gap: 12px; list-style: none; }
.job { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 14px; }
.job-main { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.job-meta { color: var(--muted); font-size: 14px; margin-top: 4px; }
.job .btn:not(.ghost) { background: var(--card); color: var(--ink); }
.tag { display: inline-block; font: 700 12px var(--body); background: var(--water-soft); color: var(--ink); border-radius: 99px; padding: 1px 9px; margin-right: 8px; }

.btn.sticky { display: none; }
@media (max-width: 620px) {
  .btn.sticky { display: flex; min-height: 54px; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 5; box-shadow: 0 5px 0 var(--coral-deep), 0 12px 28px rgba(7, 51, 58, .3); }
  body:has(.sticky) footer { padding-bottom: 110px; }
  body:has(.sticky) .toast { bottom: 84px; }
}

footer { border-top: 1px solid var(--line); margin-top: 80px; padding-block: 28px 48px; font-size: 13.5px; color: var(--muted); display: grid; gap: 6px; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; width: max-content; max-width: calc(100% - 32px); }

@media (max-width: 620px) {
  .job-main { flex-direction: column; }
  .job-main .btn { width: 100%; }
  .logo { font-size: 20px; }
  .top .btn { display: none; }
  .trace i, .trace > span:first-child, .trace > span:nth-of-type(4) { display: none; }
  .trace .dot { flex: none; }
}
/* blocs « EXEMPLE » : aperçu local seulement */
.demo { position: relative; outline: 2px dashed #e0762f; outline-offset: 4px; }
.demo::after { content: attr(data-demo); position: absolute; top: -12px; right: 6px; background: #e0762f; color: #fff; font: 600 9.5px var(--body); border-radius: 99px; padding: 2px 8px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* avis et note (apercu local) */
img.face { object-fit: cover; }
.stars-row { color: #f0a400; letter-spacing: 1.5px; }
.face { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; font: normal 800 17px var(--display); background: #0b6b6e; color: #fff; }
.face.f1 { background: #ff7551; color: #07333a; } .face.f2 { background: #5be3cb; color: #07333a; } .face.f3 { background: #cfe3e0; color: #07333a; } .face.f4 { background: #ffd65a; color: #07333a; }
.score { display: flex; align-items: center; justify-content: center; gap: 12px; text-align: left; }
.score .faces { display: flex; } .score .face { width: 34px; height: 34px; font-size: 14px; border: 2px solid var(--ink); margin-left: -10px; } .score .face:first-child { margin-left: 0; }
.score b { display: block; font-size: 15px; } .score small { display: block; font-size: 13px; opacity: .85; }
.reviews { display: grid; gap: 12px; width: 100%; max-width: 480px; margin: 56px auto 0; text-align: left; }
.reviews h2 { text-align: center; text-wrap: balance; }
.reviews-score { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 6px; }
.reviews-score strong { font: 800 34px var(--display); } .reviews-score small { color: var(--muted); }
.reviews figure { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 16px; display: grid; gap: 10px; }
.reviews figcaption { display: flex; align-items: center; gap: 12px; }
.reviews figcaption b, .reviews figcaption small { display: block; } .reviews figcaption small, .review-meta small { color: var(--muted); font-size: 13px; }
.review-meta { display: flex; align-items: center; gap: 10px; }
.reviews blockquote { margin: 0; font-size: 15.5px; line-height: 1.5; }
