/* MedyClin — landing e páginas institucionais. Comentários em português para facilitar a manutenção. */

:root {
  --deep: #24134f;
  --deep-2: #32176b;
  --violet-wash: #f6f3ff;
  --violet-wash-2: #eee9ff;
  --mint-wash: #e7f7ef;
  --soft-shadow: 0 24px 70px -38px rgb(76 29 149 / .34);
}

/* ---------- Topo claro, compartilhado com termos e privacidade ---------- */
body { overflow-x: hidden; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgb(251 250 247 / .78);
  backdrop-filter: saturate(1.35) blur(14px);
  -webkit-backdrop-filter: saturate(1.35) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.topbar.scrolled,
.topbar.past-hero {
  background: rgb(255 255 255 / .92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 26px -22px rgb(30 27 46 / .3);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.topbar .logo { display: flex; align-items: center; }
.topbar .logo img { height: 34px; width: auto; }
.topbar .logo-on-dark { display: none; }
.topbar .logo-on-light { display: block; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .15s ease; }
.nav a:not(.btn):hover { color: var(--violet-700); }
@media (max-width: 960px) { .nav .hide-m { display: none; } }

/* ---------- Pequenos ajustes dos componentes base ---------- */
.btn { box-shadow: 0 12px 26px -16px rgb(76 29 149 / .7); }
.btn:hover { box-shadow: 0 15px 30px -16px rgb(76 29 149 / .75); }
.btn-ghost { box-shadow: inset 0 0 0 1.5px var(--violet-200); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--violet-300), 0 10px 24px -18px rgb(76 29 149 / .4); }
.btn-lg { font-weight: 600; }
.badge-violet { background: var(--violet-100); color: var(--violet-800); }

/* ---------- Hero claro ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--paper); color: var(--ink);
  padding: 70px 0 92px;
}
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 70% at 87% 28%, rgb(196 181 253 / .28), transparent 72%),
    radial-gradient(42% 60% at 4% 2%, rgb(237 232 255 / .84), transparent 72%),
    linear-gradient(180deg, #fbfaff 0%, var(--paper) 78%);
}
.hero-glow::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgb(109 40 217 / .08) .8px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 64%);
  mask-image: linear-gradient(135deg, #000, transparent 64%);
  opacity: .32;
}
.hero .container { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr); gap: 58px; align-items: center; }
.pill-live {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px;
  border-radius: 999px; background: #fff; color: var(--ink-2);
  border: 1px solid var(--line); box-shadow: 0 8px 24px -20px rgb(76 29 149 / .5);
  font-weight: 600; font-size: .87rem;
}
.pill-live .dot { color: var(--ok); width: 8px; height: 8px; }
.hero-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pill-soft {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px;
  border-radius: 999px; background: rgb(255 255 255 / .55); color: var(--ink-3);
  border: 1px solid var(--line); font-weight: 500; font-size: .82rem;
}
.pill-soft svg { width: 13px; height: 13px; color: var(--ok); flex: none; }
.hero h1 { max-width: 12.2ch; margin-top: 22px; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -.03em; font-weight: 680; }
.chat-word {
  display: inline; white-space: nowrap; color: var(--violet-700);
  background: linear-gradient(transparent 67%, var(--violet-100) 67%);
  padding-inline: .05em;
}
.hero .lead { max-width: 52ch; margin-top: 24px; font-size: 1.08rem; color: var(--ink-2); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .actions .btn:first-child { box-shadow: 0 18px 34px -18px rgb(76 29 149 / .62); }
.hero-prices { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
.hero-prices a {
  display: inline-flex; align-items: baseline; gap: 9px; padding: 10px 14px;
  border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink);
  text-decoration: none; box-shadow: 0 10px 24px -22px rgb(30 27 46 / .5);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.hero-prices a:hover { border-color: var(--violet-300); box-shadow: var(--shadow-1); transform: translateY(-1px); }
.hero-prices small { font-size: .8rem; color: var(--ink-3); }
.hero-prices b { font-size: 1.1rem; letter-spacing: -.02em; color: var(--violet-800); }
.hero-prices > span { flex-basis: 100%; font-size: .82rem; color: var(--ink-3); }
.trust {
  list-style: none; margin: 28px 0 0; padding: 18px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 20px; border-top: 1px solid var(--line);
}
.trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink-2); }
.trust svg { width: 17px; height: 17px; color: var(--violet-700); flex: none; }

/* Mockup reto e cartões de apoio, sem adesivos inclinados. */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 12px 0 20px; }
.phone {
  position: relative; width: min(100%, 344px); padding: 10px; border-radius: 38px;
  background: #fff; border: 1px solid var(--violet-100);
  box-shadow: 0 48px 90px -42px rgb(76 29 149 / .5), 0 16px 30px -20px rgb(30 27 46 / .28);
}
.phone::before { content: ""; position: absolute; top: 19px; left: 50%; width: 88px; height: 22px; translate: -50% 0; background: var(--ink); border-radius: 999px; z-index: 2; }
.phone-screen { display: flex; flex-direction: column; height: 568px; overflow: hidden; border-radius: 29px; background: var(--paper); color: var(--ink); }
.phone-head { display: flex; align-items: center; gap: 12px; padding: 51px 16px 13px; background: #fff; border-bottom: 1px solid var(--line); }
.phone-head .av { width: 40px; height: 40px; border-radius: 12px; background: var(--violet-700); display: grid; place-items: center; flex: none; }
.phone-head .av img { width: 24px; height: 24px; }
.phone-head b { display: block; font-size: .98rem; }
.phone-chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 14px 13px; overflow: hidden; }
.bub { max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: .87rem; line-height: 1.42; }
.bub.sys { align-self: center; max-width: 100%; text-align: center; background: var(--mint-wash); color: var(--ok); font-size: .8rem; border-radius: 999px; padding: 7px 13px; }
.bub.ai { align-self: flex-start; background: var(--violet-50); border: 1px solid var(--violet-100); border-bottom-left-radius: 6px; }
.bub.ai small, .bub.doc small { display: block; font-size: .72rem; font-weight: 600; margin-bottom: 3px; }
.bub.ai small { color: var(--violet-700); }
.bub.me { align-self: flex-end; background: var(--violet-700); color: #fff; border-bottom-right-radius: 6px; }
.bub.doc { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.bub.doc small { color: var(--ink-2); }
.file { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 8px 10px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: .83rem; font-weight: 600; }
.file i { width: 28px; height: 32px; border-radius: 6px; background: var(--violet-100); display: grid; place-items: center; font-style: normal; font-size: .6rem; color: var(--violet-800); font-weight: 700; flex: none; }
.typing { display: none; align-self: flex-start; gap: 4px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; border-bottom-left-radius: 6px; }
.typing.in { display: inline-flex; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--violet-400); animation: typing 1s ease-in-out infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 100% { opacity: .3; translate: 0 0; } 50% { opacity: 1; translate: 0 -3px; } }
.phone-chat.anim .bub { display: none; }
.phone-chat.anim .bub.in { display: block; animation: bubIn .38s cubic-bezier(.2, .8, .3, 1.2) both; }
@keyframes bubIn { from { opacity: 0; translate: 0 10px; scale: .96; } to { opacity: 1; translate: 0 0; scale: 1; } }
.phone-input { display: flex; align-items: center; justify-content: space-between; height: 46px; margin: 0 12px 14px; padding: 0 6px 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-3); font-size: .86rem; }
.phone-input i { width: 34px; height: 34px; border-radius: 50%; background: var(--violet-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/16px no-repeat; }
.tag { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border-radius: 14px; font-weight: 600; font-size: .82rem; white-space: nowrap; background: #fff; color: var(--ink-2); border: 1px solid var(--line); box-shadow: 0 18px 36px -22px rgb(76 29 149 / .58); }
.tag svg { width: 16px; height: 16px; flex: none; color: var(--violet-700); }
.tag-left { top: 13%; left: -22px; }
.tag-right { right: -24px; bottom: 18%; color: var(--ok); }
.tag-right svg { color: var(--ok); }
@media (max-width: 940px) {
  .hero { padding: 48px 0 72px; }
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { padding-top: 4px; }
  .phone { width: min(100%, 324px); }
  .phone-screen { height: 530px; }
}
@media (max-width: 560px) {
  .hero { padding: 34px 0 58px; }
  .hero h1 { max-width: 13ch; }
  .hero .lead { font-size: 1rem; }
  .hero .actions { margin-top: 24px; }
  .hero .actions .btn:first-child { width: 100%; }
  .hero .actions .btn-ghost { flex: 1; }
  .hero-prices a { flex: 1 1 0; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
  .hero-prices b { font-size: 1rem; }
  .phone { width: min(100%, 292px); }
  .phone-screen { height: 472px; }
  .tag { font-size: .72rem; padding: 8px 10px; }
  .tag-left { left: -8px; }
  .tag-right { right: -8px; }
}

/* Faixa estática de confiança: substitui a faixa rolante e acalma a composição. */
.confidence-strip { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.confidence-list { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.confidence-list span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: .82rem; white-space: nowrap; }
.confidence-list svg { width: 18px; height: 18px; color: var(--violet-700); flex: none; }
@media (max-width: 980px) { .confidence-list { justify-content: flex-start; flex-wrap: wrap; padding-block: 17px; } }
@media (max-width: 560px) { .confidence-list { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 13px; } .confidence-list span { font-size: .76rem; } }

/* ---------- Seções ---------- */
.section { padding: 96px 0; }
.section-tint { background: var(--violet-50); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }
.section-head p { color: var(--ink-2); font-size: 1.04rem; max-width: 46ch; }
#por-chat { padding-top: 92px; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 14px; } .section { padding: 72px 0; } #por-chat { padding-top: 68px; } }

/* Mosaico por chat: superfícies claras, bordas precisas e ícones lavanda. */
.bento { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--violet-200); }
.tile h3 { font-size: 1.3rem; }
.tile p { font-size: .98rem; color: var(--ink-2); }
.tile .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 8px; background: var(--violet-100); color: var(--violet-700); }
.tile .ico svg { width: 23px; height: 23px; }
.tile-violet { grid-row: span 2; justify-content: space-between; background: linear-gradient(145deg, #f5f1ff 0%, #ebe5ff 100%); border-color: var(--violet-200); }
.tile-violet .ico { background: #fff; color: var(--violet-700); }
.tile-soft { background: #fff; }
.tile-white { background: #fff; }
.mini-chat { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; }
.mini-chat span { max-width: 86%; padding: 10px 14px; font-size: .88rem; line-height: 1.4; box-shadow: 0 8px 18px -16px rgb(76 29 149 / .5); }
.mc-in { align-self: flex-start; background: #fff; color: var(--ink-2); border-radius: 16px 16px 16px 6px; }
.mc-out { align-self: flex-end; background: var(--violet-700); color: #fff; font-weight: 600; border-radius: 16px 16px 6px 16px; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .tile-violet { grid-column: span 2; grid-row: auto; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .tile-violet { grid-column: auto; } .tile { padding: 26px 22px; } }

/* Como funciona: números em círculo e uma conexão fina entre os cartões. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; padding: 26px 22px 24px; background: #fff; border: 1px solid var(--violet-100); border-radius: var(--r-lg); transition: transform .2s ease, box-shadow .2s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.step .n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1.5px solid var(--violet-500); color: var(--violet-700); font-weight: 650; font-size: 1.2rem; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -17px; z-index: 1; width: 17px; height: 1px; background: var(--violet-300); }
.step h3 { margin: 18px 0 8px; }
.step p { color: var(--ink-2); font-size: .94rem; }
.steps-cta { display: flex; justify-content: center; margin-top: 34px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Valores: o plano em destaque continua claro, com borda e brilho lavanda. */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.plan { display: flex; flex-direction: column; gap: 16px; padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-1); position: relative; overflow: hidden; }
.plan-top h3 { margin-top: 12px; font-size: 1.42rem; }
.plan .price { font-size: 3.15rem; font-weight: 650; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.plan .price small { font-size: .96rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-left: 6px; }
.plan-desc { color: var(--ink-2); max-width: 44ch; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--ink-2); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; width: 19px; height: 19px; flex: none; margin-top: 3px; border-radius: 50%; background: var(--mint-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23138a5b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan.featured { border-color: var(--violet-400); background: linear-gradient(145deg, #fff 0%, #faf8ff 66%, #f1edff 100%); box-shadow: 0 24px 64px -38px rgb(76 29 149 / .54); }
.plan.featured::after { content: ""; position: absolute; right: -104px; top: -108px; width: 270px; height: 270px; border-radius: 50%; border: 42px solid rgb(196 181 253 / .2); pointer-events: none; }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } .plan { padding: 26px; } .plan .price { font-size: 2.8rem; } }

/* Especialidades */
.specs-block { margin-top: 22px; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); scroll-margin-top: 90px; }
.specs-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 22px; }
.specs-head h3 { margin-top: 10px; font-size: 1.42rem; }
.specs-head h3 span { color: var(--violet-700); white-space: nowrap; }
.specs-head p { color: var(--ink-2); max-width: 40ch; }
.spec-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.spec-grid a { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--violet-200); color: var(--ink); text-decoration: none; transition: background .15s ease, border-color .15s ease, transform .15s ease, color .15s ease, box-shadow .15s ease; }
.spec-grid a::after { content: "→"; position: absolute; top: 14px; right: 14px; color: var(--violet-400); transition: translate .15s ease, color .15s ease; }
.spec-grid b { font-size: 1rem; padding-right: 20px; }
.spec-grid span { font-size: .82rem; color: var(--ink-2); line-height: 1.35; }
.spec-grid a:hover { background: var(--violet-50); border-color: var(--violet-500); transform: translateY(-3px); box-shadow: 0 12px 22px -18px rgb(76 29 149 / .55); }
.spec-grid a:hover::after { color: var(--violet-700); translate: 3px 0; }
@media (max-width: 960px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .specs-block { padding: 22px 16px; } .spec-grid { gap: 10px; } .spec-grid a { padding: 14px 13px; } }

/* Atestado em banda lavanda clara. */
.band { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; padding: 60px; border-radius: var(--r-xl); background: linear-gradient(135deg, #f1edff, #e8e1ff); color: var(--ink); border: 1px solid var(--violet-200); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 94% 50%, rgb(167 139 250 / .22), transparent 70%); }
.band .eyebrow { color: var(--violet-700); }
.band h2 { margin-top: 14px; }
.band-copy > p { color: var(--ink-2); margin-top: 18px; font-size: 1.02rem; max-width: 50ch; }
.band ul { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.band li { display: flex; gap: 12px; align-items: flex-start; padding: 15px 16px; border-radius: var(--r-md); background: rgb(255 255 255 / .72); border: 1px solid rgb(255 255 255 / .85); }
.band li svg { width: 22px; height: 22px; flex: none; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--mint-wash); color: var(--ok); }
.band li b { display: block; margin-bottom: 2px; font-size: .95rem; }
.band li span { color: var(--ink-2); font-size: .86rem; }
.doc-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.paper { display: flex; flex-direction: column; gap: 11px; width: min(100%, 300px); padding: 24px 22px 20px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 36px 60px -30px rgb(76 29 149 / .45); }
.paper-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.paper-top img { height: 22px; width: auto; }
.paper-top span { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.paper-title { font-size: 1.3rem; letter-spacing: -.02em; margin: 6px 0 4px; }
.ln { display: block; height: 9px; border-radius: 6px; background: #ece9f3; }
.w90 { width: 90%; } .w85 { width: 85%; } .w75 { width: 75%; } .w55 { width: 55%; }
.paper-sign { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--violet-700); }
.paper-sign svg { width: 132px; height: auto; }
.paper-sign span { display: block; margin-top: 2px; font-size: .72rem; color: var(--ink-3); }
.stamp { position: absolute; top: 12%; right: 0; padding: 9px 14px; border-radius: 999px; background: var(--mint-wash); color: var(--ok); border: 1px solid rgb(19 138 91 / .14); font-weight: 600; font-size: .86rem; box-shadow: 0 16px 30px -20px rgb(19 138 91 / .45); }
.seal { position: absolute; bottom: 12%; left: 2%; display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 14px; background: #fff; color: var(--ok); font-weight: 600; font-size: .84rem; box-shadow: 0 16px 30px -20px rgb(76 29 149 / .45); }
.seal svg { width: 18px; height: 18px; }
@media (max-width: 960px) { .band { grid-template-columns: 1fr; padding: 40px 24px; } .band ul { grid-template-columns: 1fr; } .doc-visual { min-height: 330px; } }
@media (max-width: 560px) { .band { padding: 30px 20px; } .stamp { right: 2px; } .seal { left: 0; } }

/* FAQ limpa com indicador de abertura. */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; font-weight: 600; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.55rem; line-height: 1; color: var(--violet-700); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 20px; } }

/* CTA final: violeta contemporâneo, sem contraste neon. */
.cta { padding: 32px 0 96px; }
.cta-box { position: relative; overflow: hidden; isolation: isolate; padding: 84px 28px; border-radius: 32px; text-align: center; color: #fff; background: linear-gradient(125deg, #6d28d9 0%, #8b5cf6 100%); }
.cta-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 18% 20%, rgb(255 255 255 / .18) 0 1px, transparent 1.5px), radial-gradient(circle at 82% 72%, rgb(255 255 255 / .14) 0 1px, transparent 1.5px); background-size: 22px 22px, 28px 28px; opacity: .4; }
.cta-box h2 { max-width: 18ch; margin: 0 auto; font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 680; }
.cta-box > p:not(.cta-note) { color: rgb(255 255 255 / .84); margin: 16px auto 30px; max-width: 48ch; }
.cta-box .cta-note { margin-top: 18px; font-size: .92rem; color: rgb(255 255 255 / .76); }
.cta-box .btn-light { box-shadow: 0 18px 34px -18px rgb(30 27 46 / .5); }
.cta-bubble { position: absolute; padding: 11px 15px; border-radius: 16px; font-size: .88rem; font-weight: 600; box-shadow: 0 16px 30px -20px rgb(30 27 46 / .55); opacity: .96; }
.cta-bubble.b1 { top: 15%; left: 6%; background: rgb(255 255 255 / .93); color: var(--ink); border-bottom-left-radius: 6px; }
.cta-bubble.b2 { bottom: 15%; right: 6%; background: rgb(255 255 255 / .93); color: var(--violet-800); border-bottom-right-radius: 6px; }
@media (max-width: 1000px) { .cta-bubble { display: none; } }
@media (max-width: 600px) { .cta-box { padding: 60px 20px; border-radius: 28px; } }

/* ---------- Rodapé ---------- */
.footer { background: var(--ink); color: #c9c5d8; padding: 64px 0 34px; font-size: .92rem; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer img { height: 32px; width: auto; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; letter-spacing: 0; }
.footer a { color: #c9c5d8; text-decoration: none; display: block; padding: 3px 0; }
.footer a:hover { color: #fff; }
.footer .legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .1); display: grid; gap: 10px; color: #9c97b0; font-size: .82rem; }
.footer .notice { background: rgb(255 255 255 / .06); border-radius: var(--r-md); padding: 16px 18px; color: #c9c5d8; }
@media (max-width: 800px) { .footer .cols { grid-template-columns: 1fr; } }

/* Barra fixa do celular */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; border-radius: 999px; box-shadow: var(--shadow-2); transform: translateY(140%); transition: transform .25s ease; }
  .mobile-cta.show { transform: translateY(0); }
  .mobile-cta .btn { width: 100%; }
  body { padding-bottom: 80px; }
}

/* ---------- Páginas legais ---------- */
.legal-page { padding: 56px 0 96px; }
.legal-page .container { max-width: 760px; }
.legal-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal-page h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.legal-page p, .legal-page li { color: var(--ink-2); }
.legal-page p + p { margin-top: 10px; }

/* Respeita quem prefere uma interface sem movimento. */
@media (prefers-reduced-motion: reduce) {
  .tag, .phone-chat .bub, .typing span { animation: none !important; }
}

/* Ajuste fino do hero: o celular encosta à direita da coluna e os selos ficam fora da conversa
   (só tocam a borda do aparelho); sem espaço lateral, os selos saem, pois o texto do topo já diz o mesmo. */
@media (min-width: 941px) {
  .hero-visual { justify-content: flex-end; padding: 12px 20px 48px 0; }
  .tag-left { top: 26%; left: auto; right: calc(344px + 20px - 14px); }
  .tag-right { top: auto; bottom: 10px; right: 4px; left: auto; }
}
@media (max-width: 1079px) { .tag { display: none; } }
/* Convite final: balões nos cantos, longe do título */
.cta-bubble.b1 { top: 28px; left: 28px; }
.cta-bubble.b2 { bottom: 28px; right: 28px; }
@media (max-width: 1180px) { .cta-bubble { display: none; } }

/* Hero: aviso de que os dias de atestado são combinados com o médico */
.hero-days {
  display: flex; align-items: flex-start; gap: 13px;
  max-width: 35rem; margin-top: 22px; padding: 14px 16px;
  border-radius: var(--r-md); background: rgb(255 255 255 / .88);
  border: 1px solid var(--violet-200);
  box-shadow: 0 14px 30px -26px rgb(76 29 149 / .6);
}
.hero-days-icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; background: var(--violet-100); color: var(--violet-700);
}
.hero-days-icon svg { width: 21px; height: 21px; }
.hero-days p { margin: 0; display: grid; gap: 3px; min-width: 0; }
.hero-days b { font-size: 1rem; line-height: 1.3; font-weight: 650; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.hero-days-text { font-size: .92rem; line-height: 1.45; color: var(--ink-2); }
.hero-days + .actions { margin-top: 24px; }
@media (max-width: 560px) {
  .hero-days { margin-top: 18px; padding: 12px 13px; gap: 11px; }
  .hero-days-icon { width: 34px; height: 34px; border-radius: 10px; }
  .hero-days-icon svg { width: 18px; height: 18px; }
  .hero-days b { font-size: .95rem; }
  .hero-days-text { font-size: .87rem; }
  .hero-days + .actions { margin-top: 20px; }
}
/* Ajustes responsivos (03/11): colunas que encolhem de verdade e título que cabe em telas de 320px. */
@media (max-width: 960px) { .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .spec-grid b, .spec-grid span { overflow-wrap: break-word; } }
@media (max-width: 940px) { .hero .container { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .confidence-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .confidence-list span { white-space: normal; line-height: 1.25; }
  .hero-pills { gap: 6px; }
  .hero-pills .pill-live { font-size: .8rem; padding: 7px 12px; }
  .pill-soft { font-size: .76rem; padding: 6px 11px; }
}
@media (max-width: 380px) { .hero h1 { font-size: 2.1rem; } }
@media (max-width: 420px) {
  .specs-block { padding: 20px 12px; }
  .spec-grid { gap: 8px; }
  .spec-grid a { padding: 13px 12px 30px; }
  .spec-grid a::after { top: auto; bottom: 9px; right: 12px; }
  .spec-grid b { font-size: .92rem; padding-right: 0; }
  .spec-grid span { font-size: .78rem; }
}
@media (max-width: 340px) { .spec-grid a { padding-inline: 10px; } .spec-grid b { font-size: .82rem; letter-spacing: -.01em; } }
