/* Pages d'audit : hero en deux colonnes (texte + choix / visuel), visuel « carte + IA + note ». */
.ah { position: relative; overflow: hidden; padding: 48px 0 40px; background:
  radial-gradient(900px 500px at 85% 10%, rgba(48,75,254,0.10), transparent 60%),
  radial-gradient(700px 400px at 0% 100%, rgba(58,207,145,0.08), transparent 60%), #F6F8FF; }
.ah-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.ah-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 0.8rem; margin: 0 0 14px; }
.ah h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 16px; color: #11163A; }
.ah h1 .hl { color: var(--brand); display: block; }
.ah-sub { font-size: 1.08rem; color: #3C4257; max-width: 560px; margin: 0 0 26px; line-height: 1.6; }
.ah-q { font-family: var(--font-heading, inherit); font-weight: 700; font-size: 1.15rem; color: #11163A; margin: 0 0 14px; }

/* Choix : une ligne = une situation + son bouton */
.choices { display: grid; gap: 12px; max-width: 600px; }
.choice { display: flex; align-items: center; gap: 14px; padding: 14px 14px 14px 16px; background: #fff; border: 1.5px solid #E4E8F3; border-radius: var(--radius-card, 12px); text-decoration: none; color: inherit; box-shadow: 0 2px 14px rgba(17,22,58,0.05); transition: border-color .15s, box-shadow .15s, transform .15s; }
.choice:hover { border-color: var(--brand); box-shadow: 0 8px 28px rgba(48,75,254,0.14); transform: translateY(-1px); }
.c-ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 10px; background: #EEF1FF; display: grid; place-items: center; }
.c-ico img { width: 26px; height: 26px; object-fit: contain; }
.c-txt { flex: 1; min-width: 0; }
.c-txt b { display: block; font-family: var(--font-heading, inherit); font-size: 1.05rem; color: #11163A; }
.c-txt small { display: block; font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.c-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 11px 18px; border-radius: var(--radius-btn, 8px); background: var(--brand); color: #fff; font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.choice:hover .c-btn { background: var(--brand-hover); }
.c-new { display: inline-block; margin-left: 6px; vertical-align: 2px; font-size: 0.62rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 7px; border-radius: 4px; background: #E7F8F0; color: #15803D; }
.ah-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 0.88rem; color: #3C4257; }
.ah-checks li::before { content: "✓"; color: var(--success); font-weight: 800; margin-right: 6px; }

/* Visuel : fenêtre de recherche locale + carte + réponse IA + note */
.viz { position: relative; max-width: 500px; width: 100%; margin: 0 auto; padding: 66px 18px 62px; }
.viz-win { position: relative; background: #fff; border: 1px solid #E4E8F3; border-radius: 14px; box-shadow: 0 24px 60px rgba(17,22,58,0.12); padding: 14px; }
.viz-dots { display: flex; gap: 6px; margin: 0 0 12px 4px; }
.viz-dots i { width: 9px; height: 9px; border-radius: 50%; background: #FF6159; }
.viz-dots i:nth-child(2) { background: #FFBD2E; } .viz-dots i:nth-child(3) { background: #28C840; }
.viz-search { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid #E4E8F3; border-radius: 8px; font-size: 0.85rem; color: #4B5268; }
.viz-search img { width: 16px; height: 16px; margin-left: auto; }
.viz-map { position: relative; height: 130px; margin: 12px 0 8px; border-radius: 14px; overflow: hidden; background: #E8F0E3; }
.viz-map .park { position: absolute; left: 8%; top: 10%; width: 28%; height: 42%; border-radius: 40%; background: #CFE6C4; }
.viz-map .water { position: absolute; right: -10%; bottom: -30%; width: 45%; height: 70%; border-radius: 50%; background: #BFD9F2; }
.viz-map .road { position: absolute; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.03); }
.viz-map .r1 { left: -5%; right: -5%; top: 58%; height: 9px; transform: rotate(-7deg); }
.viz-map .r2 { top: -10%; bottom: -10%; left: 44%; width: 8px; transform: rotate(14deg); }
.viz-map .r3 { top: -10%; bottom: -10%; left: 74%; width: 6px; transform: rotate(-22deg); }
.pin { position: absolute; width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #EA4335; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.pin span { transform: rotate(45deg); color: #fff; font-weight: 800; font-size: 0.78rem; }
.pin.p1 { left: 22%; top: 18%; } .pin.p2 { left: 52%; top: 34%; } .pin.p3 { left: 80%; top: 12%; }
.pin.you { left: 64%; top: 70%; width: 22px; height: 22px; background: #9AA3B5; }
.viz-list { list-style: none; margin: 0; padding: 0; }
.viz-list li { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid #EEF0F5; font-size: 0.86rem; }
.viz-list .rk { width: 24px; height: 24px; border-radius: 50%; background: #11163A; color: #fff; font-weight: 700; font-size: 0.72rem; display: grid; place-items: center; flex-shrink: 0; }
.viz-list b { font-weight: 600; color: #11163A; }
.viz-list .st { margin-left: auto; font-weight: 700; color: #11163A; white-space: nowrap; }
.viz-list .st::before { content: "★ "; color: #F5A623; }
.viz-list .av { color: var(--text-muted); font-weight: 400; font-size: 0.76rem; }
.viz-you { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 12px; border: 1.5px dashed #F3A6A6; border-radius: 12px; background: #FFF6F6; }
.viz-you .x { width: 26px; height: 26px; border-radius: 50%; background: #E5484D; color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.viz-you b { display: block; font-size: 0.86rem; color: #11163A; }
.viz-you small { display: block; font-size: 0.76rem; color: #C2262D; }
.viz-float { position: absolute; background: #fff; border: 1px solid #E4E8F3; border-radius: 12px; box-shadow: 0 14px 36px rgba(17,22,58,0.14); padding: 10px 12px; display: flex; align-items: center; gap: 10px; }
.viz-ai { top: 0; right: 0; max-width: 250px; }
.viz-ai img { width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; }
.viz-ai p { margin: 0; font-size: 0.76rem; line-height: 1.35; color: #3C4257; }
.viz-ai p b { color: #11163A; }
.viz-score { left: 0; bottom: 0; }
.ring-sm { position: relative; width: 58px; height: 58px; }
.ring-sm svg { transform: rotate(-90deg); }
.ring-sm .t { fill: none; stroke: #EEF0F5; stroke-width: 7; }
.ring-sm .f { fill: none; stroke: var(--brand); stroke-width: 7; stroke-linecap: round; }
.ring-sm b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-heading, inherit); font-size: 1.2rem; color: #11163A; }
.viz-score p { margin: 0; font-family: var(--font-heading, inherit); font-weight: 700; font-size: 0.86rem; line-height: 1.2; color: #11163A; }
.viz-score small { display: block; font-family: var(--font, inherit); font-weight: 400; font-size: 0.72rem; color: var(--text-muted); }
.viz-rank { right: 8px; bottom: 6px; }
.viz-rank b { font-family: var(--font-heading, inherit); font-size: 1.5rem; color: #C2410C; line-height: 1; }
.viz-rank p { margin: 0; font-size: 0.74rem; line-height: 1.3; color: #3C4257; }

/* Bandeau plateformes */
.ah-platforms { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.ah-platforms span { font-size: 0.78rem; color: var(--text-muted); margin-right: 4px; }
.ah-platforms .pf { width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid #E4E8F3; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(17,22,58,0.05); }
.ah-platforms .pf img { width: 20px; height: 20px; object-fit: contain; }
.ah-platforms .pf img.fill { width: 100%; height: 100%; border-radius: 50%; }

/* Hero de l'audit fiche Google : recherche intégrée */
.ah-gmb { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; }
.ah-gmb img { height: 64px; width: auto; }
.ah-gmb .ah-kicker { margin: 0; }
.ah-benefits { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.ah-benefits li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.98rem; color: #2B3044; }
.ah-benefits li::before { content: "✓"; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: #E7F8F0; color: #15803D; font-weight: 800; font-size: 0.75rem; display: grid; place-items: center; }
.ah-search { position: relative; max-width: 600px; }
.ah-search-bar { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: var(--radius-card, 12px); border: 2px solid #DDE2F0; background: #fff; box-shadow: 0 10px 34px rgba(17,22,58,0.10); }
.ah-search-bar:focus-within { border-color: var(--brand); }
.ah-search-bar svg { margin-left: 14px; flex-shrink: 0; color: var(--text-muted); }
.ah-search-bar input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 12px 6px; font-size: 1rem; color: var(--text); font-family: inherit; }
.ah-search-bar button { border: 0; border-radius: var(--radius-btn, 8px); background: var(--brand); color: #fff; font-weight: 700; font-size: 0.95rem; padding: 13px 22px; cursor: pointer; white-space: nowrap; font-family: inherit; }
.ah-search-bar button:hover { background: var(--brand-hover); }
.ah-tip { font-size: 0.8rem; color: var(--text-muted); margin: 10px 0 0 6px; }
.ah-tip a { color: var(--brand); font-weight: 600; text-underline-offset: 3px; }

/* Visuel « exemple de rapport » */
.report { position: relative; background: #fff; border: 1px solid #E4E8F3; border-radius: 14px; box-shadow: 0 24px 60px rgba(17,22,58,0.12); padding: 18px; }
.report-tag { position: absolute; top: -12px; left: 18px; font-size: 0.68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: #EEF1FF; border: 1px solid #D5DCFF; border-radius: 4px; padding: 3px 10px; }
.report-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #EEF0F5; }
.report-head img { width: 36px; height: 36px; }
.report-head b { display: block; color: #11163A; }
.report-head small { display: block; font-size: 0.8rem; color: var(--text-muted); }
.report-score { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #EEF0F5; }
.ring-md { position: relative; width: 86px; height: 86px; flex-shrink: 0; }
.ring-md svg { transform: rotate(-90deg); }
.ring-md .t { fill: none; stroke: #EEF0F5; stroke-width: 9; }
.ring-md .f { fill: none; stroke: #FF9F43; stroke-width: 9; stroke-linecap: round; }
.ring-md b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-heading, inherit); font-size: 1.6rem; color: #C2410C; }
.report-score p { margin: 0; font-weight: 700; color: #11163A; }
.report-score small { display: block; font-weight: 400; font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.report-rows { list-style: none; margin: 0; padding: 8px 0 0; }
.report-rows li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.86rem; color: #2B3044; }
.report-rows .ok, .report-rows .ko { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-weight: 800; font-size: 0.75rem; flex-shrink: 0; }
.report-rows .ok { background: #E7F8F0; color: #15803D; } .report-rows .ko { background: #FFF1E3; color: #C2410C; }
.report-rows em { margin-left: auto; font-style: normal; font-weight: 700; color: #11163A; white-space: nowrap; }
.report-gap { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #EEF1FF; font-size: 0.84rem; color: #2B3044; }
.report-gap b { color: var(--brand); }

@media (min-width: 960px) {
  .ah { padding: 72px 0 64px; }
  .ah-grid { grid-template-columns: 1.15fr 0.85fr; gap: 48px; padding: 0 32px; }
  .viz { margin-right: 0; }
}
@media (max-width: 520px) {
  .choice { flex-wrap: wrap; }
  .c-txt { flex-basis: calc(100% - 60px); }
  .c-btn { width: 100%; justify-content: center; }
  .viz-ai { position: relative; max-width: none; margin: 0 0 12px; }
  .viz { padding: 0 0 62px; }
  .ah-search-bar button { padding: 13px 16px; }
  .ah-gmb img { height: 52px; }
}

/* Réponse courte en tête de section : lisible par les moteurs et les IA */
.en-bref { max-width: 760px; margin: 0 auto 28px; padding: 16px 18px; border-left: 4px solid var(--brand); background: #F6F8FF; border-radius: 0 8px 8px 0; font-size: 0.98rem; color: #2B3044; line-height: 1.6; }
.en-bref b { color: #11163A; }

/* ---------- Formulaire de demande commun (coordonnées → 3 questions → agenda) ---------- */
.lm-overlay { position: fixed; inset: 0; z-index: 3000; background: rgba(17,22,58,0.55); display: none; align-items: flex-start; justify-content: center; padding: 24px 16px; overflow-y: auto; }
.lm-overlay.open { display: flex; }
.lm { position: relative; width: 100%; max-width: 480px; margin: auto; background: #fff; border-radius: 12px; padding: 28px 22px 22px; box-shadow: 0 24px 60px rgba(17,22,58,0.25); }
.lm.wide { max-width: 580px; }
.lm-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 1px solid #E4E8F3; background: #F6F8FF; border-radius: 8px; cursor: pointer; color: #6B7280; }
.lm-kicker { margin: 0 0 6px; font-size: 0.74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); }
.lm h3 { margin: 0 0 6px; font-size: 1.3rem; color: #11163A; padding-right: 30px; }
.lm-lead { margin: 0 0 16px; font-size: 0.9rem; color: var(--text-muted); }
.lm-etab { display: flex; align-items: center; gap: 8px; padding: 10px 12px; margin-bottom: 14px; border-radius: 8px; background: #F6F8FF; border: 1px solid #D5DCFF; font-size: 0.9rem; }
.lm-etab em { margin-left: auto; font-style: normal; font-weight: 700; color: #C2410C; white-space: nowrap; }
.lm label { display: block; margin: 12px 0 6px; font-size: 0.86rem; font-weight: 600; color: #11163A; }
.lm label span { font-weight: 400; color: var(--text-muted); }
.lm input { width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid #DDE2F0; border-radius: 8px; background: #F9FAFD; font-size: 1rem; font-family: inherit; outline: none; box-sizing: border-box; }
.lm input:focus { border-color: var(--brand); background: #fff; }
.lm-err { display: none; margin: 10px 0 0; font-size: 0.84rem; color: #DC2626; }
.lm-submit { width: 100%; height: 52px; margin-top: 18px; border: 0; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; font-family: inherit; }
.lm-submit:hover { background: var(--brand-hover); }
.lm-safe { margin: 10px 0 0; text-align: center; font-size: 0.76rem; color: var(--text-muted); }
.lm-opts { display: grid; gap: 10px; }
.lm-opt { text-align: left; padding: 14px 16px; border: 1.5px solid #DDE2F0; border-radius: 8px; background: #fff; font-size: 0.95rem; font-weight: 600; color: #11163A; cursor: pointer; font-family: inherit; }
.lm-opt:hover { border-color: var(--brand); background: #F6F8FF; }
.lm-skip { display: block; margin: 14px auto 0; border: 0; background: none; color: var(--text-muted); font-size: 0.85rem; cursor: pointer; text-decoration: underline; font-family: inherit; }
.lm-ok { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; background: #6FCF97; color: #11163A; display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; }
.lm-center { text-align: center; padding: 0 !important; margin-bottom: 14px !important; }
.lm-owner { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 8px; background: #F6F8FF; border: 1px solid #D5DCFF; }
.lm-owner img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand); }
.lm-owner b { display: block; font-size: 0.9rem; color: #11163A; }
.lm-owner small { display: block; font-size: 0.8rem; color: var(--text-muted); }
.lm-slot, .lm-24 { margin: 16px 0 12px; font-size: 0.88rem; color: #3C4257; line-height: 1.55; }
.lm-24 p { margin: 6px 0 0; }
.lm-cal { border: 1px solid #E4E8F3; border-radius: 8px; overflow: hidden; }
.lm-cal iframe { display: block; border: 0; }
.lm-twenty { margin-top: 14px; font-size: 0.8rem; color: #B45309; background: #FFF8EC; border: 1px dashed #F8D3A6; border-radius: 8px; padding: 8px 12px; }
.lm-twenty pre { white-space: pre-wrap; font-size: 0.74rem; color: #3C4257; margin: 8px 0 0; }
.lm-back { display: block; margin: 16px auto 0; padding: 11px 20px; border: 1.5px solid #C5CBD6; border-radius: 8px; background: #fff; font-weight: 600; cursor: pointer; font-family: inherit; }

/* ---------- Pages outils : bloc de saisie, analyse en cours, résultat ---------- */
.tool-card { background: #fff; border: 1px solid #E4E8F3; border-radius: 12px; box-shadow: 0 10px 34px rgba(17,22,58,0.08); padding: 20px; }
.tool-row { display: grid; gap: 10px; }
.tool-row label { display: block; font-size: 0.82rem; font-weight: 600; color: #11163A; margin-bottom: 6px; }
.tool-row input { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid #DDE2F0; border-radius: 8px; font-size: 1rem; font-family: inherit; outline: none; box-sizing: border-box; }
.tool-row input:focus { border-color: var(--brand); }
.tool-go { height: 50px; border: 0; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 700; font-size: 1rem; padding: 0 24px; cursor: pointer; font-family: inherit; }
.tool-go:hover { background: var(--brand-hover); }
.tool-err { display: none; color: #DC2626; font-size: 0.84rem; margin: 8px 0 0; }
.steps-run { display: none; margin-top: 16px; }
.steps-run.open { display: block; }
.srow { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 0.92rem; color: var(--text-muted); }
.srow i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #E4E8F3; flex-shrink: 0; }
.srow.run { color: #11163A; font-weight: 600; } .srow.run i { border-color: rgba(48,75,254,0.25); border-top-color: var(--brand); animation: lmspin .8s linear infinite; }
.srow.done { color: #11163A; } .srow.done i { border-color: var(--success); background: var(--success); }
@keyframes lmspin { to { transform: rotate(360deg); } }
.res { display: none; padding: 40px 0 56px; }
.res.open { display: block; }
.res .wrap { max-width: 900px; margin: 0 auto; padding: 0 16px; }
.res-card { background: #fff; border: 1px solid #E4E8F3; border-radius: 12px; padding: 22px; margin-bottom: 16px; }
.res-head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.pillars { flex: 1; min-width: 240px; display: grid; gap: 10px; }
.pillar .row { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 600; color: #11163A; }
.pillar .bar { height: 7px; border-radius: 4px; background: #EEF0F5; overflow: hidden; margin-top: 5px; }
.pillar .bar b { display: block; height: 100%; border-radius: 4px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid #EEF0F5; border-radius: 8px; }
.checks .ic { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; font-weight: 800; font-size: 0.8rem; flex-shrink: 0; }
.ic.ok { background: #E7F8F0; color: #15803D; } .ic.mid { background: #FFF1E3; color: #C2410C; } .ic.ko { background: #FDECEC; color: #C2262D; }
.checks b { display: block; font-size: 0.92rem; color: #11163A; }
.checks span { display: block; font-size: 0.84rem; color: var(--text-muted); margin-top: 2px; }
.serp { border: 1px solid #EEF0F5; border-radius: 8px; padding: 14px 16px; font-family: Arial, sans-serif; }
.serp small { color: #202124; font-size: 0.8rem; } .serp a { display: block; color: #1A0DAB; font-size: 1.15rem; margin: 2px 0; text-decoration: none; }
.serp p { margin: 0; color: #4D5156; font-size: 0.86rem; }
.lock-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border-radius: 8px; background: #EEF1FF; border: 1px solid #D5DCFF; }
.lock-bar div { flex: 1; min-width: 220px; } .lock-bar b { display: block; color: #11163A; } .lock-bar span { font-size: 0.84rem; color: var(--text-muted); }
.lbl { font-size: 0.72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 12px; }
.ai-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.ai-table th, .ai-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #EEF0F5; vertical-align: top; }
.ai-table th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.ai-table img { width: 20px; height: 20px; vertical-align: -5px; margin-right: 6px; }
.pill-no { color: #C2262D; font-weight: 700; } .pill-yes { color: #15803D; font-weight: 700; }

/* ---------- Diagnostic : une question par écran ---------- */
.quiz { max-width: 640px; margin: 0 auto; }
.quiz-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.quiz-top button { border: 1px solid #DDE2F0; background: #fff; border-radius: 8px; padding: 6px 12px; cursor: pointer; font-family: inherit; color: #3C4257; }
.quiz-bar { flex: 1; height: 6px; border-radius: 3px; background: #E4E8F3; overflow: hidden; }
.quiz-bar b { display: block; height: 100%; width: 0; background: var(--brand); transition: width .3s; }
.quiz-n { font-size: 0.82rem; color: var(--text-muted); white-space: nowrap; }
.quiz h2 { font-size: clamp(1.35rem, 3.6vw, 1.8rem); color: #11163A; margin: 0 0 18px; }
.quiz .lm-opts { gap: 10px; }
.quiz .lm-opt { padding: 16px 18px; font-size: 1rem; }
.profile { display: inline-block; padding: 4px 10px; border-radius: 6px; background: #FFF1E3; color: #C2410C; font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; }
.prio { counter-reset: p; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.prio li { counter-increment: p; display: flex; gap: 12px; padding: 14px; border: 1px solid #EEF0F5; border-radius: 8px; }
.prio li::before { content: counter(p); width: 28px; height: 28px; border-radius: 6px; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.prio b { display: block; color: #11163A; } .prio span { font-size: 0.86rem; color: var(--text-muted); }
@media (min-width: 640px) { .tool-row.cols { grid-template-columns: 1fr 1fr; align-items: end; } .tool-row.cols > :nth-child(3) { grid-column: 1 / -1; } .tool-row.cols > .tool-go { grid-column: 1 / -1; } .tool-row.url { grid-template-columns: 1fr auto; align-items: end; } }
.lm-opt.on { border-color: var(--brand); background: #F6F8FF; }
.quiz-other { padding: 14px 16px; border: 1.5px solid var(--brand); border-top: 0; border-radius: 0 0 8px 8px; margin-top: -12px; background: #F6F8FF; }
.quiz-other label { display: block; font-size: 0.85rem; font-weight: 600; color: #11163A; margin-bottom: 6px; }
.quiz-other div { display: flex; gap: 8px; flex-wrap: wrap; }
.quiz-other input { flex: 1; min-width: 200px; height: 48px; padding: 0 14px; border: 1.5px solid #DDE2F0; border-radius: 8px; font-size: 1rem; font-family: inherit; outline: none; }
.quiz-other input:focus { border-color: var(--brand); }

/* Formulaire intégré sous le résultat flouté */
.gate { margin-top: 16px; padding: 18px; border-radius: 8px; background: #EEF1FF; border: 1px solid #D5DCFF; }
.gate-t { margin: 0; font-weight: 700; font-size: 1.05rem; color: #11163A; }
.gate-s { margin: 4px 0 14px; font-size: 0.88rem; color: #3C4257; }
.gate-f { display: grid; gap: 10px; }
.gate-f label { display: block; font-size: 0.8rem; font-weight: 600; color: #11163A; margin-bottom: 5px; }
.gate-f label span { font-weight: 400; color: var(--text-muted); }
.gate-f input { width: 100%; height: 46px; padding: 0 12px; border: 1.5px solid #DDE2F0; border-radius: 8px; background: #fff; font-size: 0.98rem; font-family: inherit; outline: none; box-sizing: border-box; }
.gate-f input:focus { border-color: var(--brand); }
.gate-f .tool-go { height: 46px; }
.gate .lm-err { margin-top: 8px; }
.gate-m { margin: 10px 0 0; font-size: 0.76rem; color: var(--text-muted); }
.gate-done { font-weight: 600; color: #15803D; background: #E7F8F0; border-color: #BFE9D3; }
.blur { filter: blur(6px); user-select: none; pointer-events: none; transition: filter .5s; }
.unblur { filter: none !important; user-select: auto; pointer-events: auto; }
.gate-count { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font-weight: 600; color: #11163A; font-size: 0.92rem; }
.gate-count::before { content: "🔒"; }
.fix { display: block; margin-top: 6px; font-size: 0.82rem; color: #1D4ED8; }
/* Champs les uns sous les autres, bouton large : rien n'est coupé (email compris) */
.gate { max-width: 560px; }
.gate-f { grid-template-columns: 1fr; gap: 12px; }
.gate-f input { height: 50px; }
.gate-f .tool-go { width: 100%; height: 54px; font-size: 1.02rem; margin-top: 4px; }
.tool-select { width: 100%; height: 48px; padding: 0 12px; border: 1.5px solid #DDE2F0; border-radius: 8px; font-size: 1rem; font-family: inherit; background: #fff; box-sizing: border-box; }
.tool-select:focus { border-color: var(--brand); outline: none; }

/* Conversations IA empilées : la carte active devant, les autres en retrait */
.ai-deck { position: relative; height: 430px; }
.ai-card { position: absolute; inset: 0 0 auto 0; background: #fff; border: 1px solid #E4E8F3; border-radius: 14px; box-shadow: 0 24px 60px rgba(17,22,58,0.12); padding: 18px; transition: transform .5s ease, opacity .5s ease; }
.ai-card[data-pos="0"] { transform: none; opacity: 1; z-index: 4; }
.ai-card[data-pos="1"] { transform: translate(14px, 14px) scale(.97); opacity: 1; z-index: 3; }
.ai-card[data-pos="2"] { transform: translate(28px, 28px) scale(.94); opacity: 1; z-index: 2; }
.ai-card[data-pos="3"] { transform: translate(28px, 28px) scale(.94); opacity: 0; z-index: 1; }
.ai-head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid #EEF0F5; }
.ai-head img { width: 22px; height: 22px; object-fit: contain; }
.ai-head b { font-size: 0.92rem; color: #11163A; }
.ai-ask { margin: 0 0 10px auto; max-width: 85%; width: fit-content; padding: 9px 12px; border-radius: 12px 12px 2px 12px; background: #EEF1FF; font-size: 0.88rem; color: #11163A; }
.ai-say { margin: 0 0 4px; font-size: 0.84rem; color: #3C4257; }
.ai-tabs { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.ai-tab { width: 40px; height: 40px; border-radius: 8px; border: 1.5px solid #E4E8F3; background: #fff; display: grid; place-items: center; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.ai-tab img { width: 20px; height: 20px; object-fit: contain; }
.ai-tab.on { opacity: 1; border-color: var(--brand); }
@media (max-width: 520px) { .ai-deck { height: 450px; } .ai-card[data-pos="1"], .ai-card[data-pos="2"] { transform: translate(8px, 10px) scale(.97); } }

/* Codes visuels de chaque IA (illustration, pas une copie d'écran) */
.ai-input { margin-top: 12px; padding: 10px 14px; border-radius: 999px; border: 1px solid #E4E8F3; font-size: 0.8rem; color: #9AA3B5; }
.ai-illu { margin: 2px 0 0; text-align: center; font-size: 0.72rem; color: var(--text-muted); }
.ai-card.gpt .ai-ask { background: #F4F4F4; border-radius: 18px; color: #0D0D0D; }
.ai-card.gpt .ai-input { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.ai-card.claude { background: #F5F4EE; border-color: #E6E2D6; }
.ai-card.claude .ai-head { border-color: #E6E2D6; }
.ai-card.claude .ai-ask { background: #EAE6DA; border-radius: 10px; color: #3D3929; }
.ai-card.claude .ai-say, .ai-card.claude .viz-list b { font-family: Georgia, "Times New Roman", serif; color: #3D3929; }
.ai-card.claude .viz-list li { border-color: #E6E2D6; }
.ai-card.claude .ai-input { background: #fff; border-color: #E6E2D6; border-radius: 12px; }
.ai-card.pplx { background: #191A1A; border-color: #2A2B2B; }
.ai-card.pplx .ai-head { border-color: #2A2B2B; } .ai-card.pplx .ai-head b { color: #E8E8E6; }
.ai-card.pplx .ai-ask { background: transparent; margin: 0 0 10px; max-width: none; padding: 0; font-size: 1.05rem; font-weight: 600; color: #E8E8E6; }
.ai-card.pplx .ai-say, .ai-card.pplx .viz-list b, .ai-card.pplx .viz-list .st { color: #E8E8E6; }
.ai-card.pplx .viz-list li { border-color: #2A2B2B; } .ai-card.pplx .viz-list .rk { background: #20B8CD; color: #191A1A; }
.ai-card.pplx .ai-input { background: #202222; border-color: #2F3131; color: #8A8F8F; }
.ai-src { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 0.75rem; color: #A6A6A2; }
.ai-src span { margin-right: 4px; font-weight: 600; }
.ai-src i { font-style: normal; width: 22px; height: 22px; border-radius: 6px; background: #2A2B2B; color: #E8E8E6; display: grid; place-items: center; font-size: 0.7rem; }
.ai-card.gem { background: linear-gradient(180deg, #fff 60%, #F3F6FC); }
.ai-card.gem .ai-ask { background: #F0F4F9; border-radius: 18px 4px 18px 18px; color: #1F1F1F; }
.ai-card.gem .ai-say::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; background: url(/img/logos/gemini.png) center/contain no-repeat; }
.ai-card.gem .ai-input { background: #F0F4F9; border-color: transparent; }
.ai-deck { height: 470px; }
@media (max-width: 520px) { .ai-deck { height: 490px; } }
.ai-card.pplx .ai-head img { background: #fff; border-radius: 5px; padding: 2px; }

/* Exemples de rapports empilés qui défilent */
.rdeck { position: relative; height: 470px; }
.rdeck .report { position: absolute; inset: 14px 0 auto 0; transition: transform .5s ease, opacity .5s ease; }
.rdeck .report[data-pos="0"] { z-index: 3; opacity: 1; transform: none; }
.rdeck .report[data-pos="1"] { z-index: 2; opacity: 1; transform: translate(14px, 14px) scale(.97); }
.rdeck .report[data-pos="2"] { z-index: 1; opacity: 0; transform: translate(28px, 28px) scale(.94); }
.rdots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.rdots i { width: 9px; height: 9px; border-radius: 50%; background: #D5DCFF; cursor: pointer; }
.rdots i.on { background: var(--brand); width: 22px; border-radius: 5px; }
.cms { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 4px; font-weight: 700; font-size: 0.72rem; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid color-mix(in srgb, var(--c) 30%, #fff); }
.viz .viz-float.viz-ai[style*="bottom"] { bottom: 24px !important; }
@media (max-width: 520px) { .rdeck { height: 500px; } }
.res-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid #EEF0F5; }
.res-cta p { flex: 1; min-width: 220px; margin: 0; font-size: 0.9rem; color: #3C4257; }
.res-cta b { color: #11163A; }
.unlocked { display: inline-flex; align-items: center; height: 46px; padding: 0 14px; border-radius: 8px; background: #E7F8F0; color: #15803D; font-weight: 700; font-size: 0.9rem; }

.rdeck .report, .ai-card { will-change: transform; }
.rdeck .report[data-pos="0"], .ai-card[data-pos="0"] { transition: transform .5s ease, opacity .25s ease; }

/* ---------- Aperçu des emails ---------- */
.mail { background: #fff; border: 1px solid #E4E8F3; border-radius: 12px; box-shadow: 0 10px 34px rgba(17,22,58,0.08); overflow: hidden; }
.mail header { padding: 14px 20px; border-bottom: 1px solid #EEF0F5; background: #FAFBFE; }
.mail header p { margin: 2px 0; font-size: 0.82rem; color: #3C4257; }
.mail header span { display: inline-block; width: 28px; color: var(--text-muted); }
.mail header .subj { margin-top: 8px; font-size: 1.05rem; font-weight: 700; color: #11163A; }
.mail-body { padding: 20px; font-size: 0.95rem; line-height: 1.65; color: #2B3044; }
.mail-body p { margin: 0 0 12px; }
.mail-body ul, .mail-body ol { margin: 0 0 12px; padding-left: 20px; }
.mail-body li { margin-bottom: 6px; }
.mail-btn { display: inline-block; padding: 12px 20px; border-radius: 8px; background: var(--brand); color: #fff !important; font-weight: 700; text-decoration: none; }
.mail-btn-2 { background: #fff; color: var(--brand) !important; border: 1.5px solid var(--brand); }
.mail-sign { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding-top: 14px; border-top: 1px solid #EEF0F5; }
.mail-sign img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.mail-sign p { margin: 0; font-size: 0.85rem; line-height: 1.4; }
.mail-sign span { color: var(--brand); }

/* ---------- Rapport complet ---------- */
.rp { background: #F6F8FF; padding: 40px 0 64px; }
.rp-wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
.rp-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.rp-top h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 4px; color: #11163A; }
.rp-top .muted { margin: 0; }
.rp-card { background: #fff; border: 1px solid #E4E8F3; border-radius: 12px; padding: 22px; margin-bottom: 16px; }
.rp-word { display: flex; gap: 18px; align-items: flex-start; border-left: 4px solid var(--brand); }
.rp-word img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.rp-word p:last-child { margin: 0; font-size: 1rem; line-height: 1.65; color: #2B3044; }
.rp-grid2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
.rp-grid2 .rp-card { margin-bottom: 0; }
.rp-grid2 + .rp-card, .rp-grid2 { margin-bottom: 16px; }
.geo { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: center; }
.geo-map { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 16px; border-radius: 12px; background: radial-gradient(circle at 45% 50%, #E8F0E3 0, #E9EEF6 70%); max-width: 360px; }
.g { aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; color: #fff; box-shadow: 0 3px 8px rgba(0,0,0,0.15); }
.g1, .geo-leg .g1 { background: #22A06B; } .g2, .geo-leg .g2 { background: #8BC34A; } .g3, .geo-leg .g3 { background: #FF9F43; } .g4, .geo-leg .g4 { background: #E5484D; }
.gx { background: #304BFE; }
.geo-txt p { margin: 0 0 10px; font-size: 0.92rem; color: #2B3044; }
.geo-leg { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; font-size: 0.85rem; }
.geo-leg li { display: flex; align-items: center; gap: 8px; }
.geo-leg i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.plan { display: grid; gap: 14px; grid-template-columns: 1fr; }
.plan > div { padding: 14px 16px; border-radius: 8px; background: #F6F8FF; border: 1px solid #E4E8F3; }
.plan b { color: var(--brand); }
.plan ul { margin: 8px 0 0; padding-left: 18px; font-size: 0.88rem; line-height: 1.7; }
.rp-next { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; background: #EEF1FF; border-color: #D5DCFF; }
@media (min-width: 760px) { .rp-grid2 { grid-template-columns: 1fr 1fr; } .geo { grid-template-columns: 360px 1fr; } .plan { grid-template-columns: repeat(3, 1fr); } }
@media print {
  #site-header, #site-footer, .rp-pdf, .rp-next a, span[style*="position:fixed"] { display: none !important; }
  .rp { background: #fff; padding: 0; } .rp-card { break-inside: avoid; box-shadow: none; }
}

/* Carte de positions, sur le modèle de l'app Localisia */
.gr-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid #EEF0F5; }
.gr-head b { font-size: 1.05rem; color: #11163A; margin-right: auto; }
.gr-chip { font-size: 0.8rem; padding: 4px 10px; border-radius: 6px; background: #F1F3F8; color: #4B5268; }
.gr-chip:last-child { background: #EEF1FF; color: var(--brand); }
.gr { display: grid; grid-template-columns: 1fr; }
.gr-map { position: relative; aspect-ratio: 1; background: #EDEBE4; overflow: hidden; }
.m-park { position: absolute; background: #CFE3C2; border-radius: 40%; }
.m-river { position: absolute; left: -10%; right: -10%; top: 6%; height: 8%; background: #B9D5EE; border-radius: 50%; transform: rotate(-12deg); }
.m-road { position: absolute; height: 6px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.04); }
.m-lbl { position: absolute; font-size: 0.72rem; color: #6B6A63; font-weight: 600; letter-spacing: .02em; }
.m-ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 2px dashed rgba(48,75,254,0.55); border-radius: 50%; }
.m-ring i { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 0.7rem; font-weight: 700; color: var(--brand); background: #fff; padding: 1px 6px; border-radius: 4px; }
.gp { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 0.68rem; font-weight: 800; color: #fff; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.18); }
.gp.a, .gr-leg .a, .gr-bar .a { background: #22B573; } .gp.b, .gr-leg .b, .gr-bar .b { background: #FF9F43; }
.gp.c, .gr-leg .c, .gr-bar .c { background: #E5484D; } .gp.z, .gr-leg .z, .gr-bar .z { background: #A3A9B8; }
.gr-leg { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 10px; flex-wrap: wrap; padding: 6px 12px; background: #fff; border-radius: 999px; font-size: 0.74rem; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.gr-leg i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 4px; }
.gr-side { padding: 20px; }
.gr-avg { margin: 0; font-family: var(--font-heading, inherit); font-size: 2.6rem; font-weight: 700; color: #11163A; line-height: 1; }
.gr-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin: 12px 0; }
.gr-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: 0.86rem; color: #4B5268; }
.gr-stats b { color: #11163A; }
.gr-z { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; font-size: 0.88rem; color: #2B3044; }
.gr-z span { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.gr-z .ok { background: #E7F8F0; color: #15803D; } .gr-z .ko { background: #FDECEC; color: #C2262D; }
.gr-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gr-vs div { padding: 12px; border-radius: 8px; background: #F6F8FF; }
.gr-vs b { display: block; font-size: 1.3rem; color: #11163A; } .gr-vs span { font-size: 0.82rem; color: var(--text-muted); }
@media (min-width: 860px) { .gr { grid-template-columns: 1.4fr 1fr; } .gr-side { border-left: 1px solid #EEF0F5; } }
@media (max-width: 520px) { .gp { width: 24px; height: 24px; font-size: 0.6rem; } }

/* En-tête des emails, sobre */
.mail-brand { display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-bottom: 3px solid var(--brand); font-weight: 700; color: #11163A; }
.mail-brand img { width: 26px; height: 26px; }
.mail-facts { list-style: none; padding: 12px 14px !important; border-radius: 8px; background: #F6F8FF; }
.mail-facts li::before { content: "→ "; color: var(--brand); font-weight: 700; }
.mail-note { font-size: 0.84rem; color: var(--text-muted); }
/* Tableau « Qui vous devance », sur le modèle de l'app */
.wh-title { margin: 0; padding: 18px 20px; font-family: var(--font-heading, inherit); font-weight: 700; font-size: 1.1rem; color: #11163A; border-bottom: 1px solid #EEF0F5; }
.wh { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.wh th { text-align: left; font-weight: 500; color: var(--text-muted); background: #F6F8FF; padding: 12px 20px; }
.wh td { padding: 13px 20px; border-top: 1px solid #EEF0F5; color: #2B3044; }
.wh td:not(:first-child), .wh th:not(:first-child) { white-space: nowrap; }
.wh tr.me td { background: #F3F5FF; font-weight: 700; color: #11163A; }
.wh tr.me td:first-child { color: var(--brand); }
.wh-note { margin: 0; padding: 10px 20px 14px; font-size: 0.78rem; color: var(--text-muted); }
@media (max-width: 640px) { .wh th, .wh td { padding: 10px 10px; font-size: 0.8rem; } }
.diag-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; margin: 22px auto 0; padding: 14px 18px; max-width: 900px; width: fit-content; background: #fff; border: 1px solid #E4E8F3; border-radius: 12px; font-size: 0.86rem; color: #3C4257; }
.diag-trust span { display: inline-flex; align-items: center; gap: 8px; }
.dt-gp img { height: 34px; width: auto; border: 1px solid #E4E8F3; border-radius: 6px; }
.dt-ed img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand); }
.dt-sep { width: 1px; height: 24px; background: #E4E8F3; }
@media (max-width: 640px) { .dt-sep { display: none; } }
.rp-lose { border-left: 4px solid #E5484D; }
.lose-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.lose-grid div { padding: 12px 14px; border-radius: 8px; background: #FFF6F6; border: 1px solid #F6D2D3; }
.lose-grid b { display: block; font-family: var(--font-heading, inherit); font-size: 1.5rem; color: #C2262D; line-height: 1.1; }
.lose-grid span { font-size: 0.84rem; color: #3C4257; }
@media (min-width: 860px) { .lose-grid { grid-template-columns: repeat(4, 1fr); } }
.etab-wrap { position: relative; }
.etab-dd { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; background: #fff; border: 1px solid #E4E8F3; border-radius: 8px; box-shadow: 0 10px 30px rgba(17,22,58,0.14); overflow: hidden; }
.etab-dd button { display: block; width: 100%; text-align: left; padding: 10px 14px; border: 0; border-bottom: 1px solid #EEF0F5; background: #fff; cursor: pointer; font-family: inherit; }
.etab-dd button:hover { background: #F6F8FF; }
.etab-dd b { display: block; font-size: 0.9rem; color: #11163A; } .etab-dd span { font-size: 0.78rem; color: var(--text-muted); }
.etab-dd .none { color: var(--brand); font-weight: 600; font-size: 0.85rem; border-bottom: 0; }
.etab-hint { margin: 6px 0 0; font-size: 0.78rem; color: var(--text-muted); }
.quiz-input { width: 100%; height: 56px; padding: 0 16px; border: 1.5px solid #DDE2F0; border-radius: 8px; font-size: 1.05rem; font-family: inherit; outline: none; box-sizing: border-box; background: #fff; }
.quiz-input:focus { border-color: var(--brand); }

/* Choix : une action principale (recommandée), deux secondaires de même largeur, diagnostic en lien */
.choice { position: relative; }
.choice.reco { border-color: var(--brand); box-shadow: 0 8px 28px rgba(48,75,254,0.14); margin-top: 10px; }
.c-reco { position: absolute; top: -11px; left: 16px; padding: 2px 9px; border-radius: 4px; background: var(--brand); color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.c-btn { min-width: 172px; justify-content: center; }
.c-btn-2 { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }
.choice:hover .c-btn-2 { background: #EEF1FF; }
.c-txt small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-diag { margin: 14px 0 0; font-size: 0.92rem; color: #3C4257; }
.c-diag a { color: var(--brand); font-weight: 700; text-decoration: none; }
.c-diag a:hover { text-decoration: underline; }
@media (max-width: 520px) { .c-txt small { white-space: normal; } .c-btn { min-width: 0; } }
.choice.tagged { margin-top: 10px; }
.c-tag-new { background: #E7F8F0; color: #15803D; border: 1px solid #BFE9D3; }
.mails2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
.mails2 figure { margin: 0; }
.mails2 figcaption { font-size: 0.78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.mails2 iframe { width: 100%; height: 760px; border: 1px solid #E4E8F3; border-radius: 10px; background: #F3F4F8; }
@media (min-width: 900px) { .mails2 { grid-template-columns: 1fr 1fr; } }
/* Un seul cadre : le champ n'a pas de bordure propre dans la barre */
.ah-search-bar input, .ah-search-bar input:focus { border: 0 !important; box-shadow: none !important; outline: none !important; background: transparent !important; }
.link-box { display: none; max-width: 600px; margin: 10px 0 0; padding: 14px 16px; border: 1px solid #D5DCFF; border-radius: 12px; background: #fff; }
.link-box.open { display: block; }
.link-box ol { margin: 0 0 12px; padding-left: 20px; font-size: 0.86rem; color: #3C4257; line-height: 1.7; }
.link-box .ah-search-bar { box-shadow: none; }
.link-box .ah-search-bar input { padding-left: 10px; }
.lm-need { margin: 0 0 2px; font-size: 0.8rem; color: var(--text-muted); }
.lm-safe, .gate-m { line-height: 1.5; }
.lm-safe a, .gate-m a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.quiz-n { font-weight: 600; color: var(--brand); }
.quiz-hint { margin: 0 0 6px; min-height: 0; font-size: 0.9rem; color: #2E7D5B; }
.quiz-hint:empty { display: none; }
.tel-err { display: none; margin: 4px 0 0; font-size: 0.8rem; color: #C0392B; line-height: 1.4; }
input.bad { border-color: #E5534B !important; background: #FFF8F7; }
/* Carte après déblocage : rendez-vous proposé, pas imposé */
.next { margin-top: 14px; padding: 18px; border: 1px solid #DDE2F0; border-radius: 12px; background: #fff; }
.next-ok { margin: 0 0 14px; font-size: 0.88rem; color: #2E7D5B; line-height: 1.5; }
.next-rdv { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 10px; background: #F6F8FF; border: 1px solid rgba(48,75,254,0.18); flex-wrap: wrap; }
.next-rdv img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand); flex-shrink: 0; }
.next-rdv > div { flex: 1; min-width: 200px; }
.next-rdv b { display: block; font-size: 0.95rem; color: #11163A; }
.next-rdv span { display: block; font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.next-rdv .tool-go { white-space: nowrap; height: 46px; padding: 0 20px; }
.next-later { margin: 12px 0 0; font-size: 0.84rem; color: var(--text-muted); line-height: 1.5; }
.later-box { margin-top: 12px; padding: 12px 16px; border-radius: 10px; border: 1px dashed #C9D0E6; background: #FAFBFF; font-size: 0.86rem; }
.later-box p { margin: 0 0 4px; }
.later-box ul { margin: 0; padding-left: 18px; line-height: 1.8; color: #3C4257; }
.fiche-gap { margin: 0; }
@media (max-width: 560px) { .next-rdv .tool-go { width: 100%; } }
.fiche-gap { list-style: none; padding: 0; }
.fiche-gap li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #EEF0F5; }
.fiche-gap li:last-child { border-bottom: 0; }
.fiche-gap .ic { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem; background: #FFF1E6; color: #C2410C; }
.fiche-gap li > div > b { display: block; font-size: 0.9rem; color: #11163A; }
.fiche-gap li > div > span { display: block; font-size: 0.84rem; color: var(--text-muted); margin-top: 2px; line-height: 1.5; }
/* Pile d'exemples de rapport : ne dépasse jamais l'écran sur mobile */
@media (max-width: 600px) { .viz { overflow: hidden; padding-right: 4px; } .rdeck .report[data-pos="1"] { transform: translate(6px, 12px) scale(.97); } }

/* Diagnostic : la fiche Google d'abord, « C'est bien vous ? », réponse au frein */
.diag-find { max-width: 560px; margin: 0 auto; text-align: left; }
.diag-find-l { margin: 0 0 8px; font-size: 0.9rem; font-weight: 600; color: var(--text); }
.diag-find-h { margin: 8px 0 0; font-size: 0.82rem; color: var(--text-muted); line-height: 1.45; }
.diag-nofiche { display: block; margin: 14px 0 0; padding: 6px 0; border: 0; background: none; font: inherit; font-size: 0.9rem; color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.diag-nofiche:hover { color: var(--brand); }
#quiz-me .diag-nofiche { margin: 10px auto 0; }
.diag-me { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1.5px solid var(--border); border-radius: 16px; background: #fff; text-align: left; }
.dm-logo { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.4rem; font-weight: 700; }
.dm-t { min-width: 0; }
.dm-t b { display: block; font-size: 1.08rem; margin-bottom: 3px; overflow-wrap: anywhere; }
.dm-t p { margin: 0 0 2px; font-size: 0.9rem; color: var(--text-muted); line-height: 1.45; overflow-wrap: anywhere; }
.dm-st { color: #D9880B; font-weight: 700; }
.dm-pill { display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 99px; background: var(--bg-alt); font-size: 0.8rem; font-weight: 600; }
.diag-ok { display: grid; gap: 10px; text-align: left; }
.diag-ok > div { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; background: var(--bg-alt); font-size: 0.93rem; line-height: 1.45; }
.diag-ok b { display: block; }
.diag-ok .dk { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--success); color: #fff; display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; }
#quiz-me h2, #quiz-rassure h2 { text-align: left; }
