:root {
  --night: #061511;
  --night-2: #0b241f;
  --green: #103d34;
  --green-soft: #1f574b;
  --paper: #f1e5cf;
  --paper-2: #fbf1dc;
  --ink: #10211d;
  --muted: #766a5a;
  --copper: #d79a38;
  --line-light: rgba(241, 229, 207, .18);
  --line-dark: rgba(16, 33, 29, .18);
  --shadow: 0 26px 90px rgba(0, 0, 0, .30);
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}
body::selection { background: var(--copper); color: var(--night); }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
.skip { position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden; }
.skip:focus { left: 1rem; top: 1rem; width:auto; height:auto; background:var(--paper-2); color:var(--ink); padding:.7rem 1rem; z-index:9999; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem clamp(1rem, 4vw, 3rem);
  background: rgba(6, 21, 17, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-light);
}
.brand { display:flex; align-items:center; gap:.75rem; text-decoration:none; font-family: ui-sans-serif, system-ui, sans-serif; }
.brand-mark { width:42px; height:42px; border-radius:50%; display:grid; place-items:center; background:var(--paper); color:var(--night); font-family: ui-sans-serif, system-ui, sans-serif; font-weight:1000; font-size:1.05rem; }
.brand-text { display:grid; line-height:1.05; }
.brand-text strong { font-size: clamp(.98rem, 1.55vw, 1.16rem); letter-spacing:.08em; text-transform:uppercase; font-weight:1000; }
.brand-text small { margin-top:.16rem; color: rgba(241,229,207,.58); font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; font-weight:800; }
.nav { display:flex; gap:1rem; font-family: ui-sans-serif, system-ui, sans-serif; font-weight:800; font-size:.9rem; }
.nav a { text-decoration:none; opacity:.78; }
.nav a:hover { opacity:1; color:var(--copper); }

main { overflow: clip; }
.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: clamp(2.5rem, 7vw, 6rem) clamp(1.1rem, 4vw, 2rem);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 18%, rgba(215,154,56,.18), transparent 26%),
    radial-gradient(circle at 84% 22%, rgba(31,87,75,.34), transparent 32%),
    linear-gradient(145deg, #061511 0%, #0b241f 62%, #04110e 100%);
}
.hero-bg::after {
  content:"";
  position:absolute;
  inset:0;
  opacity:.06;
  background-image: linear-gradient(90deg, #fff 1px, transparent 1px), linear-gradient(#fff 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
.hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display:grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .82fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items:center;
}
.eyebrow {
  margin: 0 0 .75rem;
  color: var(--copper);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .76rem;
  font-weight: 1000;
  letter-spacing: .24em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 900px;
  margin-bottom: 1.15rem;
  font-size: clamp(3rem, 8.7vw, 7.4rem);
  line-height: .89;
  letter-spacing: -.07em;
}
h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.15rem, 5.7vw, 4.9rem);
  line-height: .94;
  letter-spacing: -.058em;
}
h3 { font-size: clamp(1.35rem, 3vw, 2.1rem); line-height: 1.05; margin-bottom:.65rem; }
.lead { max-width: 760px; color: rgba(241,229,207,.78); font-size: clamp(1.12rem, 2.1vw, 1.45rem); }
.bigline { color: var(--green); font-size: clamp(1.24rem, 2.35vw, 1.75rem); line-height: 1.35; }
.hero-actions { display:flex; gap:.75rem; flex-wrap:wrap; margin-top: 1.6rem; }
.btn {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: .95rem 1.25rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 1000;
  line-height:1;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--copper); color: var(--night); border-color: var(--copper); }
.btn.ghost { background: transparent; color: var(--paper); border-color: rgba(241,229,207,.56); }
.btn.light { background: var(--paper); color: var(--night); border-color: var(--paper); }
.btn.full { width:100%; }
.hero-portrait {
  margin:0;
  border-radius: 36px;
  overflow:hidden;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow);
  background: #0b1c18;
  transform: rotate(1.4deg);
}
.hero-portrait img { aspect-ratio: 4 / 5.15; object-fit: cover; object-position: center; }

