:root {
  --ink: #0b2159;
  --paper: #fff;
  --soft: #eef8fb;
  --accent: #a34a8e;
  --brand: #034bac;
  --sky: #8fd8e6;
  --gold: #d9a520;
  --muted: #5a6478;
  --radius: 16px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; }
h1, h2, h3, .logo { font-family: 'Inter', system-ui, sans-serif; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
a { color: inherit; }

/* Menu */
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 6px clamp(20px, 5vw, 48px); background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid #eee; }
.logo { display: flex; text-decoration: none; }
.logo img { height: 58px; width: auto; display: block; }
nav { display: flex; gap: 24px; align-items: center; }
nav a { text-decoration: none; font-weight: 500; padding: 4px 0; position: relative; }
nav a:hover { color: var(--accent); }
nav a.active:not(.btn) { color: var(--brand); font-weight: 700; }
nav a.active:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px;
  border-radius: 999px; background: var(--brand);
}
nav a.btn.active { box-shadow: 0 0 0 3px var(--sky); }
.burger { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; }

/* Boutons */
.btn { display: inline-block; background: var(--brand); color: #fff !important; padding: 14px 28px; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 2px solid var(--brand); cursor: pointer; font-size: 1rem; transition: transform .15s, background-color .2s, border-color .2s; }
.btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-ghost { background: transparent; color: var(--brand) !important; }
.btn-small { padding: 8px 18px; }

/* Repère clavier bien visible, partout où ça peut se cliquer */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Héros */
.hero { padding: 8vh clamp(20px, 5vw, 48px) 4vh; max-width: 1100px; margin: auto; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; color: var(--accent); font-weight: 600; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); margin: 18px 0; }
.hero em { color: var(--accent); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ph { background: repeating-linear-gradient(45deg, #eee, #eee 12px, #f6f6f6 12px, #f6f6f6 24px); color: var(--muted);
  display: grid; place-items: center; text-align: center; font-size: .9rem; border-radius: var(--radius); }
.hero-photo { margin-top: 48px; height: min(50vh, 460px); }
.ph.small { display: block; height: 200px; margin-bottom: 16px; overflow: hidden; }
.ph.small img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Chiffres */
.stats { max-width: 1100px; margin: auto; padding: 40px clamp(20px, 5vw, 48px); text-align: center; }
.stats-title { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 20px; }
.age-chips { list-style: none; padding: 0; margin: 0 auto 28px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 820px; }
.age-chips li { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.chip-kid { background: #e3f5f9; color: var(--brand); }
.chip-teen { background: #f5e8f2; color: #7d3470; }
.chip-adult { background: var(--brand); color: #fff; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; border-top: 1px solid #eee; padding-top: 28px; }
.facts strong { display: block; font-weight: 800; letter-spacing: -.02em; font-size: 2.6rem; line-height: 1.1; color: var(--brand); }
.facts span { color: var(--muted); }
small { font-size: .75em; opacity: .7; }

/* Sections */
.section { padding: 80px clamp(20px, 5vw, 48px); max-width: 1100px; margin: auto; }
.section.dark, .section.soft { max-width: none; }
.section.dark > *, .section.soft > * { max-width: 1004px; margin-left: auto; margin-right: auto; }
.section.dark { background: var(--ink); color: #fff; }
.section.soft { background: var(--soft); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.section-intro { color: var(--muted); margin-bottom: 40px; }
.dark .section-intro { color: #bbb; }
.course-hint { color: var(--brand); font-size: .9rem; font-weight: 600; margin: -24px 0 40px; }
.course-hint a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card, blockquote { background: #fff; border: 1px solid #eee; border-radius: var(--radius); padding: 28px; transition: .25s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.card h3 { font-size: 1.5rem; margin: 10px 0; }
.badge { display: inline-block; background: #e3f5f9; color: var(--brand); font-size: .78rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.meta { margin-top: 14px; font-size: .85rem; color: var(--muted); }

/* Équipe pédagogique */
.prof-card { text-align: center; }
.prof-photo { width: 128px; height: 128px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.8rem; }
.prof-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prof-card .badge { margin: 2px 0 18px; }
.prof-card p { text-align: left; color: var(--muted); font-size: .92rem; }
.profs-note { text-align: center; color: var(--muted); font-size: .88rem; max-width: 640px; margin: 32px auto 0; }
blockquote { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 1.15rem; }
cite { display: block; margin-top: 14px; font-family: 'Inter', sans-serif; font-style: normal; font-size: .85rem; color: var(--muted); }

/* Frise */
.timeline { list-style: none; padding: 0; }
.timeline li { margin-left: 7px; padding: 0 0 36px 32px; border-left: 2px solid var(--gold); position: relative; }
.timeline li::before { content: ''; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); }
.timeline time { color: var(--gold); font-weight: 600; }
.timeline h3 { font-size: 1.4rem; margin: 4px 0; }
.timeline p { color: #bbb; }

/* Inscription */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 10px; }
.price { margin: 32px 0; font-size: 1.2rem; }
.contact { display: grid; gap: 14px; max-width: 520px; }
.contact label { display: grid; gap: 6px; font-weight: 500; }
.contact input, .contact textarea { padding: 12px; border: 1px solid #ccc; border-radius: 10px; font: inherit; }
.contact button { justify-self: start; }

footer { background: var(--ink); color: #ccc; text-align: center; padding: 56px clamp(20px, 5vw, 48px) 32px; }

.footer-brand { display: flex; flex-direction: column; gap: 4px; margin-bottom: 40px; }
.footer-brand strong { font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: -.01em; font-size: 1.3rem; color: #fff; }
.footer-brand span { font-size: .9rem; color: #9aa1bd; }

.footer-grid { max-width: 480px; margin: 0 auto; padding-bottom: 32px; border-bottom: 1px solid #263061; }
.footer-col { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-heading { font-family: 'Inter', sans-serif; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin: 0; }
.footer-col > a, .footer-col > p { margin: 0; max-width: 100%; overflow-wrap: anywhere; }

footer .tiny { font-size: .8rem; margin-top: 24px; opacity: .6; }
footer .parent-assoc { font-size: .9rem; color: #b9c0d6; }
footer .parent-assoc a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
footer .parent-assoc a:hover { color: var(--sky); }

/* Apparition douce */
.reveal { opacity: 0; transform: translateY(24px); transition: .7s; }
.reveal.show { opacity: 1; transform: none; }

/* Mobile */
@media (max-width: 720px) {
  .burger { display: block; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: #fff; padding: 12px 20px; border-bottom: 1px solid #eee; }
  nav.open, nav.closing { display: flex; }
  nav.open { animation: menuOpen .25s ease; }
  nav.closing { animation: menuClose .2s ease forwards; }
  nav a { padding: 12px 4px; }
  .section { padding: 56px clamp(20px, 5vw, 48px); }
}
@keyframes menuOpen {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes menuClose {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }

/* Planning des cours */
.days { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.day { border: 1px solid #eee; border-radius: var(--radius); padding: 24px; }
.day h3 { font-size: 1.5rem; color: var(--brand); margin-bottom: 12px; }
.day ul { list-style: none; padding: 0; }
.day li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-top: 1px solid #f0f0f0; }
.day time { font-weight: 600; }
.day b { grid-column: 2; grid-row: 1; background: #e3f5f9; color: var(--brand); padding: 2px 10px; border-radius: 999px; font-size: .8rem; }
.day li span { color: var(--muted); font-size: .85rem; }
.day li .duration { grid-column: 2; grid-row: 2; justify-self: end; align-self: center; border: 1.5px solid var(--brand); color: var(--brand); background: none; padding: 1px 9px; border-radius: 999px; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.teacher { display: flex; align-items: center; gap: 8px; }
.teacher-thumbs { display: flex; }
.teacher-thumb { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; display: block; border: 2px solid #fff; box-shadow: 0 0 0 1px #e3e6ef; flex-shrink: 0; }
.teacher-thumbs .teacher-thumb:not(:first-child) { margin-left: -10px; }

/* Tarifs */
.tarifs-title { font-size: 1.6rem; margin: 48px 0 16px; }
.amount { font-family: 'Inter', sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: 2.6rem; margin-top: 10px; }
.amount-note { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: #e7f6ec; color: #1d6b3a; font-size: .85rem; font-weight: 600; }
.amount-note::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #1d6b3a; color: #fff; font-size: .7rem; }

/* Image du héros : remplit le cadre sans le dépasser */
.hero-photo { overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Lieux */
.places { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.place { background: #fff; border: 1px solid #eee; border-radius: var(--radius); padding: 28px; }
.place h3 { font-size: 1.5rem; margin: 10px 0; }
.addr { margin-bottom: 16px; }
.transport { list-style: none; padding: 0; margin-bottom: 20px; }
.transport li { padding: 8px 0; border-top: 1px solid #f0f0f0; }
.transport b { color: var(--accent); margin-right: 6px; }

.hero-logo { width: min(340px, 70%); height: auto; margin: 0 auto 8px; display: block; }

/* Formulaire de contact */
.notice { background: #fff8e1; border-left: 5px solid var(--gold); border-radius: 10px; padding: 16px 20px; margin: 32px 0 20px; }
.tally-box { max-width: 640px; margin: 0 auto; }
.tally-box iframe { width: 100%; border: 0; min-height: 520px; }
.tally-placeholder { padding: 24px; border: 2px dashed #ccd; border-radius: var(--radius); color: var(--muted); }

/* Contact direct + réseaux sociaux */
.contact-bureau { background: var(--soft); border-radius: var(--radius); padding: 32px 24px; text-align: center; }
.contact-bureau h3 { font-size: 1.6rem; margin-bottom: 8px; }
.contact-bureau p { color: var(--muted); margin-bottom: 20px; }
.mail-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.mail-big { display: inline-block; background: var(--brand); color: #fff; font-weight: 600; font-size: clamp(.75rem, 3.4vw, 1.3rem); white-space: nowrap;
  padding: 14px 20px; border-radius: 999px; text-decoration: none; transition: .2s; }
.mail-big:hover { background: var(--accent); transform: translateY(-2px); }
.copy-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; box-sizing: border-box; background: none;
  border: 2px solid var(--brand); color: var(--brand); font-weight: 600; font-size: .95rem; padding: 10px 18px; border-radius: 999px;
  cursor: pointer; transition: .2s; font-family: inherit; }
.copy-btn:hover { background: var(--brand); color: #fff; }
.copy-btn.copied { border-color: var(--gold); color: var(--gold); }
.copy-btn.copied:hover { background: var(--gold); color: #fff; }
.mail-help { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }
.socials { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; box-sizing: border-box; border: 2px solid var(--brand); color: var(--brand);
  border-radius: 999px; text-decoration: none; font-weight: 600; transition: .2s; }
.socials a:hover { background: var(--brand); color: #fff; }
footer a { color: #fff; }
footer .footer-socials { margin: 0; }
footer .socials a { border-color: #fff; color: #fff; }
footer .socials a:hover { background: #fff; color: var(--ink); }

/* Cartes cliquables */
a.card-link { display: block; text-decoration: none; color: inherit; cursor: pointer; }
a.card-link:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.more { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--brand); }
a.card-link:hover .more { color: var(--accent); }

/* Page saison */
.back { display: inline-block; margin-bottom: 24px; color: var(--brand); font-weight: 600; text-decoration: none; }
.back:hover { color: var(--accent); }
.page-title { font-size: clamp(2rem, 5vw, 3.2rem); margin: 10px 0 12px; }
.shows { display: grid; gap: 32px; }
.spectacle { display: grid; grid-template-columns: minmax(200px, 320px) 1fr; gap: 32px; align-items: center;
  border: 1px solid #eee; border-radius: var(--radius); padding: 24px; }
.show-poster img { width: 100%; height: auto; display: block; border-radius: 12px; }
.show-poster.ph { aspect-ratio: 707 / 1000; }
.show-text h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin: 10px 0; }
.page-cta { text-align: center; margin-top: 48px; }
@media (max-width: 720px) { .spectacle { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid #e3ecf0; border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 28px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--brand); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); padding-bottom: 16px; }

/* Texte à compléter (page de spectacle en préparation) */
mark.todo { background: #fff3b0; color: var(--ink); padding: 2px 6px; border-radius: 6px; }
.section .actions { justify-content: flex-start; margin-top: 24px; }
.booking { background: #fff; border: 1px solid #dfe6f3; border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); }
.booking-price { font-weight: 800; letter-spacing: -.02em; font-size: clamp(2.6rem, 8vw, 3.6rem); line-height: 1; }
.booking-price small { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.booking-points { list-style: none; padding: 0; margin: 22px 0 4px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.booking-points li { background: var(--soft); border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: .95rem; }
.booking-points li span { display: block; font-size: 1.4rem; margin-bottom: 2px; }
.booking .actions { display: grid; grid-template-columns: 1fr 1fr; }
.booking .actions .btn { text-align: center; }
@media (max-width: 560px) { .booking .actions { grid-template-columns: 1fr; } }
.booking-note { color: var(--muted); font-size: .9rem; margin-top: 18px; }
.lead-show { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.story p { margin-bottom: 14px; }

/* Aide quand le lien mailto n'ouvre aucune messagerie */
.mail-help-box { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 50; width: min(520px, calc(100% - 32px));
  background: #fff; border: 1px solid #dfe6ee; border-radius: var(--radius); box-shadow: 0 14px 40px rgba(11,33,89,.18); padding: 16px 20px; }
.mail-help-box[hidden] { display: none; }
.mail-help-box p { margin-bottom: 12px; }
.mh-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mh-close { margin-left: auto; background: none; border: 0; font-size: 1.2rem; cursor: pointer; color: var(--muted); padding: 6px 10px; }

/* Inscriptions closes : bandeau et deux saisons */
.site-banner { display: flex; align-items: center; justify-content: center; gap: 8px 18px; flex-wrap: wrap; background: #fff3d6; border-bottom: 3px solid var(--gold); padding: 10px clamp(16px, 5vw, 48px); font-size: .95rem; }
.sb-sub::before { content: ", "; }
.site-banner .btn { padding: 8px 18px; font-size: .9rem; white-space: nowrap; }
@media (max-width: 640px) { .site-banner { flex-direction: column; text-align: center; font-size: .9rem; } .sb-text strong { display: block; } .sb-sub::before { content: none; } }
.seasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 32px; }
.season { border-radius: var(--radius); padding: 22px 24px; }
.season h3 { font-size: 1.4rem; margin: 10px 0 6px; }
.season-closed { background: #fafafa; border: 1px solid #e5e5e5; color: var(--muted); }
.season-closed .badge { background: #eee; color: var(--muted); }
.season-open { background: #f2f7ff; border: 2px solid var(--brand); }
.season-open .badge { background: var(--brand); color: #fff; }
.tarifs-title small { display: block; font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: 4px; }

/* Page spectacle : carte « Quand ? » */
.date-row { display: flex; align-items: center; gap: 16px; margin: 14px 0 20px; }
.date-row h3 { margin: 0; }
.date-tile { flex: none; display: flex; flex-direction: column; align-items: center; min-width: 84px; border: 2px solid var(--brand); border-radius: 14px; overflow: hidden; text-align: center; line-height: 1.1; padding-bottom: 6px; }
.dt-day { align-self: stretch; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 0; }
.dt-num { font-size: 2.3rem; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.dt-month { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.evening { list-style: none; padding: 0 0 0 24px; margin: 0; border-left: 3px solid var(--gold); }
.evening li { position: relative; margin-bottom: 18px; }
.evening li:last-child { margin-bottom: 0; }
.evening li::before { content: ""; position: absolute; left: -33px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); }
.evening b { display: block; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.evening span { color: var(--muted); font-size: .95rem; }

/* Assistant de questions */
.qa-launcher { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 0; cursor: pointer; font: inherit; }
.qa-launcher[hidden], .qa-panel[hidden] { display: none; }
.qa-launcher-label { background: #fff; color: var(--ink); border: 1px solid #dfe6f3; border-radius: 12px; padding: 8px 14px; font-weight: 600; font-size: .9rem; box-shadow: 0 4px 14px rgba(11,33,89,.12); }
.qa-launcher-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 1.5rem; box-shadow: 0 6px 18px rgba(3,75,172,.35); }
.qa-launcher:hover .qa-launcher-icon { background: #023a85; }
.qa-launcher:focus-visible, .qa-chip:focus-visible, .qa-close:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.qa-panel { position: fixed; right: 18px; bottom: 18px; z-index: 45; width: min(380px, calc(100vw - 36px)); max-height: min(620px, calc(100vh - 36px)); display: flex; flex-direction: column; background: #fff; border: 1px solid #dfe6f3; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 48px rgba(11,33,89,.25); }
.qa-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--brand); color: #fff; padding: 14px 16px; }
.qa-head-text strong { display: block; font-size: 1.05rem; }
.qa-head-text span { font-size: .85rem; opacity: .9; }
.qa-close { border: 0; background: rgba(255,255,255,.18); color: #fff; width: 36px; height: 36px; border-radius: 50%; font-size: 1rem; cursor: pointer; }
.qa-close:hover { background: rgba(255,255,255,.3); }
.qa-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: .95rem; line-height: 1.5; }
.qa-msg { max-width: 92%; padding: 10px 14px; border-radius: 14px; }
.qa-bot { background: #f2f7ff; border-bottom-left-radius: 4px; align-self: flex-start; }
.qa-bot a { color: var(--brand); font-weight: 600; }
.qa-bot small { color: var(--muted); }
.qa-link { display: inline-block; margin-top: 6px; text-decoration: none; }
.qa-me { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.qa-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.qa-chip { border: 1.5px solid var(--brand); background: #fff; color: var(--brand); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; text-align: left; }
.qa-chip:hover { background: #f2f7ff; }
.qa-chip-soft { border-color: #c9d5ec; color: var(--muted); }
.qa-foot { border-top: 1px solid #eee; padding: 10px 16px; font-size: .78rem; color: var(--muted); }
@media (max-width: 560px) {
  .qa-panel { right: 0; bottom: 0; width: 100vw; max-height: 85vh; border-radius: 18px 18px 0 0; }
  .qa-launcher { right: 12px; bottom: 12px; }
  .qa-launcher-label { display: none; }
}
@media (prefers-reduced-motion: no-preference) { .qa-panel { animation: qa-in .2s ease-out; } }
@keyframes qa-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
