/* Botânico: mesma paleta padrão do aplicativo. */
:root {
  --accent: #284b40;
  --accent-dark: #203c33;
  --accent-deep: #1b332b;
  --accent-soft: #eee5d7;
  --olive: #73785a;
  --gold: #bd9565;
  --gold-light: #dfc6a3;
  --surface: #fffcf7;
  --tint: #eee5d7;
  --bg: #f7f2e9;
  --ink: #203c33;
  --ink-2: #284b40;
  --ink-3: #36594b;
  --body: #465041;
  --muted: #535c4b;
  --line: #dcd1bf;
  --line-soft: #e6dccd;
  --serif: Newsreader, Georgia, serif;
  --sans: Manrope, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, Menlo, monospace;
  --hatch: repeating-linear-gradient(135deg, var(--accent-soft) 0 10px, var(--bg) 10px 20px);
}

* { box-sizing: border-box; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.cta-band :focus-visible { outline-color: var(--gold-light); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent-deep); }
img { max-width: 100%; }

h1, h2, h3 { margin: 0; }

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 3.8vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: pretty;
}

.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 28px; }
.wrap-narrow { max-width: 900px; margin: 0 auto; padding-inline: 28px; }
.section { padding-block: 80px; }
.section-flush { padding: 0 0 88px; }
.section-tint { background: var(--tint); }
.center { text-align: center; }
.mb-lg { margin-bottom: 26px; }

.eyebrow {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow.muted { color: var(--muted); font-weight: 600; }

.lead { font-size: 19px; line-height: 1.6; color: var(--body); margin: 14px 0 0; text-wrap: pretty; }
.fine { font-size: 15px; color: var(--muted); margin: 16px 0 0; }

/* Buttons */
.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 18px;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-lg { font-size: 17px; padding: 14px 24px; border-radius: 11px; }
.btn-primary { background: var(--accent); color: var(--surface); }
.btn-primary:hover { background: var(--accent-dark); color: var(--surface); }
.btn-glow { box-shadow: 0 6px 18px rgb(40 75 64 / 0.25); }
.btn-ghost { background: var(--surface); color: var(--ink-3); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--ink-3); }
.btn-invert { background: var(--surface); color: var(--accent-deep); font-weight: 700; padding: 15px 26px; }
.btn-invert:hover { background: var(--bg); color: var(--accent-deep); }
.btn-outline-light { color: var(--surface); border: 1px solid var(--gold); padding: 15px 26px; }
.btn-outline-light:hover { color: var(--surface); background: var(--accent); }
.link-strong { font-size: 16px; font-weight: 700; color: var(--ink-3); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(247 242 233 / 88%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
/* Mesmo símbolo do aplicativo (web/src/Logo.tsx): duas metades iguais, uma
   girada 180°, inline para ficar nítido em qualquer densidade de tela. */
.brand-mark { display: block; height: 30px; width: auto; }
.brand-mark-sm { height: 26px; }
.brand-name {
  font-family: "Montserrat", var(--sans);
  font-size: 21px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink);
}
.brand-name-sm { font-size: 17px; }
.nav { display: flex; gap: 28px; font-size: 16px; font-weight: 600; }
.nav a { color: var(--body); }
.nav a:hover { color: var(--accent-dark); }
.header-actions { display: flex; gap: 12px; align-items: center; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink-2); }

/* Hero */
.hero {
  padding: 88px 0 72px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 78%);
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 56px;
  align-items: center;
}
.hero-grid > div { min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--accent);
  font-size: 14px; font-weight: 700;
  padding: 7px 14px; border-radius: 999px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--olive); }