.paper, .section, .circulation, .next, .author, .dark-call {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
  scroll-margin-top: 94px;
}
.paper {
  background:
    radial-gradient(circle at 8% 10%, rgba(215,154,56,.12), transparent 24%),
    var(--paper);
  color: var(--ink);
  border-radius: 38px;
  padding: clamp(1.5rem, 5vw, 3.8rem);
  margin-block: clamp(2rem, 6vw, 5rem);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}
.intro-grid {
  display:grid;
  grid-template-columns: minmax(240px, 390px) 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items:center;
}
.book-mini {
  margin:0;
  padding: clamp(.75rem, 2vw, 1rem);
  border-radius: 28px;
  background: rgba(255,255,255,.38);
  box-shadow: 0 22px 60px rgba(6,21,17,.16);
}
.book-mini img { border-radius: 20px; }
.intro-copy p { color: #2e4038; font-size: clamp(1.05rem, 1.9vw, 1.28rem); }
.chips { display:flex; flex-wrap:wrap; gap:.55rem; margin-top:1.2rem; }
.chips span { border:1px solid var(--line-dark); border-radius:999px; padding:.55rem .8rem; font-family: ui-sans-serif, system-ui, sans-serif; font-weight:800; font-size:.9rem; background: rgba(255,255,255,.28); }

.dark-call {
  margin-block: clamp(2rem, 6vw, 5rem);
  background:
    linear-gradient(135deg, rgba(215,154,56,.10), transparent 38%),
    linear-gradient(145deg, #0a2a24, #04110e 70%);
  color: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: 38px;
  padding: clamp(1.8rem, 5vw, 4rem);
  display:grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items:end;
  box-shadow: var(--shadow);
}
.dark-call h2 { max-width: 780px; }
.dark-call p { max-width: 760px; color: rgba(241,229,207,.78); font-size: clamp(1.05rem, 1.9vw, 1.32rem); }
.dark-call .small-note { color: rgba(241,229,207,.62); font-size: clamp(.95rem, 1.5vw, 1.04rem); }

.story {
  display:grid;
  grid-template-columns: 1fr minmax(260px, 410px);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items:center;
}
.story-copy p { color:#37473e; font-size: clamp(1.08rem, 2vw, 1.3rem); }
.story-image { margin:0; border-radius: 28px; overflow:hidden; box-shadow: 0 22px 60px rgba(6,21,17,.18); }
.story-image img { aspect-ratio: 4 / 5; object-fit: cover; }

.section { padding-block: clamp(2.5rem, 7vw, 5rem); }
.section-heading { max-width: 800px; margin-bottom: 1.6rem; }
.media-grid { display:grid; grid-template-columns: 1.18fr .82fr; gap:1rem; align-items:stretch; }
.media-card {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  background: rgba(241,229,207,.07);
}
.media-card.featured { background: var(--paper); color: var(--ink); border-color: transparent; }
.media-card p { color: rgba(241,229,207,.72); font-size: clamp(1rem, 1.8vw, 1.16rem); }
.media-card.featured p { color: var(--muted); }
.tag { margin-bottom:.6rem; font-family: ui-sans-serif, system-ui, sans-serif; text-transform:uppercase; letter-spacing:.18em; font-weight:1000; font-size:.75rem; color: var(--copper) !important; }
.media-card a, .socials a { color: var(--copper); font-family: ui-sans-serif, system-ui, sans-serif; font-weight:1000; text-decoration:none; }
.media-card a:hover, .socials a:hover { text-decoration: underline; }

.circulation {
  padding-block: clamp(2rem, 6vw, 4rem);
}
.circulation-copy { max-width: 720px; margin-bottom: 1.35rem; }
.circulation-copy p { color: rgba(241,229,207,.72); font-size: clamp(1.05rem, 1.8vw, 1.2rem); }
.photo-strip { display:grid; grid-template-columns: 1.1fr .95fr .95fr; gap: .8rem; }
.photo-strip figure { margin:0; border-radius: 26px; overflow:hidden; border:1px solid var(--line-light); background:#0b1c18; }
.photo-strip img { height: 100%; min-height: 320px; object-fit: cover; object-position:center; }

.next {
  margin-block: clamp(2rem, 6vw, 5rem);
  display:grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items:center;
  background: #061511;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  padding-block: clamp(2rem, 6vw, 4.5rem);
}
.next-cover { margin:0; border-radius: 30px; overflow:hidden; border:1px solid var(--line-light); box-shadow: var(--shadow); }
.next-cover img { aspect-ratio: 4 / 6; object-fit: cover; }
.next-copy p { color: rgba(241,229,207,.72); font-size: clamp(1.05rem, 1.9vw, 1.26rem); }
.next-copy .bigline { color: var(--paper); }

.author {
  margin-block: clamp(2rem, 6vw, 5rem);
  display:grid;
  grid-template-columns: 1fr minmax(260px, 430px);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items:center;
  background: var(--paper);
  color: var(--ink);
  border-radius: 38px;
  padding: clamp(1.5rem, 5vw, 3.8rem);
}
.author-card-text p { color: #37473e; font-size: clamp(1.05rem, 1.9vw, 1.23rem); }
.author-photo { margin:0; border-radius: 30px; overflow:hidden; box-shadow: 0 22px 60px rgba(6,21,17,.18); }
.author-photo img { aspect-ratio: 4 / 4.8; object-fit: cover; object-position: center; }
.socials { display:flex; gap:.9rem; flex-wrap:wrap; margin-top:1.25rem; }
.footer { text-align:center; padding: 1.5rem 1rem 5.5rem; color: rgba(241,229,207,.56); font-family: ui-sans-serif, system-ui, sans-serif; }

.amanda-float {
  position: fixed;
  right: clamp(1rem, 4vw, 1.5rem);
  bottom: clamp(1rem, 4vw, 1.5rem);
  z-index: 40;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 9px solid var(--night);
  background: var(--copper);
  color: var(--night);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 1000;
  font-size: 1.35rem;
  cursor:pointer;
  box-shadow: 0 18px 44px rgba(0,0,0,.36);
}
.chat-modal { position:fixed; inset:0; z-index:60; display:none; align-items:center; justify-content:center; padding:1rem; background: rgba(0,0,0,.62); }
.chat-modal.is-open { display:flex; }
.chat-panel { width:min(720px, 100%); max-height: min(820px, 92svh); overflow:hidden; background: var(--paper-2); color: var(--ink); border-radius: 28px; box-shadow: 0 30px 90px rgba(0,0,0,.45); display:flex; flex-direction:column; }
.chat-head { display:flex; justify-content:space-between; gap:1rem; padding:1.1rem 1.2rem; border-bottom:1px solid var(--line-dark); }
.chat-head h2 { margin:0; font-size:1.55rem; letter-spacing:-.03em; }
.status { margin:0 0 .15rem; font-family: ui-sans-serif, system-ui, sans-serif; font-weight:900; font-size:.85rem; color: var(--muted); }
.status span { display:inline-block; width:.7rem; height:.7rem; background:#32d583; border-radius:50%; margin-right:.35rem; }
.chat-close { border:0; background:transparent; cursor:pointer; font-size:2rem; line-height:1; color:var(--ink); }
.lead-gate { padding:1.15rem; display:grid; gap:.85rem; }
.lead-gate p { font-size:1.12rem; margin:0; }
.lead-gate small { color:var(--muted); font-family: ui-sans-serif, system-ui, sans-serif; }
.lead-gate label { display:grid; gap:.35rem; font-family: ui-sans-serif, system-ui, sans-serif; font-weight:800; }
.lead-gate input, .chat-form input { width:100%; border:1px solid var(--line-dark); background:#fff; border-radius: 16px; padding:.85rem .95rem; color: var(--ink); outline: none; }
.lead-gate input:focus, .chat-form input:focus { border-color: var(--copper); box-shadow: 0 0 0 4px rgba(215,154,56,.16); }
.chat-body { padding:1rem; overflow:auto; }
.messages { display:grid; gap:.7rem; min-height: 220px; max-height: 48svh; overflow:auto; padding-right:.25rem; }
.msg { max-width: 86%; padding:.82rem .95rem; border-radius: 20px; font-family: ui-sans-serif, system-ui, sans-serif; line-height:1.45; white-space:pre-wrap; }
.msg.user { justify-self:end; background: var(--night); color:var(--paper); border-bottom-right-radius:6px; }
.msg.bot { justify-self:start; background:#eadfc9; color:var(--ink); border-bottom-left-radius:6px; }
.msg a { color:var(--green); font-weight:900; }
.bot-buttons { display:flex; flex-wrap:wrap; gap:.45rem; margin-top:.55rem; }
.bot-buttons a { border:1px solid var(--green); border-radius:999px; padding:.55rem .75rem; text-decoration:none; font-weight:900; background:#fff8ea; }
.quick-actions { display:flex; flex-wrap:wrap; gap:.5rem; margin:1rem 0; }
.quick-actions button { border:1px solid var(--line-dark); background:#fff8ea; border-radius:999px; padding:.55rem .72rem; cursor:pointer; font-family:ui-sans-serif,system-ui,sans-serif; font-weight:800; }
.chat-form { display:grid; grid-template-columns: 1fr auto; gap:.5rem; }
.chat-form button { border:0; border-radius:16px; padding:.8rem 1rem; background:var(--night); color:var(--paper); font-family:ui-sans-serif,system-ui,sans-serif; font-weight:900; cursor:pointer; }

@media (max-width: 920px) {
  .nav { display:none; }
  .topbar { min-height:64px; }
  .hero { min-height:auto; padding-top: 2.2rem; }
  .hero-inner { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3.25rem, 14vw, 5.8rem); }
  h2 { font-size: clamp(2.25rem, 10.5vw, 3.75rem); }
  .hero-portrait { max-width: 520px; width:100%; margin-inline:auto; transform:none; }
  .intro-grid, .story, .media-grid, .next, .author { grid-template-columns: 1fr; }
  .book-mini, .next-cover, .author-photo { max-width: 470px; margin-inline:auto; }
  .dark-call { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr; }
  .photo-strip img { min-height: 260px; aspect-ratio: 4 / 3; }
  .next { width: min(1160px, calc(100% - 2rem)); }
}

@media (max-width: 560px) {
  .brand-mark { width:38px; height:38px; font-size:.95rem; }
  .brand-text strong { font-size:.9rem; letter-spacing:.065em; }
  .brand-text small { font-size:.62rem; }
  .hero { padding-inline: 1rem; }
  .hero-actions .btn { width: 100%; }
  .paper, .section, .circulation, .next, .author, .dark-call { width: min(100% - 1rem, 1160px); }
  .paper, .dark-call, .author { border-radius: 28px; }
  .paper, .dark-call, .author { padding: 1.1rem; }
  .section, .circulation { padding-block: 2.8rem; }
  .book-mini { padding:.55rem; border-radius: 22px; }
  .book-mini img, .story-image img, .next-cover img, .author-photo img { border-radius: 16px; }
  .story-image { border-radius: 22px; }
  .media-card { border-radius: 22px; }
  .photo-strip figure { border-radius: 22px; }
  .amanda-float { width:58px; height:58px; border-width:8px; }
  .chat-modal { padding:.5rem; align-items:flex-end; }
  .chat-panel { max-height: 92svh; border-radius: 22px 22px 0 0; }
  .chat-form { grid-template-columns: 1fr; }
}

/* v10 — Amanda em duas etapas, conversa limpa */
[hidden] { display: none !important; }
html.chat-open, html.chat-open body { overflow: hidden; }
.chat-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(.75rem, 3vw, 1.25rem);
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(5px);
}
.chat-modal.is-open { display: flex; }
.chat-panel {
  width: min(680px, 100%);
  max-height: min(860px, 92svh);
  overflow: hidden;
  background: #f7ecd6;
  color: var(--ink);
  border: 1px solid rgba(241,229,207,.36);
  border-radius: 30px;
  box-shadow: 0 34px 120px rgba(0,0,0,.56);
  display: flex;
  flex-direction: column;
}
.chat-head {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem clamp(1rem, 4vw, 1.35rem);
  border-bottom: 1px solid rgba(16,33,29,.13);
  background: #fbf1dc;
}
.chat-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  line-height: .94;
  letter-spacing: -.055em;
}
.status {
  margin: 0 0 .25rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 950;
  font-size: .92rem;
  color: rgba(16,33,29,.62);
}
.status span {
  width: .7rem;
  height: .7rem;
  background: #32d583;
  box-shadow: 0 0 0 5px rgba(50,213,131,.12);
}
.chat-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--ink);
}
.chat-close:hover { background: rgba(16,33,29,.08); }
.lead-gate {
  flex: 1 1 auto;
  overflow: auto;
  padding: clamp(1.2rem, 4vw, 1.8rem);
  display: grid;
  gap: 1rem;
}
.lead-gate p {
  max-width: 520px;
  font-size: clamp(1.25rem, 5vw, 2.05rem);
  line-height: 1.3;
  margin: 0 0 .25rem;
}
.lead-gate small {
  max-width: 560px;
  color: rgba(16,33,29,.58);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .95rem;
  line-height: 1.45;
}
.lead-warning {
  color: #8a2f1f !important;
  font-weight: 900;
}
.lead-gate label {
  display: grid;
  gap: .45rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 950;
  font-size: .98rem;
}
.lead-gate input,
.chat-form input {
  width: 100%;
  border: 1px solid rgba(16,33,29,.18);
  background: #fffaf0;
  border-radius: 18px;
  padding: 1rem 1rem;
  color: var(--ink);
  outline: none;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 750;
  font-size: 1rem;
}
.lead-gate input:focus,
.chat-form input:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(215,154,56,.16);
}
.chat-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 15% 8%, rgba(215,154,56,.13), transparent 26%),
    #f7ecd6;
  padding: 0;
}
.messages {
  flex: 1 1 auto;
  min-height: 330px;
  max-height: none;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1rem clamp(.85rem, 3vw, 1.15rem);
}
.msg {
  max-width: min(86%, 520px);
  padding: .86rem 1rem;
  border-radius: 20px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .98rem;
  line-height: 1.44;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  box-shadow: 0 10px 28px rgba(6,21,17,.08);
}
.msg.user {
  align-self: flex-end;
  justify-self: unset;
  background: #08251f;
  color: #fff5df;
  border-bottom-right-radius: 7px;
}
.msg.bot {
  align-self: flex-start;
  justify-self: unset;
  background: #fff7e8;
  color: var(--ink);
  border-bottom-left-radius: 7px;
  border: 1px solid rgba(16,33,29,.08);
}
.msg.loading { color: rgba(16,33,29,.68); font-style: italic; }
.msg a { color: var(--green); font-weight: 950; }
.bot-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .65rem;
}
.bot-buttons a {
  border: 1px solid rgba(16,61,52,.35);
  border-radius: 999px;
  padding: .55rem .78rem;
  text-decoration: none;
  font-weight: 950;
  background: #fdf0d5;
  color: var(--green);
}
.quick-actions {
  flex: 0 0 auto;
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding: .75rem clamp(.85rem, 3vw, 1.15rem) .55rem;
  margin: 0;
  border-top: 1px solid rgba(16,33,29,.10);
  background: rgba(251,241,220,.9);
}
.quick-actions button {
  flex: 0 0 auto;
  border: 1px solid rgba(16,33,29,.17);
  background: #fffaf0;
  color: var(--ink);
  border-radius: 999px;
  padding: .62rem .86rem;
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  font-size: .92rem;
}
.chat-form {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .55rem;
  padding: .75rem clamp(.85rem, 3vw, 1.15rem) 1rem;
  border-top: 1px solid rgba(16,33,29,.10);
  background: #fbf1dc;
}
.chat-form button {
  border: 0;
  border-radius: 18px;
  padding: .8rem 1.05rem;
  background: var(--night);
  color: var(--paper);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 950;
  cursor: pointer;
}

@media (max-width: 560px) {
  .chat-modal {
    align-items: flex-end;
    padding: 0;
  }
  .chat-panel {
    width: 100%;
    height: auto;
    max-height: 88svh;
    border-radius: 26px 26px 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }
  .chat-panel.chat-active {
    height: 88svh;
  }
  .lead-gate {
    padding: 1.15rem 1rem 1.4rem;
  }
  .lead-gate p {
    font-size: 1.45rem;
  }
  .messages {
    min-height: 0;
    padding-bottom: .8rem;
  }
  .msg {
    max-width: 88%;
    font-size: .96rem;
  }
  .chat-form {
    grid-template-columns: 1fr auto;
    padding-bottom: calc(.85rem + env(safe-area-inset-bottom));
  }
  .chat-form input {
    min-width: 0;
  }
}

/* v11 — cache bust + header correto */
.brand { color: var(--paper); }
.brand-text strong { display:block; }
.brand-text small { display:block; }
@media (max-width: 560px){
  .brand-text strong { font-size:.78rem; letter-spacing:.055em; }
  .brand-text small { font-size:.56rem; letter-spacing:.055em; }
}
