/* ==========================================================================
   Negocia Odonto — Landing para clínicas · v2
   Tokens de design: ver DESIGN.md
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Cores da marca (iguais às da plataforma) */
  --primary: #13226c;
  --primary-700: #0f1b56;
  --primary-900: #0a1240;
  --primary-500: #2a3f9e;
  --primary-100: #dce3f7;
  --primary-50: #eef1fa;

  --ink: #0f172a;
  --text: #3d4659;
  --muted: #5f6778;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --border: #e4e8f0;
  --success: #17683f;
  --success-50: #e7f6ee;
  --whatsapp: #0b7a3e;

  /* Escala tipográfica (única para todo o site) */
  --fs-display: 2rem;         /* H1  32px mobile → 52px desktop */
  --fs-h2: 1.75rem;           /* H2  28px mobile → 38px desktop */
  --fs-h3: 1.125rem;          /* H3  18px */
  --fs-lead: 1.0625rem;       /* Subtítulo 17px → 19px */
  --fs-body: 1rem;            /* Texto 16px */
  --fs-small: .875rem;        /* Apoio 14px */
  --fs-xs: .8125rem;          /* Rótulos 13px */
  --fs-stat: 1.75rem;         /* Números e preços 28px → 32px */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 2px 8px rgba(15, 23, 42, .04);
  --shadow: 0 18px 40px -24px rgba(19, 34, 108, .22), 0 2px 10px rgba(15, 23, 42, .04);
  --shadow-lg: 0 50px 90px -40px rgba(19, 34, 108, .38), 0 18px 36px -24px rgba(15, 23, 42, .18);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .9s;
}
@media (min-width: 768px)  { :root { --fs-display: 2.75rem; --fs-h2: 2rem; --fs-lead: 1.125rem; --fs-stat: 2rem; } }
@media (min-width: 1024px) { :root { --fs-display: 2.625rem; --fs-h2: 2.25rem; } }
@media (min-width: 1440px) { :root { --fs-display: 3.25rem; --fs-h2: 2.375rem; --fs-lead: 1.1875rem; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
.nowrap { white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid #4c6fff; outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: var(--fw-medium); transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* Margens de segurança: 90% mobile · 95% tablet · 975px laptop · 1300px desktop */
.container { width: 90%; margin-inline: auto; }
@media (min-width: 768px)  { .container { width: 95%; } }
@media (min-width: 1024px) { .container { width: 975px; } }
@media (min-width: 1440px) { .container { width: 1300px; } }

/* ---------- Tipografia ---------- */
.display {
  font-size: var(--fs-display); font-weight: var(--fw-medium);
  line-height: 1.1; letter-spacing: -.03em; color: var(--ink);
}
.display em { font-weight: var(--fw-semibold); color: var(--primary); }
.display .ln { display: block; }
.t-mob { display: none; }
@media (min-width: 768px) { .display .ln { white-space: nowrap; } }
@media (max-width: 767px) {
  .t-desk { display: none; }
  .t-mob { display: block; }
}
.h2 { font-size: var(--fs-h2); font-weight: var(--fw-medium); line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
.h2 em { font-weight: var(--fw-semibold); color: var(--primary); }
.h3 { font-size: var(--fs-h3); font-weight: var(--fw-semibold); line-height: 1.35; letter-spacing: -.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--text); text-wrap: pretty; }
.section-sub { margin-top: .85rem; font-size: var(--fs-body); color: var(--muted); }

/* ---------- Botões ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .75rem 1.25rem;
  border-radius: 12px; border: 1px solid transparent;
  font: var(--fw-medium) var(--fs-body)/1.2 var(--font);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn .icon { width: 1.05em; height: 1.05em; stroke-width: 2; transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary {
  color: #fff; background: var(--primary);
  box-shadow: 0 10px 24px -14px rgba(19, 34, 108, .9);
}
.btn-primary::before { /* brilho suave ao passar o mouse */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary:hover { background: var(--primary-700); box-shadow: 0 16px 30px -14px rgba(19, 34, 108, .85); }
.btn-outline { color: var(--ink); background: #fff; border-color: #d3d9e5; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { color: var(--primary); background: #fff; }
.btn-light:hover { background: #f1f4fc; }
.btn-lg { min-height: 54px; padding: .95rem 1.5rem; border-radius: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, box-shadow .4s, background-color .4s;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .9); border-bottom-color: var(--border); box-shadow: 0 10px 30px -24px rgba(15, 23, 42, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; transition: height .4s var(--ease); }
.is-scrolled .header-inner { height: 66px; }
.brand img { height: 38px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 2.25rem; }
.main-nav ul { display: flex; gap: 2rem; }
.main-nav ul a {
  position: relative; padding: .4rem 0;
  color: var(--text); text-decoration: none; font-size: var(--fs-small); font-weight: var(--fw-medium);
  transition: color .3s;
}
.main-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; border-radius: 2px;
  background: var(--primary); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.main-nav ul a:hover { color: var(--primary); }
.main-nav ul a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; gap: .6rem; }
.nav-actions .btn { min-height: 42px; padding: .6rem 1.05rem; font-size: var(--fs-small); }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border);
  background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }

@media (max-width: 1023px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: .5rem 5% 1.5rem; background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: 0 30px 40px -30px rgba(15, 23, 42, .35);
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--border); font-size: var(--fs-body); color: var(--ink); }
  .main-nav ul a::after { display: none; }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { width: 100%; min-height: 48px; font-size: var(--fs-body); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(55% 60% at 88% 12%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(50% 55% at 8% 95%, rgba(220, 227, 247, .7) 0%, rgba(220, 227, 247, 0) 70%),
    linear-gradient(165deg, #fafbfd 0%, #eef1f7 60%, #f5f7fb 100%);
}
.hero::before { /* faixa sedosa suave, como no print */
  content: ""; position: absolute; left: -20%; top: 40%; width: 140%; height: 60%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .8) 48%, rgba(255, 255, 255, 0) 54%);
  transform: rotate(-7deg); border-radius: 50%;
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2.5rem; } }
@media (min-width: 1440px) { .hero-grid { gap: 3.5rem; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .85rem; margin-bottom: 1.5rem;
  font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--primary);
  background: rgba(255, 255, 255, .8); border: 1px solid var(--primary-100); border-radius: 999px;
}
.eyebrow .icon { width: 1em; height: 1em; }
.hero .lead { margin-top: 1.4rem; max-width: 36em; text-wrap: pretty; }
.lead-strong { display: block; color: var(--ink); font-weight: var(--fw-medium); }
.hero-cta { margin-top: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.2rem; font-size: var(--fs-small); color: var(--muted); }
.hero-trust li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust .icon { color: var(--success); stroke-width: 2.2; width: 1em; height: 1em; }