.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 5.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 22px 0 0;
  color: var(--ink);
  text-wrap: pretty;
}
.display em { font-style: italic; color: var(--accent); }
.hero .lead { font-size: 20px; margin-top: 22px; max-width: 30em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Browser mock + placeholders */
.browser {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgb(40 75 64 / 0.12);
  overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.bullet { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.browser-url { margin-left: 8px; font-size: 12px; color: var(--muted); font-family: var(--mono); }
.placeholder {
  background-image: var(--hatch);
  display: flex; align-items: center; justify-content: center;
}
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-1-1 { aspect-ratio: 1 / 1; }
.ph-label {
  font-family: var(--mono); font-size: 14px; color: var(--body);
  background: var(--surface); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 8px; text-align: center;
}
.framed { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }

/* Logos */
.logos { padding: 0 0 64px; }
.logos-inner {
  border-top: 1px solid var(--accent-soft);
  padding-top: 28px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px;
}
.logo-row { display: flex; flex-wrap: wrap; gap: 12px; flex: 1; min-width: 260px; }
.logo-slot {
  flex: 1; min-width: 120px; height: 38px; border-radius: 8px;
  background-image: repeating-linear-gradient(135deg, var(--bg) 0 8px, var(--surface) 8px 16px);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; color: var(--muted);
}

/* Section heads */
.section-head { max-width: 34em; }
.section-head h2 { margin-top: 14px; }
.section-head-center { margin-inline: auto; text-align: center; }

/* Feature cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
  margin-top: 44px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--gold); }
.card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin: 18px 0 8px; color: var(--ink); }
.card p { font-size: 16px; line-height: 1.6; color: var(--body); margin: 0; }
.icon {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
}
.icon i { display: block; width: 13px; height: 13px; background: var(--olive); }
.shape-square { border-radius: 3px; }
.shape-circle { border-radius: 50%; }
.shape-diamond { transform: rotate(45deg); }

/* Steps */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 56px;
  align-items: center;
}
.split > div { min-width: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.steps li { display: flex; gap: 16px; }
.step-num {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold-light); border: 1px solid var(--gold);
  color: var(--ink); font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { font-size: 19px; font-weight: 700; margin: 3px 0 6px; color: var(--ink); }
.steps p { font-size: 17px; line-height: 1.6; color: var(--body); margin: 0; }

/* Proof */
.proof { text-align: center; }
/* Três colunas iguais: com flex, o rótulo mais longo empurrava o terceiro
   indicador para a linha de baixo. No celular, um por linha. */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; margin-bottom: 56px; text-align: center; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }
.stat-num { font-family: var(--serif); font-size: 52px; font-weight: 500; line-height: 1; color: var(--accent); }
.stat-label { font-size: 16px; color: var(--body); margin-top: 8px; }
blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.4;
  color: var(--ink);
  text-wrap: pretty;
}
.quote-author { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 26px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background-image: repeating-linear-gradient(135deg, var(--bg) 0 6px, var(--surface) 6px 12px);
  border: 1px solid var(--line);
}
.author-name { font-size: 17px; font-weight: 700; color: var(--ink-2); text-align: left; }
.author-role { font-size: 16px; color: var(--body); text-align: left; }

/* Pricing */
.toggle-wrap { display: flex; justify-content: center; margin: 28px 0 36px; }
.toggle {
  display: flex; gap: 4px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px;
}
.toggle-btn {
  font-family: inherit; font-size: 16px; font-weight: 700;
  border: 0; cursor: pointer;
  padding: 9px 18px; border-radius: 999px;
  background: transparent; color: var(--body);
  transition: background .18s ease, color .18s ease;
}
.toggle-btn.is-on { background: var(--accent); color: var(--surface); }

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 18px;
  align-items: start;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}
.plan-featured {
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgb(40 75 64 / 0.16);
}
.plan-badge {
  position: absolute; top: -11px; left: 28px;
  background: var(--accent); color: var(--surface);
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.plan h3 { font-size: 20px; font-weight: 700; color: var(--ink); }
.plan-desc { font-size: 16px; line-height: 1.55; color: var(--body); margin: 8px 0 20px; min-height: 3.1em; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price .amount { font-family: var(--serif); font-size: 46px; font-weight: 500; line-height: 1; color: var(--ink); }
.plan-price .per { font-size: 16px; color: var(--body); }
.plan-note { font-size: 15px; color: var(--body); margin-top: 6px; }
.plan-cta {
  display: block; text-align: center; margin-top: 22px;
  font-size: 16px; font-weight: 700;
  padding: 13px; border-radius: 11px;
  background: var(--surface); color: var(--ink-3); border: 1px solid var(--line);
}
.plan-cta:hover { border-color: var(--gold); color: var(--ink-3); }
.plan-featured .plan-cta { background: var(--accent); color: var(--surface); border-color: var(--accent); font-weight: 700; }
.plan-featured .plan-cta:hover { background: var(--accent-dark); color: var(--surface); }
.plan-features {
  list-style: none; margin: 22px 0 0; padding: 20px 0 0;
  display: flex; flex-direction: column; gap: 10px;
  border-top: 1px solid var(--accent-soft);
}
.plan-features li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 16px; line-height: 1.5; color: var(--ink-3);
}
.plan-features li::before {
  content: ""; flex: none;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--olive); margin-top: 7px;
}

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 16px; text-align: left;
  background: none; border: 0; padding: 18px 22px; cursor: pointer;
  font-family: inherit; font-size: 18px; font-weight: 700; color: var(--ink-2);
}
.faq-q span:first-child { flex: 1; }
.faq-icon {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg); color: var(--accent);
  font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: transform .18s ease;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 22px; max-height: 0; overflow: hidden;
  transition: max-height .22s ease, padding .22s ease;
  font-size: 17px; line-height: 1.65; color: var(--body);
}
.faq-item.is-open .faq-a { padding: 0 22px 20px; max-height: 520px; }

