/* MI Odonto — app do paciente (BETA) · claro premium + dourado da marca */
:root {
  --brand: #C6A015; --brand-deep: #8F7208; --brand-soft: #F7EDC9; --brand-ink: #201C12;
  --bg: #FAF8F3; --card: #FFFFFF; --ink: #201C12; --soft: #6E6656; --line: #ECE6D6;
  --ok: #2F6947; --ok-bg: #E4F1E9; --danger: #C0392B;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
/* CASCA DE APP: a página NÃO rola (sem barra, sem quicar/puxar-pra-atualizar do iOS);
   quem rola é SÓ o miolo (#view), com barra invisível — telas fixas, sensação nativa. */
html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
body {
  position: fixed; inset: 0; width: 100%;
  margin: 0; color: var(--ink);
  background: linear-gradient(180deg, #FEFCF3 0%, #FBF3D7 58%, #F0DFA2 100%) fixed;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-user-select: none; user-select: none; /* app não seleciona texto no toque longo */
}
input, textarea, [contenteditable] { -webkit-user-select: text; user-select: text; }
.serif { font-family: "Iowan Old Style", Georgia, "Times New Roman", serif; }

main {
  height: 100dvh; overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain; scrollbar-width: none;
  max-width: 560px; margin: 0 auto;
  padding: calc(20px + env(safe-area-inset-top)) 20px calc(96px + env(safe-area-inset-bottom));
}
main::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* header padrão de tela */
.screen-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; flex: 0 0 auto;
}
.logo-mark img { width: 80%; height: 80%; object-fit: contain; }
.screen-head h1 { font-family: Georgia, "Iowan Old Style", serif; font-size: 23px; margin: 0; line-height: 1.1; }
.screen-head small { display: block; font-family: ui-monospace, Menlo, monospace; font-size: 10px; letter-spacing: .18em; color: var(--soft); }
.bell-top { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; margin-left: auto; color: var(--ink); }
.bell-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.bell-top i { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); border: 1.5px solid var(--card); }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid var(--brand-soft); }
.bell-top + .avatar { margin-left: 8px; }

/* componentes */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 15px; margin-bottom: 12px; }
.card .lbl { display: block; font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin-bottom: 6px; }
.card.hi { border-color: var(--brand); background: linear-gradient(135deg, #FBF1CE 0%, #F0DC96 100%); }
.btn {
  display: block; width: 100%; border: 0; border-radius: 14px; padding: 15px;
  background: var(--brand); color: var(--brand-ink); font-size: 16px; font-weight: 700;
  text-align: center; cursor: pointer;
}
.btn.ghost { background: transparent; color: var(--brand-deep); border: 1.5px solid var(--brand); padding: 13px; }
.btn:disabled { opacity: .55; }
.muted { color: var(--soft); font-size: 14.5px; }
.pill { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-deep); }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
h2.sec { font-family: Georgia, serif; font-size: 20px; margin: 18px 0 10px; }

/* login */
.login-wrap { display: flex; flex-direction: column; justify-content: center; min-height: calc(100dvh - 140px); }
.login-logo { display: block; width: 210px; margin: 0 auto 16px; }
.login-wrap input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px;
  font-size: 16px; background: #fff; margin-bottom: 10px; color: var(--ink);
}
.login-wrap input:focus { outline: 2px solid var(--brand); border-color: var(--brand); }