/* Janela de navegador com tela real (estilo Clicksign / ClickUp) */
.hero-visual { position: relative; padding: 0 0 2.5rem; }
@media (min-width: 1024px) { .hero-visual { padding: 1.5rem 0 2.5rem 1rem; } }
.window {
  position: relative; margin: 0; overflow: hidden;
  border-radius: 16px; background: #fff;
  border: 1px solid rgba(19, 34, 108, .08);
  box-shadow: var(--shadow-lg);
}
.window-bar {
  display: flex; align-items: center; gap: 1rem; height: 38px; padding: 0 14px;
  background: linear-gradient(180deg, #f8f9fc, #f1f3f8); border-bottom: 1px solid var(--border);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.url {
  display: inline-flex; align-items: center; gap: .4rem; margin-inline: auto; transform: translateX(-24px);
  padding: .2rem .9rem; border-radius: 8px; background: #fff; border: 1px solid var(--border);
  font-size: var(--fs-xs); color: var(--muted);
}
.url .icon { width: 12px; height: 12px; color: var(--success); }
.window img { width: 100%; }

.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 24px 50px -24px rgba(19, 34, 108, .45), 0 2px 8px rgba(15, 23, 42, .06);
}
.fc-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); flex: none; }
.fc-ico.is-success { background: var(--success-50); color: var(--success); }
.fc-ico .icon { width: 20px; height: 20px; stroke-width: 1.9; }
.fc-body { display: flex; flex-direction: column; gap: .3rem; line-height: 1.3; min-width: 0; }
.fc-kicker { font-size: var(--fs-xs); color: var(--muted); }
.fc-body b { font-size: var(--fs-body); font-weight: var(--fw-semibold); color: var(--ink); }
.fc-meta { display: inline-flex; align-items: center; gap: .35rem; font-size: var(--fs-xs); color: var(--muted); }
.fc-meta .icon { width: 13px; height: 13px; }
.fc-chip { margin-left: .5rem; font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--primary); background: var(--primary-100); padding: .3rem .7rem; border-radius: 99px; white-space: nowrap; }
.float-lead { left: -4%; bottom: -4px; }
.float-stat { right: -3%; top: 12%; }
@media (max-width: 1023px) { .float-lead { left: 3%; } .float-stat { right: 3%; top: auto; bottom: 30%; } }
@media (max-width: 599px) {
  .hero-visual { padding-bottom: 5.5rem; }
  .float-lead { left: 4%; right: 4%; bottom: 0; }
  .float-lead .fc-chip { display: none; }
  .float-stat { display: none; }
}