/* CTA band */
.cta-band {
  background: var(--accent);
  border-radius: 22px;
  padding: clamp(40px, 6vw, 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}
.on-accent { color: var(--surface); font-size: clamp(30px, 3.6vw, 44px); }
.on-accent-soft { font-size: 19px; line-height: 1.6; color: var(--accent-soft); margin: 14px 0 0; max-width: 28em; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-band-actions .btn { white-space: nowrap; }
@media (max-width: 900px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-band-actions { justify-content: flex-start; }
  .cta-band-actions .btn { white-space: normal; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--accent-soft); padding-block: 40px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 16px; }
.footer-nav a { color: var(--body); }
.footer-nav a:hover { color: var(--accent-dark); }
.copyright { font-size: 15px; color: var(--muted); width: 100%; }

/* Responsive */
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; gap: 16px; }
  .nav, .header-actions { display: none; width: 100%; }
  .nav-toggle { display: flex; }
  .site-header.is-open .nav { display: flex; flex-direction: column; gap: 14px; font-size: 18px; }
  .site-header.is-open .header-actions { display: flex; padding-bottom: 6px; }
  .cta-band-actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .hero { padding-top: 56px; }
  .cta-band { padding: 28px 20px; }
  .header-actions { flex-wrap: wrap; }
  .section { padding-block: 60px; }
  .stats { gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Acesso ao sistema, integrado à apresentação da clínica. */
.login-panel {
  padding: clamp(20px, 3vw, 40px);
  border-radius: 22px;
  background: linear-gradient(145deg, var(--accent-dark), var(--accent));
  scroll-margin-top: 110px;
  min-width: 0;
}
.login-card {
  padding: clamp(24px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 18px 40px #284b4026;
  color: var(--ink);
}
.login-card h2 { font-family: var(--sans); font-size: 30px; font-weight: 700; }
.login-subtitle { margin: 8px 0 32px; color: var(--body); font-size: 17px; }
.login-card label { display: block; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.login-card input {
  display: block; width: 100%; min-width: 0; min-height: 50px; padding: 13px 14px;
  border: 1px solid #b9ad97; border-radius: 10px;
  background: var(--bg); color: var(--ink); font: inherit;
  margin-bottom: 18px;
}
.login-card input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
/* Olho para conferir a senha digitada ou preenchida pelo navegador. */
.campo-senha { position: relative; margin-bottom: 18px; }
.campo-senha input { margin-bottom: 0; padding-right: 48px; }
.mostrar-senha {
  position: absolute; top: 50%; right: 4px; transform: translateY(-50%);
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 8px; background: transparent; color: var(--ink);
  opacity: .65; cursor: pointer;
}
.mostrar-senha:hover { opacity: 1; }
.mostrar-senha:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; opacity: 1; }
.mostrar-senha svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mostrar-senha .olho-fechado, .mostrar-senha[aria-pressed="true"] .olho-aberto { display: none; }
.mostrar-senha[aria-pressed="true"] .olho-fechado { display: block; }
.login-submit {
  width: 100%; border: 0; background: var(--accent); color: var(--surface);
  padding: 14px; font: inherit; font-weight: 700; cursor: pointer;
}
.login-submit:hover { background: var(--accent-dark); }
.login-submit:disabled { opacity: .65; cursor: wait; }
.login-error { color: #b42318; font-size: 16px; line-height: 1.5; }
.login-direct { display: block; text-align: center; font-size: 16px; font-weight: 600; margin-top: 8px; padding: 8px; text-decoration: underline; text-underline-offset: 3px; }
.login-direct-secundario { margin-top: 8px; }
.login-card a:focus-visible, .login-submit:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Política de privacidade (/privacidade/): texto corrido, largura de leitura. */
.politica { padding-block: 56px 88px; }
.politica h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 48px); line-height: 1.1; margin: 14px 0 8px; color: var(--ink); }
.politica .politica-data { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.politica h2 { font-size: clamp(22px, 3vw, 28px); margin: 40px 0 12px; }
.politica p, .politica li { max-width: 68ch; overflow-wrap: anywhere; }
.politica ul { padding-left: 1.2em; }
.politica li { margin-bottom: 10px; }
.politica a { color: var(--accent); text-decoration: underline; }