/* home */
.stats-strip { display: flex; gap: 8px; margin: 12px 0; }
.stats-strip > div { flex: 1; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 9px 6px; text-align: center; }
.stats-strip b { display: block; font-size: 15px; }
.stats-strip span { font-size: 11px; color: var(--soft); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.short {
  background: var(--card); border: 1px solid var(--line); border-radius: 15px;
  padding: 13px 4px 12px; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--ink);
  text-decoration: none; display: block;
}
.short .ico {
  width: 46px; height: 46px; border-radius: 14px; margin: 0 auto 7px;
  background: linear-gradient(135deg, #FAF0CE 0%, #EDD88F 100%); color: var(--ink);
  display: grid; place-items: center;
}
.short .ico svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mag-cta {
  display: flex; gap: 13px; align-items: center; width: 100%; margin-top: 12px;
  background: var(--card); border: 1.5px solid var(--brand); border-radius: 16px;
  padding: 12px; cursor: pointer; text-align: left; text-decoration: none; color: var(--ink);
}
.mag-cta img { width: 76px; aspect-ratio: 3/4; object-fit: cover; object-position: top; border-radius: 10px; }
.mag-cta b { display: block; font-size: 15.5px; margin: 5px 0 3px; }
.mag-cta .sub { font-size: 13px; color: var(--soft); }

/* agenda / confirmação */
.apt-actions { display: flex; gap: 8px; margin-top: 12px; }
.apt-actions .btn { padding: 11px; font-size: 13.5px; }
.confirm-badge { display: inline-flex; gap: 8px; background: var(--ok-bg); color: var(--ok); font-weight: 800; font-size: 15px; padding: 10px 18px; border-radius: 999px; }
.countdown {
  width: 150px; height: 150px; border-radius: 50%; margin: 18px auto 10px;
  background: linear-gradient(135deg, var(--brand-soft) 0%, var(--brand) 100%);
  display: grid; place-items: center; box-shadow: 0 14px 30px rgba(0,0,0,.14);
}
.countdown > div { width: 126px; height: 126px; border-radius: 50%; background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.countdown b { font-size: 46px; line-height: 1; }
.countdown span { font-size: 12.5px; color: var(--soft); margin-top: 3px; text-align: center; }
.reminder { display: flex; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.reminder:last-child { border-bottom: 0; }
.reminder .ic { width: 34px; height: 34px; border-radius: 11px; background: var(--brand-soft); display: grid; place-items: center; flex: 0 0 auto; }
.reminder span { display: block; color: var(--soft); font-size: 12.5px; }
.slot { border: 1.5px solid var(--brand); background: linear-gradient(135deg, #FBF1CE, #F0DC96); border-radius: 14px; padding: 13px 15px; margin-bottom: 10px; cursor: pointer; }
.slot b { font-size: 16px; } .slot span { display: block; font-size: 12.5px; color: var(--soft); }

/* exames / evolução */
.exam-fig { border-radius: 14px; overflow: hidden; background: #06090F; margin-bottom: 10px; position: relative; }
.exam-fig img { display: block; width: 100%; }
.exam-fig .cap { position: absolute; left: 10px; bottom: 8px; color: #C7D6E4; font-size: 11.5px; font-family: ui-monospace, Menlo, monospace; letter-spacing: .06em; text-shadow: 0 1px 4px #000; }
table.lab { width: 100%; border-collapse: collapse; font-size: 14px; }
table.lab td { padding: 9px 4px; border-bottom: 1px solid var(--line); }
table.lab td:last-child { text-align: right; }
table.lab .ref { color: var(--soft); font-size: 11.5px; display: block; }
.ba-wrap { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/5; max-width: 320px; margin: 0 auto; }
.ba-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; box-shadow: 0 0 8px rgba(0,0,0,.4); pointer-events: none; }
.ba-range { width: 100%; max-width: 320px; display: block; margin: 12px auto 2px; accent-color: var(--brand); }
.ba-tags { display: flex; justify-content: space-between; max-width: 320px; margin: 0 auto; font-size: 12.5px; color: var(--soft); font-weight: 700; }

/* dicas */
.tip { display: flex; gap: 11px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 13px; margin-bottom: 10px; }
.tip .em { font-size: 20px; }
.tip b { display: block; font-size: 15px; margin-bottom: 2px; }
.tip span { font-size: 13.5px; color: var(--soft); }

/* catálogos */
.shelf { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cat-card { background: var(--card); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; cursor: pointer; padding: 0; text-align: left; }
.cat-card img { display: block; width: 100%; aspect-ratio: 560/700; object-fit: cover; object-position: top; }
.cat-card .ci { padding: 10px 12px 12px; }
.cat-card b { font-size: 13.5px; display: block; line-height: 1.3; margin: 5px 0 3px; }
.cat-card span { font-size: 11.5px; color: var(--soft); }

/* chat */
.chat-screen { display: flex; flex-direction: column; height: calc(100dvh - 96px - env(safe-area-inset-bottom)); margin: calc(-20px - env(safe-area-inset-top)) -20px 0; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 30px 16px 12px; background: var(--card); border-bottom: 1px solid var(--line); }
.chat-head .menu { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 17px; color: var(--ink); }
.chat-ava { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-soft), var(--brand)); font-weight: 800; display: grid; place-items: center; font-size: 18px; }
.chat-head b { font-size: 16px; display: block; }
.chat-head small { font-size: 12px; color: var(--ok); font-weight: 700; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px 14px 8px; display: flex; flex-direction: column; gap: 9px; }
.cb { max-width: 84%; border-radius: 15px; padding: 10px 13px; font-size: 14.5px; line-height: 1.45; }
.cb.t { background: var(--card); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 5px; }
.cb.m { background: linear-gradient(135deg, #FBF1CE, #F0DC96); align-self: flex-end; border-bottom-right-radius: 5px; }
.cb.e { background: #FFF9E8; border: 1px solid #E8CC74; align-self: flex-start; border-bottom-left-radius: 5px; }
.cb.e small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .08em; color: #A8842A; margin-bottom: 3px; }

/* documentos enviados pela clínica */
.doc-item { display: flex; align-items: center; gap: 12px; padding: 12px 2px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line); }
.doc-item:last-child { border-bottom: none; }
.doc-ic { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #FBF1CE, #F0DC96); display: grid; place-items: center; flex: 0 0 auto; }
.doc-ic svg { width: 22px; height: 22px; fill: none; stroke: #7A5E18; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* conteúdo / materiais */
.mat { margin-bottom: 16px; border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.mat video, .mat img { width: 100%; display: block; background: #000; }
.mat img { background: var(--card); }
.mat-cap { padding: 11px 14px; }
.mat-cap b { display: block; font-size: 15.5px; }
.mat-cap small { color: var(--muted); font-size: 12.5px; letter-spacing: .03em; }

/* capa da revista quando é PDF (sem imagem de capa) */
.mag-cover-fallback { width: 76px; aspect-ratio: 3/4; border-radius: 10px; background: linear-gradient(150deg, #FBF1CE, #EDCA28 60%, #C6A015); display: grid; place-items: center; flex: 0 0 auto; }
.mag-cover-fallback svg { width: 30px; height: 30px; fill: none; stroke: #1A1608; stroke-width: 1.6; }
.mag-hero { border-radius: 16px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.mag-hero img { width: 100%; display: block; }
.mag-cover-lg { aspect-ratio: 3/4; background: linear-gradient(150deg, #FBF1CE, #EDCA28 55%, #C6A015); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 24px; }
.mag-cover-lg svg { width: 56px; height: 56px; fill: none; stroke: #1A1608; stroke-width: 1.4; }
.mag-cover-lg b { font-family: var(--serif, Georgia, serif); font-size: 22px; color: #1A1608; }
.doc-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.doc-tx b { font-size: 15px; }
.doc-tx small { color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.doc-go { color: var(--muted); font-size: 22px; }
.doc-item:active { background: #FFFDF4; }
button.doc-item { width: 100%; background: none; border: none; border-bottom: 1px solid var(--line); font: inherit; text-align: left; cursor: pointer; }
button.doc-item:last-child { border-bottom: none; }
.pill.pend { background: #FCEFD2; color: #9A6B12; }

/* documento-modelo (termo) + aceite */
.termo-doc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 18px; margin: 4px 0 16px; line-height: 1.6; font-size: 14.5px; color: var(--ink); }
.termo-doc h2 { font-family: var(--serif, Georgia, serif); font-size: 20px; margin: 6px 0 8px; }
.termo-doc h3 { font-size: 16px; font-weight: 700; margin: 16px 0 6px; }
.termo-doc h4 { font-size: 14.5px; font-weight: 700; margin: 12px 0 4px; color: var(--label); }
.termo-doc p { margin: 8px 0; }
.termo-doc ul { margin: 8px 0 8px 18px; }
.termo-doc li { margin: 3px 0; }
.termo-doc blockquote { border-left: 3px solid var(--gold, #EDCA28); background: #FFFDF4; padding: 8px 12px; margin: 10px 0; font-size: 13px; color: var(--muted); }
.termo-doc strong { color: var(--ink); }
.aceite-box { border: 1.5px solid var(--gold, #EDCA28); }
.aceite-check { display: flex; gap: 11px; align-items: flex-start; cursor: pointer; font-size: 14px; line-height: 1.45; }
.aceite-check input { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 1px; accent-color: #C6A015; }
.aceite-box .btn { margin-top: 14px; width: 100%; }
.aceite-ok { background: #EAF7EE; border: 1px solid #B8E0C2; color: #1E7A3D; font-weight: 600; font-size: 14px; text-align: center; }
.chat-unlock { align-self: center; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; background: var(--brand-soft); color: var(--brand-deep); padding: 6px 12px; border-radius: 999px; }
.chat-form { display: flex; gap: 8px; padding: 10px 14px 12px; background: var(--card); border-top: 1px solid var(--line); }
.chat-form input { flex: 1; border: 1.5px solid var(--brand); border-radius: 999px; padding: 12px 16px; font-size: 15px; background: #fff; color: var(--ink); }
.chat-form button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--brand); color: var(--brand-ink); font-size: 17px; }
.threads { padding: 4px 0; }
.conv { border: 1px solid var(--line); border-radius: 13px; padding: 12px 14px; font-size: 14.5px; background: var(--card); margin-bottom: 8px; cursor: pointer; }
.conv small { display: block; font-size: 11.5px; color: var(--soft); margin-top: 2px; }
.conv.new { border: 1.5px dashed var(--brand); color: var(--brand-deep); font-weight: 700; text-align: center; }

/* tab bar */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; justify-content: space-around; background: rgba(255,254,248,.95);
  border-top: 1px solid var(--line); padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
  backdrop-filter: blur(10px); max-width: 560px; margin: 0 auto;
}
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: var(--soft); font-size: 10.5px; font-weight: 700; min-width: 58px; }
.tabbar a svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a.on { color: var(--brand-deep); }

/* folheador */
.reader { position: fixed; inset: 0; z-index: 90; background: #191510; display: flex; flex-direction: column; }
.reader-top { display: flex; align-items: center; gap: 10px; padding: 18px 14px 10px; color: #F3ECD9; }
.reader-top b { font-size: 13px; flex: 1; line-height: 1.3; }
.reader-top .rp { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: #CBB97F; }
.reader-top button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 16px; }
.book-wrap { flex: 1; display: grid; place-items: center; padding: 0 18px; min-height: 0; }
.book { position: relative; width: 100%; max-width: 320px; aspect-ratio: 560/792; perspective: 1500px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.pg { position: absolute; inset: 0; transform-origin: left center; transform-style: preserve-3d; }
.pg .face { position: absolute; inset: 0; border-radius: 6px; backface-visibility: hidden; -webkit-backface-visibility: hidden; background-size: cover; background-position: center; box-shadow: 0 5px 20px rgba(0,0,0,.5); }
.pg .back { transform: rotateY(180deg); background: #EDE5DF linear-gradient(105deg, rgba(120,90,80,.16), transparent 40%); }
.pg .shade { position: absolute; inset: 0; border-radius: 6px; pointer-events: none; opacity: 0; background: linear-gradient(to right, rgba(20,12,4,.55), transparent 45%); }
.reader-hint { text-align: center; font-size: 11.5px; color: #B7A468; padding: 10px 0 20px; }

.reader[hidden], .tabbar[hidden] { display: none !important; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: calc(88px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  background: #241E10; color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14px;
  z-index: 99; box-shadow: 0 10px 26px rgba(0,0,0,.3); max-width: 88vw; text-align: center;
}

/* notificações */
.notif { display: flex; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 14px; margin-bottom: 9px; }
.notif .mini { width: 34px; height: 34px; border-radius: 11px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 800; flex: 0 0 auto; }
.notif b { display: block; font-size: 13.5px; }
.notif span { color: var(--soft); font-size: 13px; }
.notif .when { margin-left: auto; font-size: 11px; color: var(--soft); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- VIDA: micro-interações (acessíveis: sutis, com propósito, sem loop piscante) ---------- */
/* toque responde em TUDO que é interativo */
.btn, .short, .card.hi, .mag-cta, .slot, .cat-card, .conv, .bell-top, .tabbar a, .chat-form button {
  transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
}
.btn:active, .slot:active, .chat-form button:active { transform: scale(.965); filter: brightness(.96); }
.short:active, .mag-cta:active, .cat-card:active, .conv:active, .bell-top:active { transform: scale(.96); }
.tabbar a:active { transform: translateY(1px) scale(.94); }
.short:active .ico { transform: scale(1.12); }
.short .ico { transition: transform .18s cubic-bezier(.3,1.6,.5,1); }

/* entrada da tela: conteúdo desliza suave (1x, curto) */
@media (prefers-reduced-motion: no-preference) {
  main.enter > * { animation: rise .34s ease backwards; }
  main.enter > *:nth-child(2) { animation-delay: .04s; }
  main.enter > *:nth-child(3) { animation-delay: .08s; }
  main.enter > *:nth-child(4) { animation-delay: .12s; }
  main.enter > *:nth-child(5) { animation-delay: .16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

  /* home: ícones "se apresentam" em cascata, uma única vez */
  .grid .short .ico { animation: popin .5s cubic-bezier(.3,1.6,.5,1) backwards; }
  .grid .short:nth-child(1) .ico { animation-delay: .05s; }
  .grid .short:nth-child(2) .ico { animation-delay: .12s; }
  .grid .short:nth-child(3) .ico { animation-delay: .19s; }
  .grid .short:nth-child(4) .ico { animation-delay: .26s; }
  .grid .short:nth-child(5) .ico { animation-delay: .33s; }
  .grid .short:nth-child(6) .ico { animation-delay: .40s; }
  @keyframes popin { from { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } to { transform: scale(1); opacity: 1; } }

  /* sino: balança de leve quando há aviso (a cada ~9s, 1 ciclo curto — chama sem irritar) */
  .bell-top.has-news svg { transform-origin: top center; animation: bellwiggle 9s ease-in-out infinite; }
  @keyframes bellwiggle { 0%, 92%, 100% { transform: rotate(0); } 94% { transform: rotate(-13deg); } 96% { transform: rotate(11deg); } 98% { transform: rotate(-6deg); } }

  /* countdown: número respira 1x ao aparecer */
  .countdown { animation: popin .55s cubic-bezier(.3,1.6,.5,1) backwards; }
  /* badge de confirmação: surge com bounce */
  .confirm-badge { animation: popin .45s cubic-bezier(.3,1.6,.5,1) backwards; }
  /* mensagens novas do chat entram deslizando */
  .cb { animation: rise .25s ease backwards; }
}
/* botão voltar */
.back-btn {
  width: 40px; height: 40px; border-radius: 13px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); font-size: 20px; line-height: 1;
  display: grid; place-items: center; flex: 0 0 auto; cursor: pointer;
  transition: transform .14s ease;
}
.back-btn:active { transform: scale(.92) translateX(-2px); }

/* anamnese preenchível pelo paciente */
.an-intro { color: var(--soft); font-size: 14.5px; line-height: 1.5; margin: 2px 2px 14px; }
.an-intro b { color: var(--brand-deep); }
.an-form { display: flex; flex-direction: column; }
.qfield { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 10px; }
.qlab { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--ink); margin-bottom: 10px; }
.qlab .req { color: var(--brand); font-style: normal; }
.qin {
  width: 100%; border: 1.5px solid var(--line); border-radius: 11px; padding: 11px 12px;
  font-size: 16px; font-family: inherit; background: #fff; color: var(--ink); resize: vertical; box-sizing: border-box;
}
.qin:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.qdet { margin-top: 10px; }
.seg { display: flex; gap: 10px; }
.seg-b {
  flex: 1; padding: 12px; border: 1.5px solid var(--line); border-radius: 11px;
  background: #fff; color: var(--soft); font-size: 15px; font-weight: 700; cursor: pointer;
  transition: transform .12s ease, background .12s ease, color .12s ease, border-color .12s ease;
}
.seg-b:active { transform: scale(.96); }
.seg-b.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.an-decl { margin: 6px 2px 14px; }
.an-form .btn { width: 100%; }
.an-form[data-ro="1"] .seg-b, .an-form[data-ro="1"] .qin { opacity: .8; }

/* destaque de Novidades da MI Odonto na home */
.bn-hero { background: var(--card); border: 1px solid var(--brand); border-radius: 16px; overflow: hidden; margin-bottom: 12px; box-shadow: 0 6px 20px rgba(150,118,26,.10); }
.bn-media { background: #000; }
.bn-media video, .bn-media img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.bn-media a { display: block; }
.bn-pdf { display: flex; align-items: center; gap: 10px; padding: 22px 16px; background: linear-gradient(135deg, #FBF1CE 0%, #F0DC96 100%); color: var(--brand-deep); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.bn-pdf svg { width: 26px; height: 26px; flex: 0 0 auto; }
.bn-cap { padding: 13px 15px 15px; display: flex; flex-direction: column; gap: 6px; }
.bn-cap b { font-family: var(--serif, Georgia, serif); font-size: 17px; line-height: 1.25; color: var(--ink); }
.bn-more { color: var(--brand-deep); font-weight: 700; font-size: 13.5px; text-decoration: none; margin-top: 2px; }
.bn-more:active { opacity: .7; }