/* Números: centralizados · 2×2 no mobile/tablet · 4 colunas no laptop/desktop */
.stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(2.5rem, 5vw, 4rem);
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .95); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.stat {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center;
  gap: .35rem; padding: 1.6rem 1rem;
}
.stat:nth-child(odd) { border-right: 1px solid var(--border); }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
.stat-ico { width: 48px; height: 48px; margin-bottom: .45rem; border-radius: 14px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); }
.stat-ico .icon { width: 24px; height: 24px; stroke-width: 1.5; }
.stat strong { font-size: var(--fs-stat); font-weight: var(--fw-semibold); letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.stat-label { font-size: var(--fs-small); color: var(--muted); line-height: 1.4; max-width: 18ch; text-wrap: balance; }
@media (min-width: 1024px) { .stat-label { max-width: 24ch; } }
@media (min-width: 1024px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat { padding: 1.9rem 1.25rem; }
  .stat:nth-child(-n+2) { border-bottom: 0; }
  .stat + .stat { border-left: 1px solid var(--border); }
  .stat:nth-child(odd) { border-right: 0; }
}

/* ---------- Seções ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 3rem; }

/* Vantagens */
.band { background: linear-gradient(180deg, #ffffff 0%, #f3f5fa 100%); border-top: 1px solid var(--border); }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .band-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4.5rem; } }
.band-visual { position: relative; }
.window-tall img { height: 440px; object-fit: cover; object-position: top center; }
.float-wa { right: 4%; bottom: -22px; }
@media (min-width: 1024px) {
  .band-grid { align-items: stretch; }
  .band-copy { padding-block: 1.5rem; }
  .band-visual { min-height: 460px; }
  .window-tall { position: absolute; inset: 0; display: flex; flex-direction: column; }
  .window-tall img { flex: 1; min-height: 0; height: 100%; }
  .float-wa { right: -22px; bottom: -24px; animation: floatY 8s ease-in-out 1s infinite; }
}
@media (max-width: 599px) { .window-tall img { height: 380px; } .float-wa { left: 4%; right: 4%; } }
.adv-list { margin-top: 2.25rem; display: grid; gap: 1.6rem; }
.adv-list li { display: flex; gap: 1rem; align-items: flex-start; }
.adv-ico {
  width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: #fff; color: var(--primary); box-shadow: var(--shadow-sm), 0 0 0 1px var(--border);
}
.adv-ico .icon { width: 21px; height: 21px; }
.adv-list p { margin-top: .3rem; color: var(--muted); max-width: 46ch; }

/* Como funciona */
.how { background: var(--surface); text-align: center; }
.steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.75rem; }
.step { display: flex; flex-direction: column; align-items: center; }
.step-ico {
  width: 88px; height: 88px; border-radius: 24px; display: grid; place-items: center; color: var(--primary);
  background: linear-gradient(145deg, #ffffff 0%, #f0f2f8 100%);
  box-shadow: 10px 12px 26px -12px rgba(19, 34, 108, .22), -8px -8px 20px rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(19, 34, 108, .05);
  transition: transform .6s var(--ease);
}
.step:hover .step-ico { transform: translateY(-4px); }
.step-ico .icon { width: 38px; height: 38px; stroke-width: 1.4; }
.step .h3 { margin-top: 1.4rem; }
.step-n { color: var(--primary); }
.step p { margin-top: .5rem; color: var(--muted); max-width: 30ch; }
.step-sep { display: none; color: #a3abbc; }
.step-sep .icon { width: 24px; height: 24px; }
@media (min-width: 768px) {
  .steps { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 1rem; align-items: start; }
  .step-sep { display: grid; place-items: center; height: 88px; }
}

/* Planos */
.plans { background: linear-gradient(180deg, #f6f8fc 0%, #eef1f7 100%); border-top: 1px solid var(--border); }
.plan-grid { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px)  { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1440px) { .plan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 1.9rem 1.6rem 1.6rem; background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-name { font-size: var(--fs-h3); font-weight: var(--fw-semibold); color: var(--primary); }
.plan-price { margin-top: .6rem; font-size: var(--fs-stat); font-weight: var(--fw-semibold); letter-spacing: -.03em; color: var(--ink); line-height: 1.1; white-space: nowrap; }
.plan-price .cur { font-size: var(--fs-small); font-weight: var(--fw-medium); vertical-align: .85em; letter-spacing: 0; }
.plan-price .per { font-size: var(--fs-small); font-weight: var(--fw-regular); color: var(--muted); letter-spacing: 0; margin-left: .15rem; }
.plan-feats { margin: 1.4rem 0 1.75rem; display: grid; gap: .65rem; flex: 1; font-size: var(--fs-small); line-height: 1.5; }
.plan-feats li { position: relative; padding-left: 1.6rem; }
.plan-feats li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313226c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 60% no-repeat;
}
.plan-feats li.plus { padding-left: 0; font-weight: var(--fw-medium); color: var(--ink); }
.plan-feats li.plus::before { display: none; }
.plan.is-featured {
  color: rgba(255, 255, 255, .85);
  background: radial-gradient(120% 80% at 100% 0%, #2a3f9e 0%, rgba(42, 63, 158, 0) 60%), linear-gradient(170deg, #13226c 0%, #0a1240 100%);
  border-color: transparent; box-shadow: var(--shadow-lg);
}
.plan.is-featured .plan-name, .plan.is-featured .plan-price, .plan.is-featured .plan-feats li.plus { color: #fff; }
.plan.is-featured .plan-price .per { color: rgba(255, 255, 255, .72); }
.plan.is-featured .plan-feats li::before { background-color: rgba(255, 255, 255, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.plan.is-featured .btn-primary { background: #fff; color: var(--primary); box-shadow: none; }
.plan.is-featured .btn-primary:hover { background: #eef1fa; }
.plan-flag {
  position: absolute; top: 1.5rem; right: 1.4rem;
  font-size: var(--fs-xs); font-weight: var(--fw-medium);
  color: var(--primary); background: #fff; padding: .28rem .7rem; border-radius: 99px;
}
.plans-note { margin-top: 1.75rem; text-align: center; font-size: var(--fs-small); color: var(--muted); }

/* FAQ */
.faq { background: var(--surface); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; } }
.faq-list { display: grid; gap: .75rem; }
.faq details {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  transition: background-color .4s var(--ease), border-color .4s, box-shadow .4s;
}
.faq details[open] { background: #fff; border-color: var(--primary-100); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem; font-weight: var(--fw-medium); color: var(--ink); font-size: var(--fs-body);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313226c' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 55% no-repeat;
  transition: transform .5s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq-a { padding: 0 1.25rem 1.2rem; color: var(--text); }
.faq details[open] .faq-a { animation: faqIn .55s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--primary-900); color: rgba(255, 255, 255, .72); font-size: var(--fs-small); padding-bottom: 96px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding: 3.5rem 0 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: start; } }
.footer-brand img { width: 136px; }
.footer-brand p { margin-top: 1rem; max-width: 36ch; }
.footer-links { display: grid; gap: .6rem; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  color: #fff; background: rgba(255, 255, 255, .08); transition: background-color .3s, transform .4s var(--ease);
}
.footer-social a:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.footer-bottom { padding: 1.4rem 0 1.8rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: var(--fs-xs); }

/* ---------- Barra fixa inferior ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 14px; z-index: 45; pointer-events: none;
  transform: translateY(140%); opacity: 0; visibility: hidden;
  transition: transform .7s var(--ease), opacity .5s var(--ease), visibility 0s .7s;
}
.sticky-cta.is-visible { transform: none; opacity: 1; visibility: visible; transition: transform .7s var(--ease), opacity .5s var(--ease); }
.sticky-inner {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem .75rem .7rem 1.5rem; border-radius: 20px;
  background: rgba(10, 18, 64, .9);
  -webkit-backdrop-filter: saturate(150%) blur(16px); backdrop-filter: saturate(150%) blur(16px);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 24px 50px -20px rgba(10, 18, 64, .6);
}
.sticky-title { flex: 1; min-width: 0; color: #fff; font-size: var(--fs-h3); font-weight: var(--fw-medium); letter-spacing: -.01em; line-height: 1.3; }
.sticky-inner .btn { flex: none; min-height: 46px; border-radius: 13px; }
.t-mob-inline { display: none; }
@media (max-width: 767px) {
  .sticky-cta { bottom: 10px; }
  .sticky-inner { padding: .6rem .6rem .6rem 1rem; border-radius: 16px; gap: .75rem; }
  .sticky-title { font-size: var(--fs-small); }
  .sticky-inner .btn { padding: .65rem .9rem; }
  .t-desk-inline { display: none; }
  .t-mob-inline { display: inline; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: max(16px, calc((100vw - 1300px) / 4)); bottom: 18px; z-index: 46;
  display: inline-flex; align-items: center; gap: .55rem;
  height: 58px; padding: 0 1.1rem 0 .95rem; border-radius: 999px;
  color: #fff; background: var(--whatsapp); text-decoration: none;
  font-size: var(--fs-small); font-weight: var(--fw-medium);
  box-shadow: 0 16px 34px -14px rgba(15, 138, 70, .75);
  transition: translate .7s var(--ease), box-shadow .4s, background-color .3s;
  animation: waIn .9s var(--ease) 1.2s both;
}
.wa-float:hover { background: #096a35; box-shadow: 0 20px 40px -14px rgba(15, 138, 70, .85); }
.wa-float .icon { width: 28px; height: 28px; stroke-width: 1.7; }
.wa-float::before { /* pulso suave */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(15, 138, 70, .45); animation: waPulse 2.8s ease-out 2.5s infinite;
}
body.has-bar .wa-float { translate: 0 -84px; }
@keyframes waIn { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(15, 138, 70, .45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(15, 138, 70, 0); } }
@media (max-width: 1023px) {
  .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; right: 5%; }
  .wa-label { display: none; }
}
@media (max-width: 767px) { body.has-bar .wa-float { translate: 0 -76px; } }

/* ---------- Animações ---------- */
/* Entrada do hero ao carregar */
.js [data-in] { opacity: 0; transform: translateY(22px); filter: blur(6px); }
.js.is-loaded [data-in] { opacity: 1; transform: none; filter: blur(0); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }
.float-lead { animation: floatY 7s ease-in-out 1.6s infinite; }
.float-stat { animation: floatY 8s ease-in-out 2s infinite reverse; }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Entrada e saída ao rolar (fade + deslocamento + desfoque) */
.js [data-anim] {
  opacity: 0; filter: blur(4px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), filter var(--dur) var(--ease);
  will-change: opacity, transform;
}
.js [data-anim="up"]    { transform: translateY(36px); }
.js [data-anim="left"]  { transform: translateX(-40px); }
.js [data-anim="right"] { transform: translateX(40px); }
.js [data-anim][data-out="top"] { transform: translateY(-28px); }
.js [data-anim].is-visible { opacity: 1; transform: none; filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-in], .js [data-anim] { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ---------- Ajustes mobile ---------- */
@media (max-width: 767px) {
  :root { --header-h: 66px; }
  .brand img { height: 32px; }
  .hero-cta .btn { width: 100%; }
}
@media (max-width: 767px) {
  /* Hero centralizado */
  .hero-copy { text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero-trust { justify-content: center; }
  /* "Mais pacientes…" e FAQ centralizados */
  .band-copy .h2, .faq-grid > div:first-child { text-align: center; }
  /* Rodapé centralizado */
  .footer-grid { justify-items: center; text-align: center; }
  .footer-brand img { margin-inline: auto; }
  .footer-brand p { margin-inline: auto; }
  .footer-links { justify-items: center; }
  .footer-social { justify-content: center; }
  .footer-bottom { text-align: center; }
}
@media (max-width: 380px) { .hero-cta .btn { white-space: normal; text-align: center; } .stat strong { font-size: 1.5rem; } }

@media print {
  .site-header, .wa-float, .sticky-cta, .hero-visual, .band-visual { display: none !important; }
  body { background: #fff; }
}
