/* Polices de la refonte (Google Fonts) : doit rester tout en haut du fichier. */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..100,400..900&family=Instrument+Sans:wdth,wght@75..100,400..700&family=Instrument+Serif:ital@0;1&family=Geist+Mono:wght@400;500&display=swap");

/* =========================================================================
   FLEMME — styles (CSS)
   Les couleurs sont des « variables » : changer --acid ici change le vert
   partout sur le site.
   ========================================================================= */

/* ---------- 1. Couleurs et bases ---------- */
:root {
  --ink: #11120e;     /* texte et boutons noirs */
  --paper: #f7f7f1;   /* fond crème */
  --acid: #57d68d;    /* vert « espoir » de la marque */
  --muted: #5a5c52;   /* texte secondaire */
  --line: #dedfd5;    /* bordures */
  --soft: #eceee3;    /* fonds gris clair */
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* Encoche des iPhone (app mobile) */
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
h1:focus, h2:focus { outline: none; }
/* Masqué à l'écran mais lu par les lecteurs d'écran */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Piège à robots des formulaires (honeypot) */
.hp { display: none; }

/* ---------- 2. En-tête et pied de page ---------- */
header { height: 74px; display: flex; align-items: center; justify-content: space-between; max-width: 1120px; margin: auto; padding: 0 24px; }
.logo { font-weight: 950; font-size: 24px; color: inherit; text-decoration: none; letter-spacing: -1px; }
.logo span { color: #1f9d5a; }
footer { max-width: 1120px; margin: 80px auto 20px; padding: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: 13px; }
footer b { color: var(--ink); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
footer a, .check a { color: inherit; }

/* ---------- 3. Écrans (un seul visible à la fois) ---------- */
.view { display: none; }
.view.active { display: block; }

/* ---------- 4. Accueil ---------- */
.hero { max-width: 920px; margin: 7vh auto 0; padding: 24px; text-align: center; }
.badge, .eyebrow { text-transform: uppercase; font-size: 12px; font-weight: 900; letter-spacing: 1.5px; color: #74786a; }
.badge { display: inline-block; background: var(--soft); padding: 9px 13px; border-radius: 99px; }
h1 { font-size: clamp(58px, 10vw, 118px); font-weight: 500; line-height: 1.1; letter-spacing: -1.5px; margin: 30px 0; }
h1 .fl { font-weight: 950; }
h1 em { font-style: normal; font-weight: 500; background: var(--acid); padding: 0 .08em; border-radius: 16px; }

.lead { font-size: clamp(18px, 2.5vw, 25px); line-height: 1.45; max-width: 720px; margin: 0 auto; color: #42443d; }

/* Grand champ « Raconte-nous tout » */
.ask { background: #fff; border: 2px solid var(--ink); border-radius: 24px; padding: 8px; box-shadow: 8px 8px 0 var(--ink); text-align: left; }
.ask textarea { width: 100%; min-height: 110px; resize: none; border: 0; outline: 0; padding: 18px; font: inherit; font-size: 20px; background: transparent; }
.ask-bottom { display: flex; align-items: center; justify-content: space-between; padding: 5px 6px 6px 16px; color: var(--muted); font-size: 12px; }

/* ---------- 5. Boutons ---------- */
.primary, .secondary { border: 0; border-radius: 14px; padding: 16px 20px; font-weight: 900; font-size: 15px; cursor: pointer; }
.primary { background: var(--ink); color: #fff; }
.secondary { background: var(--soft); color: var(--ink); }
.primary:disabled { opacity: .6; cursor: wait; }
.full { width: 100%; margin-top: 28px; }
.back { border: 0; background: transparent; font-weight: 750; cursor: pointer; padding: 10px 0; margin-bottom: 12px; }
#shareBtn { margin-bottom: 10px; }

/* ---------- 6. Écrans en carte (demande, confirmation, facilitateur) ---------- */
.card-screen { max-width: 700px; margin: 4vh auto; padding: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: clamp(25px, 5vw, 50px); }
.card > p { color: var(--muted); line-height: 1.5; }
h2 { font-size: clamp(32px, 6vw, 52px); letter-spacing: -2.5px; line-height: 1; margin: 12px 0 20px; }
.progress { display: flex; gap: 5px; margin-bottom: 25px; }
.progress i { height: 5px; background: var(--line); flex: 1; border-radius: 9px; }
.progress i.on, .progress.done i { background: var(--ink); }

/* Champs de formulaire */
.card label, .lbl, legend { display: block; font-size: 13px; font-weight: 900; margin: 28px 0 9px; }
.card select, .card input[type=text], .card input[type=email], .card input[type=tel], .card textarea { width: 100%; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; }
.card textarea { min-height: 110px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 20px 0 0; }
fieldset .check { margin: 0 0 8px !important; }
legend { margin: 0 0 9px; padding: 0; }
.card .check { display: flex; gap: 10px; align-items: flex-start; margin: 28px 0 9px; font-weight: 500; font-size: 13px; line-height: 1.45; color: var(--muted); }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.err { background: #fde8e6; color: #8a1c12; border-radius: 10px; padding: 12px; font-size: 14px; margin: 14px 0 0; }

/* Proposition */
.status-dot { display: inline-block; background: #eaf8de; color: #31551c; border-radius: 99px; padding: 8px 11px; font-weight: 850; font-size: 12px; }
.summary span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; font-weight: 850; }
.summary { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 22px; }
.summary p { line-height: 1.45; overflow-wrap: anywhere; }
.offer small { display: block; text-align: center; color: var(--muted); margin-top: 10px; }

/* Confirmation */
.success { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--acid); font-weight: 950; font-size: 24px; }
.timeline { margin-top: 30px; }
.timeline div { position: relative; padding: 0 0 28px 34px; border-left: 2px solid var(--line); }
.timeline div:last-child { border-left-color: transparent; }
.timeline div::before { content: ''; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #d7d9cf; left: -7px; top: 2px; }
.timeline .complete::before, .timeline .active-step::before { background: var(--ink); }
.timeline b, .timeline span { display: block; }
.timeline span { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- 7. Pages légales et message sans JavaScript ---------- */
.legal { max-width: 720px; margin: 4vh auto; padding: 24px; line-height: 1.6; }
.legal h1 { font-size: clamp(34px, 7vw, 56px); letter-spacing: -2px; line-height: 1; margin: 16px 0; }
.legal h2 { font-size: 22px; letter-spacing: -.5px; margin: 32px 0 8px; }
.legal mark { background: var(--acid); padding: 0 4px; border-radius: 4px; }
.nojs { max-width: 720px; margin: 16px auto; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-align: center; }

/* ---------- 8. Téléphones ---------- */
@media (max-width: 600px) {
  header { height: 64px; padding: 0 16px; }
  .hero { margin-top: 2vh; padding: 16px; }
  .badge { letter-spacing: .8px; font-size: 11px; }
  h1 { font-size: clamp(44px, 13.5vw, 64px); letter-spacing: -1px; }
  .lead { font-size: 18px; }
  .ask-bottom { align-items: flex-end; gap: 8px; }
  .ask-bottom .primary { padding: 14px 12px; }
  .card-screen { padding: 16px; }
  .card { border-radius: 22px; padding: 25px 20px; }
  footer { margin-top: 40px; flex-direction: column; }
}

/* ---------- 9. Moins d'animations si l'utilisateur le demande ---------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* Bêta publique */
.beta-tag { font-size: 11px; font-weight: 850; letter-spacing: 1px; padding: 8px 12px; border-radius: 99px; background: var(--acid); }
.beta-intro { max-width: 660px; margin: 20px auto 28px; color: var(--muted); line-height: 1.6; }
.beta-note { margin: 24px auto 0; max-width: 760px; padding: 22px; background: var(--soft); border-radius: 18px; text-align: left; }
.beta-note p, .ambassador p { font-size: 14px; line-height: 1.6; color: var(--muted); margin-bottom: 0; }
.ambassador { background: var(--soft); border-radius: 16px; padding: 20px; margin-top: 28px; }
.ambassador legend { float: left; width: 100%; line-height: 1.5; }
.ambassador p { clear: both; }
.ask textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; border-radius: 16px; }

.hero h1 { font-size: clamp(40px, 6.8vw, 76px); line-height: 1.12; }
.hero h1 em { box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.micro { font-size: 13px; color: var(--muted); line-height: 1.5; }
.examples { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 24px 0 60px; font-size: 13px; color: var(--muted); }
.examples button { font: inherit; padding: 10px 14px; border: 1px solid var(--line); border-radius: 99px; background: transparent; color: var(--ink); cursor: pointer; }
.editorial { margin: 70px 0; text-align: left; }
.editorial h2 { font-size: clamp(30px, 4.8vw, 46px); line-height: 1.15; letter-spacing: -1.5px; }
.editorial p { max-width: 700px; font-size: 17px; color: var(--muted); line-height: 1.7; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.steps article { border-top: 1px solid var(--line); padding-top: 20px; }
.steps b { font-size: 14px; color: #198048; }
.steps h3 { font-size: 21px; line-height: 1.3; }
.steps p { font-size: 15px; }
.capabilities { padding: 32px; border-radius: 24px; background: var(--soft); }
.ambassador-panel { background: var(--acid); padding: 32px; border-radius: 24px; }
.ambassador-panel p { color: var(--ink); }
.last-call { text-align: center; }
.last-call p { margin-left: auto; margin-right: auto; }
.optional-details { margin-top: 24px; }
.optional-details summary { cursor: pointer; font-size: 14px; font-weight: 750; }
@media(max-width:600px) { .steps { grid-template-columns: 1fr; gap: 12px; } .editorial { margin: 48px 0; } .capabilities,.ambassador-panel { padding: 24px 20px; } .hero h1 { font-size: 42px; } }

/* =========================================================================
   Refonte visuelle (proposition « Flemme — Refonte ») : fond lavande,
   encre violet-noir, vert « espoir », violet et orange en accents,
   Bricolage Grotesque + DM Mono, cartes à bord épais et ombres pleines.
   ========================================================================= */

:root {
  --ink: #16131f;
  --paper: #ece9ff;
  --acid: #57d68d;
  --violet: #3a2fa0;
  --orange: #ff6b3d;
  --muted: #3f3a55;
  --line: #16131f;
  --soft: #f6f5ff;
  --mono: "DM Mono", ui-monospace, monospace;
}
body { font-family: "Bricolage Grotesque", system-ui, sans-serif; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* En-tête */
header { max-width: 1360px; }
.logo { font-size: 32px; font-weight: 800; letter-spacing: -.04em; text-transform: lowercase; }
.logo span { color: var(--violet); }
.beta-tag { font-family: var(--mono); font-weight: 500; letter-spacing: .08em; background: var(--ink); color: var(--acid); padding: 6px 10px; }

/* Accueil */
.hero { max-width: 1120px; margin-top: 4vh; text-align: left; }
.badge, .eyebrow { font-family: var(--mono); font-weight: 500; letter-spacing: .1em; color: var(--violet); }
.badge { background: transparent; padding: 0; }
.hero h1 { font-size: clamp(54px, 9vw, 132px); font-weight: 800; line-height: .9; letter-spacing: -.055em; margin: 24px 0 28px; }
h1 .fl { display: inline-block; font-weight: 800; background: var(--acid); padding: 0 .12em .04em; border-radius: .14em; transform: rotate(-2.5deg); }
.hero h1 em { display: inline-block; margin-top: .2em; background: none; padding: 0; font-size: .38em; font-weight: 600; font-style: italic; letter-spacing: -.03em; line-height: 1.05; }
.lead { margin: 0; max-width: 760px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.beta-intro { margin: 18px 0 32px; max-width: 760px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.micro { font-family: var(--mono); color: var(--muted); }

/* Grand champ */
.ask { border: 3px solid var(--ink); border-radius: 32px; padding: 10px; box-shadow: 12px 12px 0 var(--violet); }
.ask textarea { font-size: 21px; }
.ask textarea::placeholder { color: #7a7494; }
.ask-bottom { font-family: var(--mono); }

/* Boutons en pilule */
.primary, .secondary { border-radius: 999px; padding: 16px 26px; font-family: inherit; font-weight: 800; font-size: 17px; min-height: 52px; }
.primary { background: var(--ink); color: var(--acid); }
.primary:hover { background: var(--violet); color: #fff; }
.secondary { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.back { font-family: inherit; }

/* Exemples */
.examples { justify-content: flex-start; font-family: var(--mono); }
.examples button { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: 15px; font-weight: 600; min-height: 44px; padding: 10px 18px; border: 2px solid var(--ink); background: #fff; }
.examples button:hover { background: var(--acid); }

/* Sections éditoriales */
.editorial { margin: 96px 0; }
.editorial h2 { font-size: clamp(38px, 5.6vw, 76px); font-weight: 800; letter-spacing: -.05em; line-height: .95; }
.editorial p { font-size: 18px; line-height: 1.6; color: var(--muted); }

/* Les 3 étapes : cartes blanche, verte, noire, légèrement inclinées */
.steps { gap: 20px; }
.steps article { border: 3px solid var(--ink); border-radius: 28px; padding: 28px; background: #fff; transform: rotate(-1deg); }
.steps article:nth-child(2) { background: var(--acid); transform: rotate(.8deg); }
.steps article:nth-child(3) { background: var(--ink); color: var(--paper); transform: rotate(-.6deg); }
.steps article:nth-child(3) p { color: #d9d5f0; }
.steps article:nth-child(3) b { color: var(--acid); }
.steps article:nth-child(2) p, .steps article:nth-child(2) b { color: var(--ink); }
.steps b { font-family: var(--mono); font-weight: 500; font-size: 15px; color: var(--violet); }
.steps h3 { font-size: 28px; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }

/* « Rechercher. Comparer. Organiser. Trouver. » */
.capabilities { background: #fff; border: 3px solid var(--ink); border-radius: 32px; padding: clamp(28px, 5vw, 56px); }
.capabilities h2 { font-size: clamp(48px, 8vw, 112px); letter-spacing: -.06em; line-height: .92; }

/* « Faites-le pour moi » : bloc sombre */
.capabilities + .editorial { background: var(--ink); color: var(--paper); border-radius: 32px; padding: clamp(28px, 5vw, 64px); }
.capabilities + .editorial h2 { font-size: clamp(52px, 8.5vw, 124px); }
.capabilities + .editorial .eyebrow { color: var(--acid); }
.capabilities + .editorial p { color: #d9d5f0; }

/* Ambassadeurs : bloc orange */
.ambassador-panel { background: var(--orange); border: 3px solid var(--ink); border-radius: 36px; padding: clamp(28px, 5vw, 56px); box-shadow: 12px 12px 0 var(--ink); }
.ambassador-panel .eyebrow { color: var(--ink); }
.ambassador-panel .micro { color: var(--ink); }

/* Dernier appel */
.last-call h2 { font-size: clamp(48px, 7.5vw, 104px); }

/* Écrans en carte (demande, confirmation, facilitateur) */
.card { border: 3px solid var(--ink); border-radius: 32px; box-shadow: 12px 12px 0 var(--violet); }
.card-screen h2 { font-weight: 800; letter-spacing: -.045em; }
.card select, .card input[type=text], .card input[type=email], .card input[type=tel], .card textarea { border: 2px solid var(--ink); border-radius: 14px; background: var(--soft); }
.status-dot { font-family: var(--mono); font-weight: 500; background: var(--ink); color: var(--acid); }
.summary { border-top: 2px solid var(--ink); }
.summary span { font-family: var(--mono); font-weight: 500; color: var(--violet); }
.ambassador { background: var(--soft); border: 2px solid var(--ink); border-radius: 20px; }
.progress i { background: #cfc9f2; }
.timeline div { border-left-color: #cfc9f2; }
.timeline div::before { background: #cfc9f2; }

/* Pied de page */
footer { max-width: 1360px; font-family: var(--mono); font-size: 14px; color: var(--muted); }
footer b { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: clamp(64px, 16vw, 220px); font-weight: 800; letter-spacing: -.07em; line-height: .85; text-transform: lowercase; flex-basis: 100%; }

/* Pages légales */
.legal h1 { font-weight: 800; letter-spacing: -.05em; }

@media (max-width: 600px) {
  .hero h1 { font-size: 54px; }
  .hero h1 em { font-size: .5em; }
  .steps article, .steps article:nth-child(2), .steps article:nth-child(3) { transform: none; }
  .ask, .card { box-shadow: 8px 8px 0 var(--violet); }
  .ambassador-panel { box-shadow: 8px 8px 0 var(--ink); }
}

/* ---------- Les flemmes du moment : les 7 résultats concrets ---------- */
#heroLead { margin-bottom: 28px; }
.ideas { margin: 48px 0 24px; }
.ideas-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.04em; margin: 6px 0 20px; }
.promise { font-size: 18px; font-weight: 700; margin: 0 0 22px; }
.ico { width: 1em; height: 1em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.cat-head > .ico { font-size: 30px; }

/* Les 7 résultats concrets : cartes avec menu déroulant (survol ou clic) */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.cat { position: relative; display: flex; flex-direction: column; }
.cat-head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: 100%; min-height: 150px; text-align: left; font: inherit; color: var(--ink); padding: 18px 18px 40px; border: 3px solid var(--ink); border-radius: 22px; background: #fff; cursor: pointer; box-shadow: 5px 5px 0 var(--ink); transition: background .12s; }
.cat-top { position: relative; flex: 1; display: flex; }
.cat-top .cat-head { flex: 1; }
.cat-toggle { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; font: inherit; font-size: 16px; color: var(--ink); background: var(--soft); border: 2px solid var(--ink); border-radius: 50%; cursor: pointer; transition: transform .15s; }
.cat.open .cat-toggle { transform: rotate(180deg); }
.cat-title { font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.cat-tag { font-size: 14px; font-style: italic; color: var(--muted); line-height: 1.35; }
.cat.open .cat-head { background: var(--acid); }
.cat-menu { display: none; position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; width: max(100%, 340px); max-width: calc(100vw - 32px); background: #fff; border: 3px solid var(--ink); border-radius: 20px; padding: 14px; box-shadow: 8px 8px 0 var(--violet); }
.cat.open .cat-menu { display: block; }
/* Pont invisible entre la carte et le menu : la souris peut y descendre sans le fermer */
.cat-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.cat-menu ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.svc-item { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.25; color: var(--ink); background: var(--soft); border: 2px solid transparent; border-radius: 12px; padding: 9px 11px; cursor: pointer; }
.svc-item:hover, .svc-item:focus-visible { border-color: var(--ink); background: var(--acid); }
.svc-item .ico { font-size: 20px; }
.cat-toggle .ico { font-size: 18px; vertical-align: middle; }
.svc-result { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); border-top: 2px dashed var(--ink); padding-top: 10px; }
.svc-result b { color: var(--violet); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
/* Ouverture au survol avec une souris */
@media (hover: hover) and (pointer: fine) {
  .cat:hover .cat-menu { display: block; }
  .cat:hover .cat-head { background: var(--acid); }
  .cat:hover .cat-toggle { transform: rotate(180deg); }
}
/* Les cartes de droite ouvrent leur menu vers la gauche pour rester dans l'écran */
@media (min-width: 900px) { .cat:nth-child(4n) .cat-menu { left: auto; right: 0; } }
/* Sur mobile, le menu s'ouvre dans le flux, sous la carte */
@media (max-width: 600px) {
  .cat-head { min-height: 0; }
  .cat-menu { position: static; width: auto; max-width: none; margin-top: 8px; box-shadow: 5px 5px 0 var(--violet); }
}
@media (prefers-reduced-motion: reduce) { .cat-head, .cat-toggle { transition: none; } }

/* ---------- Formulaire : dictée, précisions, message vocal, pièces jointes ---------- */
.tool-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 999px; cursor: pointer; }
.tool-btn .ico { font-size: 18px; }
.tool-btn:hover { background: var(--acid); }
.tool-btn.rec { background: var(--orange); }
.tool-btn.rec .ico { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.ask-bottom { gap: 10px; }
.ask-bottom .tool-btn { margin-right: auto; }
#precisions { min-height: 130px; }
.voice, .files { margin-top: 18px; display: grid; gap: 8px; justify-items: start; }
.files-title { font-weight: 700; font-size: 15px; }
.voice-timer { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.voice-preview { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; width: 100%; }
.voice-preview audio { flex: 1 1 220px; max-width: 100%; }
.file-slot { display: block; width: 100%; margin: 0; }
.file-slot input { width: 100%; font: inherit; font-size: 15px; padding: 10px; border: 2px dashed var(--ink); border-radius: 14px; background: var(--soft); }
.files .micro { margin: 0; }
@media (prefers-reduced-motion: reduce) { .tool-btn.rec .ico { animation: none; } }
.ask-bottom .primary { margin-left: auto; }
.ask-bottom .tool-btn { font-family: "Bricolage Grotesque", system-ui, sans-serif; }
.voice-msg { font-size: 13px; color: var(--muted); }
.voice-msg:empty { display: none; }
.ask-bottom { flex-wrap: wrap; }
@media (max-width: 600px) {
  .ask-bottom .voice-msg { order: 3; flex-basis: 100%; padding-bottom: 6px; }
}

/* ---------- Brigade anti-flemme : bandeau de recrutement (accueil) ---------- */
/* La page rejoindre.html a ses propres styles dans rejoindre.css. */
.brigade-panel { background: var(--acid); border: 3px solid var(--ink); border-radius: 36px; padding: clamp(28px, 5vw, 56px); box-shadow: 12px 12px 0 var(--violet); }
.brigade-panel .eyebrow, .brigade-panel p { color: var(--ink); }
.recruit { margin-top: 18px; font-size: 14px; }
.recruit a { color: var(--ink); font-weight: 800; }
@media (max-width: 600px) {
  .brigade-panel { padding: 24px 20px; box-shadow: 8px 8px 0 var(--violet); }
  .recruit-link { display: none; }
}

/* Navigation principale — V4, 20 octobre 2026 */
header { height: auto; min-height: 74px; flex-wrap: wrap; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; }
.site-nav a:hover, .site-nav a:focus-visible { background: var(--acid); }
@media (max-width: 600px) { .site-nav { order: 3; flex-basis: 100%; gap: 4px; } .site-nav a { font-size: 14px; padding: 8px 10px; } }

/* Services disponibles et ambitions — 20 octobre 2026 */
#services .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ambitions { margin-top: 80px; padding-top: 40px; border-top: 2px solid var(--ink); }
.ambitions-intro { max-width: 720px; color: var(--muted); line-height: 1.6; }
.ambition-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; margin: 28px 0; }
.ambition-grid li { padding: 24px; background: var(--soft); border: 2px dashed var(--violet); border-radius: 22px; }
.ambition-status { display: inline-block; color: var(--violet); font: 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.ambition-grid h3 { margin: 14px 0 0; font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
.ambitions-more { font-size: 22px; font-weight: 800; color: var(--violet); }
@media (max-width: 900px) { #services .cat-grid, .ambition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { #services .cat-grid, .ambition-grid { grid-template-columns: 1fr; } .ambitions { margin-top: 56px; } }

/* Accroche V4.100 — 20 octobre 2026 */
.hero h1 .not-us { color: var(--violet); }
.live-clock { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 16px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font: 15px var(--mono); font-variant-numeric: tabular-nums; }
.live-clock time::first-letter { text-transform: uppercase; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 0 var(--acid); animation: live-pulse 1.6s infinite; }
@keyframes live-pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* Typographie « Affiche condensée » — V4.100, 20 octobre 2026
   Titres et sous-titres : Archivo étroit en capitales. Chute des titres : Instrument Serif italique.
   Texte : Instrument Sans. Boutons et menu : Archivo semi-étroit en capitales. Étiquettes : Geist Mono. */
:root {
  --display: "Archivo", "Arial Narrow", sans-serif;
  --text: "Instrument Sans", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}
body { font-family: var(--text); }

/* Titres */
h1, h2, .logo, footer b, .ideas-title, .pay-grid b {
  font-family: var(--display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em;
}
h1, h2 { line-height: .9; }
.hero h1 { font-size: clamp(64px, 11vw, 156px); font-weight: 900; line-height: .86; letter-spacing: -.01em; }
h1 .fl { font-weight: 900; }
.hero h1 .not-us { display: inline-block; font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; font-size: .8em; letter-spacing: -.02em; line-height: 1; }
.ideas-title { font-size: clamp(36px, 5.2vw, 60px); line-height: .92; }
.editorial h2 { font-size: clamp(44px, 6.4vw, 88px); letter-spacing: -.01em; line-height: .9; }
.card-screen h2, .legal h1 { letter-spacing: -.01em; }
.logo { font-size: 34px; letter-spacing: 0; }
footer b { letter-spacing: -.01em; }

/* Sous-titres */
h3, .cat-title, .how b, .rank-list b, .faq summary {
  font-family: var(--display); font-stretch: 62%; font-weight: 800; text-transform: uppercase; letter-spacing: 0; line-height: 1;
}
.cat-title { font-size: 24px; }
.steps h3 { font-size: 34px; }
.ambition-grid h3 { font-size: 26px; line-height: 1.02; }
.ambitions-more { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px; }
.how b, .rank-list b { font-size: 26px; }
.faq summary { font-size: 24px; }

/* Boutons et menu */
.primary, .secondary, .site-nav a, .head-link, .btn-link, .examples button, .tool-btn, .ask-bottom .tool-btn, .ai-fab, .social-btn, .danger, .tabs button {
  font-family: var(--display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
}
.primary, .secondary { font-size: 16px; }
.site-nav a { font-size: 15px; }

/* =========================================================================
   V5 — 21 octobre 2026
   Couleurs : bleu glacier à la place du vert, fond bleu pastel avec reflets.
   Arborescence : menus déroulants, pages dédiées, recherche (nav.js).
   ========================================================================= */

/* Couleurs : --acid garde son nom (utilisé partout) mais devient le bleu glacier. */
:root {
  --acid: #a5ccff;
  --glacier-deep: #4f86d9;
  --paper: #e3eeff;
  --soft: #f3f7ff;
}
.logo span { color: var(--glacier-deep); }
/* Titres plus lisibles : plus d'espace entre les mots (la chute « Pas nous. » garde le sien). */
h1, h2, .ideas-title, .menu-home, .menu-title { word-spacing: .22em; letter-spacing: .01em; }
.hero h1 { letter-spacing: .01em; }
.hero h1 .not-us { word-spacing: normal; }
/* Le mot « flemme » du titre d'accueil reste surligné en vert, seule touche verte du site. */
.hero h1 .fl { background: #57d68d; }

/* Fond « Glacier profond » : nappes lilas, rose, aqua et bleu qui dérivent, ombres bleues dans
   les coins, deux sphères floues, un reflet nacré qui passe et un léger grain. */
body { background: var(--paper); position: relative; isolation: isolate; }
body::before, body::after { content: ""; position: fixed; inset: -20vmax; z-index: -1; pointer-events: none; }
body::before {
  background:
    radial-gradient(60vmax 40vmax at 100% 0%, rgba(40, 80, 170, .28), transparent 65%),
    radial-gradient(55vmax 40vmax at 0% 100%, rgba(40, 80, 170, .28), transparent 65%),
    radial-gradient(18vmax 18vmax at 18% 55%, rgba(170, 150, 255, .55), transparent 70%),
    radial-gradient(18vmax 18vmax at 84% 70%, rgba(120, 220, 225, .5), transparent 70%),
    radial-gradient(38vmax 30vmax at 12% 18%, rgba(170, 150, 255, .6), transparent 70%),
    radial-gradient(34vmax 28vmax at 88% 22%, rgba(255, 182, 220, .5), transparent 70%),
    radial-gradient(40vmax 32vmax at 70% 85%, rgba(120, 220, 225, .55), transparent 70%),
    radial-gradient(36vmax 30vmax at 20% 90%, rgba(120, 175, 255, .75), transparent 70%);
  animation: v5-drift 28s ease-in-out infinite alternate;
}
body::after {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .7) 47%, rgba(255, 255, 255, .12) 53%, transparent 65%);
  animation: v5-sheen 16s ease-in-out infinite alternate;
}
@keyframes v5-drift { to { transform: translate3d(4vmax, -3vmax, 0) rotate(8deg) scale(1.08); } }
@keyframes v5-sheen { from { transform: translateX(-18vmax); } to { transform: translateX(18vmax); } }
@media (prefers-reduced-motion: reduce) { body::before, body::after { animation: none; } }

/* Menus déroulants des onglets */
@media (min-width: 1100px) { header { flex-wrap: nowrap; } .site-nav { flex-wrap: nowrap; } .site-nav a { white-space: nowrap; } }
.site-nav { align-items: center; }
.nav-item { position: relative; display: inline-flex; align-items: center; }
.site-nav a[aria-current="page"] { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.nav-toggle { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.nav-toggle .ico { width: 16px; height: 16px; transition: transform .2s; }
.nav-toggle:hover, .nav-toggle:focus-visible { background: var(--acid); }
.nav-sub { display: none; position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; min-width: 240px; margin: 0; padding: 8px; list-style: none; background: #fff; border: 3px solid var(--ink); border-radius: 22px; box-shadow: 8px 8px 0 var(--violet); }
.nav-sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; } /* pont pour ne pas perdre le survol */
.nav-sub a { display: flex; min-height: 44px; width: 100%; padding: 10px 14px; border-radius: 14px; font-size: 14px; white-space: nowrap; }
.nav-sub a:hover, .nav-sub a:focus-visible { background: var(--acid); }
.nav-item.open .nav-sub { display: block; }
.nav-item.open .nav-toggle .ico { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
  .nav-item:hover .nav-sub { display: block; }
  .nav-item:hover .nav-toggle .ico { transform: rotate(180deg); }
}
/* Menu burger (sous 1100 px) : les onglets sont masqués, le bouton « Menu » ouvre un panneau. */
@media (min-width: 1100px) { .menu-btn { display: none !important; } }
@media (max-width: 1099px) { .site-nav { display: none; } header { flex-wrap: nowrap; } }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 18px 8px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; cursor: pointer; font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.menu-btn:hover, .menu-btn:focus-visible { background: var(--glacier-deep); }
.menu-bars { display: grid; gap: 4px; width: 18px; }
.menu-bars i { display: block; height: 2px; border-radius: 2px; background: currentColor; }
.menu-bars i:nth-child(2) { width: 70%; }
.menu-dlg { width: min(1120px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: 16px auto auto; padding: clamp(20px, 3vw, 36px); border: 3px solid var(--ink); border-radius: 32px; background: #fff; color: var(--ink); box-shadow: 12px 12px 0 var(--violet); overflow: auto; }
.menu-dlg::backdrop { background: rgba(22, 19, 31, .35); backdrop-filter: blur(6px); }
.menu-dlg[open] { animation: menu-in .22s ease-out; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }
.menu-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; margin-bottom: 24px; border-bottom: 2px solid var(--ink); }
.menu-home, .menu-title { font-family: var(--display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; color: var(--ink); text-decoration: none; line-height: .95; }
.menu-home { font-size: 32px; }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.menu-title { display: inline-block; font-size: clamp(28px, 2.6vw, 36px); margin-bottom: 14px; padding: 0 .1em; border-radius: .14em; }
.menu-title:hover, .menu-title:focus-visible, .menu-title[aria-current="page"] { background: var(--acid); }
.menu-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.menu-col li a { display: flex; align-items: center; min-height: 40px; padding: 6px 10px; margin-left: -10px; border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 16px; }
.menu-col li a:hover, .menu-col li a:focus-visible { background: var(--soft); text-decoration: underline; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 2px solid var(--ink); }
.menu-foot .secondary { display: inline-flex; align-items: center; gap: 8px; }
.menu-foot .ico { width: 18px; height: 18px; }
@media (max-width: 600px) {
  .menu-dlg { width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; border: 0; border-radius: 0; box-shadow: none; padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .menu-cols { grid-template-columns: 1fr; gap: 22px; }
  .menu-title { font-size: 34px; margin-bottom: 6px; }
  .menu-foot .primary, .menu-foot .secondary { flex: 1 1 100%; justify-content: center; }
  .menu-btn-txt { display: none; }
  .menu-btn { padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) { .menu-dlg[open] { animation: none; } }

/* En-tête collant : fond flouté sur toute la largeur dès qu'on a défilé. */
header { position: sticky; top: 0; z-index: 30; }
header::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: transparent; transition: background .2s, box-shadow .2s; }
header.scrolled::before { background: rgba(234, 242, 255, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(22, 19, 31, .12); }
#services, #ambassadors, #brigade, .page-section, .svc-card, #pourquoi, #comment, #remuneration, #grades, #faq, #postuler { scroll-margin-top: 96px; }

/* Bouton « Confier ma flemme » collant (mobile seulement) */
.sticky-cta { display: none; }
@media (max-width: 600px) {
  .sticky-cta { display: flex; justify-content: center; position: fixed; z-index: 45; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); box-shadow: 4px 4px 0 var(--violet); transition: transform .25s, opacity .25s; }
  .sticky-cta.off { transform: translateY(140%); opacity: 0; pointer-events: none; }
  body:has(.sticky-cta:not(.off)) .ai-fab { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  footer { padding-bottom: 96px; }
}

/* Formulaire : étape en cours */
.stepper { display: flex; gap: 8px; list-style: none; margin: 0 0 8px; padding: 0; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: 999px; background: rgba(255, 255, 255, .6); color: var(--muted); font-family: var(--display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }
.stepper b { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; border: 2px solid currentColor; font: 500 13px var(--mono); }
.stepper li.on { background: var(--ink); color: #fff; }
.stepper li.on b { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.stepper li.done { background: var(--acid); color: var(--ink); }
.stepper-note { margin: 0 0 22px; font: 13px var(--mono); color: var(--muted); }

/* Recherche */
.head-right { display: flex; align-items: center; gap: 8px; }
.search-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; font: 500 13px var(--mono); }
.search-btn:hover, .search-btn:focus-visible { background: var(--acid); }
.search-btn .ico { width: 18px; height: 18px; }
.search-btn-txt::after { content: "/"; margin-left: 10px; padding: 1px 6px; border: 1px solid var(--muted); border-radius: 6px; font-size: 11px; color: var(--muted); }
@media (max-width: 600px) { .search-btn-txt { display: none; } .search-btn { padding: 8px 10px; } }
.search-dlg { width: min(640px, calc(100vw - 32px)); margin: 10vh auto auto; padding: 0; border: 3px solid var(--ink); border-radius: 26px; box-shadow: 12px 12px 0 var(--violet); background: #fff; color: var(--ink); }
.search-dlg::backdrop { background: rgba(22, 19, 31, .35); backdrop-filter: blur(4px); }
.search-form { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 20px; border-bottom: 2px solid var(--ink); }
.search-form > .ico { width: 22px; height: 22px; flex: none; }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 18px var(--text); color: var(--ink); padding: 10px 0; }
.search-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); cursor: pointer; color: var(--ink); }
.search-close .ico { width: 18px; height: 18px; }
.search-results { list-style: none; margin: 0; padding: 8px; max-height: 55vh; overflow: auto; }
.search-results a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; color: var(--ink); text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible { background: var(--acid); }
.search-where { font: 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--violet); }
.search-label { font-weight: 600; }
.search-empty { padding: 4px 22px 20px; color: var(--muted); }

/* Pages dédiées (services, démarche, ambassadeurs) */
.page { max-width: 1120px; margin: auto; padding: 0 24px; }
.page .page-hero { padding: 0; margin: 4vh 0 0; }
.page-hero h1 { font-size: clamp(54px, 9vw, 120px); margin: 18px 0 24px; }
.page-hero .lead { margin: 0; }
.crumbs { margin-top: 16px; font: 13px var(--mono); color: var(--muted); }
.crumbs a { color: inherit; }
.page-section { margin: 96px 0; }
.page-section h2 { font-size: clamp(40px, 5.6vw, 76px); margin: 12px 0 28px; }
.page-section > p { max-width: 720px; font-size: 19px; line-height: 1.6; }
.more-link { margin: 20px 0 0; }
.more-link a { font-family: var(--display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); text-underline-offset: 4px; }
.cta-panel { background: var(--acid); border: 3px solid var(--ink); border-radius: 36px; padding: clamp(28px, 5vw, 56px); box-shadow: 12px 12px 0 var(--violet); }
.cta-panel .eyebrow { color: var(--ink); }

/* Services : cartes détaillées */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: #fff; border: 3px solid var(--ink); border-radius: 28px; box-shadow: 8px 8px 0 var(--violet); }
.svc-card-head { display: flex; align-items: center; gap: 12px; }
.svc-card-head .ico { width: 30px; height: 30px; flex: none; padding: 8px; box-sizing: content-box; background: var(--acid); border-radius: 14px; }
.svc-card h3 { margin: 0; font-size: 26px; }
.svc-card-tag { margin: 0; color: var(--muted); line-height: 1.5; }
.svc-card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.svc-card-list a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 2px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; line-height: 1.3; }
.svc-card-list a:hover, .svc-card-list a:focus-visible { background: var(--acid); }
.svc-card-list .ico { width: 18px; height: 18px; flex: none; }
.svc-card .svc-result { margin: auto 0 0; font-size: 14px; line-height: 1.5; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } .page { padding: 0 16px; } .page-section { margin: 64px 0; } }

/* Démarche : étapes et engagements */
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps-list li { padding: 28px; background: #fff; border: 3px solid var(--ink); border-radius: 28px; }
.steps-list li:nth-child(2) { background: var(--acid); }
.steps-list b { font: 500 15px var(--mono); color: var(--violet); }
.steps-list h3 { font-size: 32px; margin: 12px 0; }
.steps-list p { margin: 0; line-height: 1.55; }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 820px; }
.promise-list li { padding: 18px 22px; background: rgba(255, 255, 255, .75); border: 2px solid var(--ink); border-radius: 20px; font-size: 18px; line-height: 1.5; }
.promise-list a { color: inherit; }
.role-grid p { margin: 10px 0 0; line-height: 1.5; }
.role-grid li { background: rgba(255, 255, 255, .7); }
@media (max-width: 900px) { .steps-list { grid-template-columns: 1fr; } }
.head-link { white-space: nowrap; }
