/* =========================================================
   CLINVI — Section styles
   ========================================================= */

/* ====== HERO ====== */
.hero {
  position: relative;
  padding-top: 160px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg::before {
  content: "";
  position: absolute;
  top: -10%; left: 50%;
  width: 1400px; height: 1400px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(160,194,158,.25), rgba(160,194,158,0) 70%);
  border-radius: 50%;
  filter: blur(20px);
}
.hero-bg::after {
  content: "";
  position: absolute;
  bottom: -40%; right: -10%;
  width: 800px; height: 800px;
  background: radial-gradient(closest-side, rgba(97,145,173,.18), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 50%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 50%, transparent 90%);
  opacity: .4;
}
.hero-inner { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
  backdrop-filter: blur(10px);
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cream);
  font-size: 10px;
}
.hero h1 {
  max-width: 17ch;
  line-height: .98;
}
.hero h1 .accent {
  font-style: italic;
  color: var(--forest);
}
.hero-sub {
  margin-top: 26px;
  max-width: 56ch;
  font-size: clamp(17px, 1.35vw, 19px);
  color: var(--ink-soft);
  line-height: 1.55;
}
.hero-cta-row { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  margin-top: 30px;
  display: flex; gap: 28px; flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-mute);
}
.hero-meta-item { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta-item svg { color: var(--forest); }

.hero-product {
  margin-top: clamp(60px, 8vw, 90px);
  position: relative;
  z-index: 2;
}
.hero-product-frame {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(55,89,67,.06), rgba(55,89,67,.02));
  padding: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.hero-product-frame::after {
  content: "";
  position: absolute; inset: -40px -40px -80px;
  background: radial-gradient(closest-side, rgba(160,194,158,.35), transparent 75%);
  z-index: -1;
  filter: blur(30px);
}

/* ====== App mock chrome ====== */
.app-mock {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 540px;
}
.app-titlebar {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #fafaf3, #ffffff);
  font-size: 12px;
  color: var(--ink-mute);
}
.tl-dots { display: flex; gap: 6px; margin-right: 12px; }
.tl-dots span { width: 10px; height: 10px; border-radius: 50%; background: #e5e5db; }
.tl-dots span:nth-child(1){ background:#f1b1a5; }
.tl-dots span:nth-child(2){ background:#f3d693; }
.tl-dots span:nth-child(3){ background:#a4cda1; }
.tl-url { padding: 4px 10px; border-radius: 6px; background: #f4f4ec; }

.app-side {
  background: #FAFAF3;
  border-right: 1px solid var(--line-soft);
  padding: 18px 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.app-brand {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px 18px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 12px;
}
.app-brand img { height: 22px; }
.app-nav {
  display: flex; flex-direction: column; gap: 2px;
}
.app-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}
.app-nav a:hover { background: rgba(55,89,67,.05); }
.app-nav a.active { background: var(--forest); color: var(--cream); }
.app-nav a.active svg { color: var(--cream); }
.app-nav a svg { color: var(--ink-mute); flex-shrink: 0; }

.app-main {
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 18px;
  background: #ffffff;
  min-height: 0;
}
.app-h {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.app-h-title { font-family: var(--serif); font-size: 22px; }
.app-h-meta { font-size: 12px; color: var(--ink-mute); }
.app-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.stat {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px 14px;
  background: #FCFCF7;
}
.stat-label { font-size: 11px; color: var(--ink-mute); letter-spacing: .04em; text-transform: uppercase; }
.stat-val { font-family: var(--serif); font-size: 22px; margin-top: 4px; }
.stat-trend { font-size: 11px; color: var(--olive); margin-top: 2px; }
.stat-trend.down { color: #b87a5a; }

.app-row {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px;
}
.panel {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 14px 16px;
  background: #ffffff;
}
.panel-title { font-size: 13px; font-weight: 500; margin-bottom: 12px; display: flex; justify-content: space-between; }
.panel-title .pill { font-size: 10px; background: rgba(160,194,158,.25); color: var(--olive-deep); padding: 2px 8px; border-radius: 999px; font-weight: 500; }

.appt {
  display: flex; gap: 10px; align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
}
.appt + .appt { margin-top: 4px; }
.appt:hover { background: var(--cream); }
.appt-time { font-size: 11px; color: var(--ink-mute); width: 60px; }
.appt-bar { width: 3px; height: 24px; border-radius: 3px; background: var(--leaf); }
.appt-bar.b2 { background: var(--sky-soft); }
.appt-bar.b3 { background: var(--sand); }
.appt-name { font-size: 13px; }
.appt-meta { font-size: 11px; color: var(--ink-mute); }

.chart {
  height: 110px;
  position: relative;
  margin-top: 6px;
}
.chart svg { width: 100%; height: 100%; }

@media (max-width: 760px) {
  .app-mock { grid-template-columns: 1fr; min-height: 460px; }
  .app-side { display: none; }
  .app-stats { grid-template-columns: repeat(2, 1fr); }
  .app-row { grid-template-columns: 1fr; }
}

/* ====== Logos strip ====== */
.logos-strip {
  padding: 50px 0 30px;
  text-align: center;
}
.logos-strip-label {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 28px;
}
.logos-row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 64px);
  opacity: .8;
}
.logos-row .logo-item {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink-mute);
  letter-spacing: -.01em;
  display: inline-flex; align-items: center; gap: 8px;
}

/* ====== Section: Identificação ====== */
.section-pain {
  background: var(--cream);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.pain-head {
  max-width: 720px;
  margin: 0 auto 70px;
  text-align: center;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 880px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card {
  background: #ffffff;
  border-radius: var(--r-lg);
  padding: 32px 30px;
  border: 1px solid var(--line);
  position: relative;
  transition: transform .35s, box-shadow .35s;
}
.pain-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pain-num {
  font-family: var(--serif);
  font-size: 38px;
  color: var(--leaf);
  line-height: 1;
  margin-bottom: 18px;
}
.pain-quote {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.25;
  color: var(--forest-deep);
  margin-bottom: 18px;
  letter-spacing: -.01em;
}
.pain-body {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.pain-foot {
  margin-top: 60px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px;
}
.pain-foot-text {
  max-width: 60ch;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25;
  color: var(--graphite);
}

/* ====== Section: Origem (story) ====== */
.section-origin {
  background: var(--bg);
  position: relative;
}
.origin-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
@media (max-width: 980px) { .origin-grid { grid-template-columns: 1fr; } }
.origin-side { position: sticky; top: 120px; }
.origin-figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--leaf), var(--leaf-soft));
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
}
.origin-figure-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(55,89,67,0) 30%, rgba(55,89,67,.7) 90%);
}
.origin-figure-overlay h4 { color: var(--cream); font-family: var(--serif); font-size: 20px; font-weight: 400; margin-bottom: 6px; }
.origin-figure-overlay p { font-size: 13px; opacity: .9; }
.origin-figure-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18) 0, transparent 40%),
                    radial-gradient(circle at 70% 75%, rgba(55,89,67,.25) 0, transparent 50%);
}
.origin-figure svg { position: absolute; inset: 0; margin: auto; opacity: .25; }

.origin-body p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 20px;
  font-weight: 300;
}
.origin-body p strong {
  color: var(--graphite);
  font-weight: 500;
}
.origin-body .pull {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--forest);
  line-height: 1.25;
  margin: 32px 0;
  padding-left: 26px;
  border-left: 2px solid var(--leaf);
}
.origin-tag {
  display: inline-block;
  margin-top: 30px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(160,194,158,.25);
  color: var(--olive-deep);
  font-size: 13px;
  font-weight: 500;
}

/* ====== Section: Como funciona ====== */
.section-steps {
  background: var(--cream);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.steps-head { max-width: 760px; margin: 0 auto 70px; text-align: center; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}
@media (max-width: 880px) { .steps-grid { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 36px 30px 32px;
  background: #ffffff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s, box-shadow .3s;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-marker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--forest);
  font-weight: 500;
}
.step-marker .num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0;
}
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; }
.step p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.step-illust {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.steps-cta-row { margin-top: 54px; display: flex; justify-content: center; }

/* ====== Section: Custo invisível ====== */
.section-cost {
  background: var(--graphite);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.section-cost::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(160,194,158,.12), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(97,145,173,.10), transparent 55%);
}
.section-cost .container { position: relative; z-index: 1; }
.section-cost h2 { color: var(--cream); }
.section-cost .lede { color: rgba(248,249,239,.75); }
.section-cost .eyebrow { color: var(--leaf); }

.cost-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.cost-calc {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-xl);
  padding: clamp(30px, 5vw, 60px);
  backdrop-filter: blur(10px);
}
@media (max-width: 880px) { .cost-calc { grid-template-columns: 1fr; } }
.cost-text { font-size: 16px; color: rgba(248,249,239,.85); line-height: 1.7; font-weight: 300; }
.cost-text strong { color: var(--cream); font-weight: 500; }
.cost-numbers {
  display: flex; flex-direction: column; gap: 18px;
}
.cost-row {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cost-row:last-child { border-bottom: none; }
.cost-row-label { font-size: 13px; color: rgba(248,249,239,.65); text-transform: uppercase; letter-spacing: .1em; }
.cost-row-val { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 44px); color: var(--cream); }
.cost-row-val.danger { color: #f4b8a3; }

.cost-cta-row { margin-top: 50px; display: flex; justify-content: center; }
.section-cost .btn-primary { background: var(--leaf); color: var(--graphite); }
.section-cost .btn-primary:hover { background: var(--cream); }

/* ====== Before/After split ====== */
.split {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  position: relative;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 56px; height: 56px;
  background: var(--cream);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px rgba(248,249,239,.08);
  z-index: 2;
}
.split::before {
  content: "→";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  color: var(--graphite);
  font-size: 22px;
  z-index: 3;
}
@media (max-width: 880px) { .split::after, .split::before { display: none; } }
.split-side {
  padding: clamp(30px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 20px;
}
.split-before {
  background: rgba(255,255,255,.02);
  border-right: 1px solid rgba(255,255,255,.08);
}
.split-after {
  background: linear-gradient(180deg, rgba(160,194,158,.12), rgba(160,194,158,.04));
}
.split-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 500;
  width: fit-content;
}
.split-tag.bad { color: #e5a78d; }
.split-tag.good { color: var(--leaf); }
.split-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.split-title { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); color: var(--cream); }
.split-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.split-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.03);
  font-size: 15px;
  color: rgba(248,249,239,.85);
}
.split-list li svg { flex-shrink: 0; }
.split-before li { color: rgba(248,249,239,.6); text-decoration: line-through; text-decoration-color: rgba(229,167,141,.4); }
.split-after li { color: var(--cream); }
.split-after li svg { color: var(--leaf); }
.split-before li svg { color: #b87a5a; }

/* ====== Section: Funcionalidades ====== */
.section-features { background: var(--bg); }
.features-head { max-width: 760px; margin: 0 auto 80px; text-align: center; }
.features-stack {
  display: flex; flex-direction: column; gap: 24px;
}
.feat-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 420px;
}
.feat-row.flip { grid-template-columns: 1.15fr 0.85fr; }
.feat-row.flip .feat-text { order: 2; }
.feat-row.flip .feat-vis { order: 1; }
@media (max-width: 980px) {
  .feat-row, .feat-row.flip { grid-template-columns: 1fr; min-height: 0; }
  .feat-row.flip .feat-text { order: 1; }
  .feat-row.flip .feat-vis { order: 2; }
}
.feat-text {
  padding: clamp(32px, 4vw, 56px);
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.feat-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 500;
  width: fit-content;
}
.feat-tag svg { color: var(--forest); }
.feat-text h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; color: var(--graphite); letter-spacing: -.015em; }
.feat-text p { font-size: 15px; color: var(--ink-soft); line-height: 1.65; }
.feat-checks {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 4px;
}
.feat-checks li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink-soft);
  list-style: none;
}
.feat-checks li svg { color: var(--olive); flex-shrink: 0; }

.feat-vis {
  background: linear-gradient(160deg, var(--cream-warm), var(--cream));
  border-left: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 30px;
}
.feat-row.flip .feat-vis { border-left: none; border-right: 1px solid var(--line-soft); }

/* mock micro-cards */
.mock {
  background: #ffffff;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 460px;
  overflow: hidden;
}
.mock-h {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
  background: #FCFCF7;
}
.mock-h-title { font-size: 13px; font-weight: 500; color: var(--graphite); }
.mock-h-pill { font-size: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(160,194,158,.3); color: var(--olive-deep); font-weight: 500; }
.mock-body { padding: 18px; }

.mock-record {
  display: flex; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.mock-record:last-child { border: none; padding-bottom: 0; }
.mock-record-time { font-size: 11px; color: var(--ink-mute); white-space: nowrap; padding-top: 2px; }
.mock-record-text { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.mock-record-text strong { color: var(--graphite); font-weight: 500; }

.mock-cal {
  display: grid;
  grid-template-columns: 60px repeat(5, 1fr);
  gap: 0;
  font-size: 11px;
}
.mock-cal-cell {
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  min-height: 28px;
  padding: 4px 6px;
  position: relative;
}
.mock-cal-cell:nth-last-child(-n+6) { border-bottom: none; }
.mock-cal-cell:nth-child(6n) { border-right: none; }
.mock-cal-h { font-weight: 500; color: var(--ink-mute); background: #FAFAF3; text-align: center; padding: 6px 0; }
.mock-cal-time { color: var(--ink-mute); padding: 4px 8px; text-align: right; background: #FAFAF3; }
.mock-cal-evt {
  position: absolute;
  inset: 4px 4px;
  background: var(--leaf);
  border-radius: 4px;
  padding: 4px 6px;
  color: var(--forest-darker);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
}
.mock-cal-evt.b { background: var(--sky-soft); color: #2c4659; }
.mock-cal-evt.c { background: var(--sand); color: #6a5d3b; }
.mock-cal-evt.tall { inset: 4px 4px -28px; }

/* mic / IA */
.mic-card {
  background: #ffffff;
  border-radius: var(--r-md);
  padding: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 380px;
  display: flex; flex-direction: column; gap: 16px;
}
.mic-row {
  display: flex; align-items: center; gap: 14px;
}
.mic-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.mic-btn::before, .mic-btn::after {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(55,89,67,.25);
  animation: pulse 2.5s ease-out infinite;
}
.mic-btn::after { animation-delay: 1.25s; }
@keyframes pulse {
  0% { transform: scale(.9); opacity: .8; }
  100% { transform: scale(1.4); opacity: 0; }
}
.mic-wave {
  flex: 1;
  height: 30px;
  display: flex; align-items: center; gap: 3px;
}
.mic-wave span {
  flex: 1;
  background: var(--leaf);
  border-radius: 2px;
  animation: wave 1.4s ease-in-out infinite;
  height: 30%;
}
.mic-wave span:nth-child(1){ animation-delay: 0s; }
.mic-wave span:nth-child(2){ animation-delay: .1s; }
.mic-wave span:nth-child(3){ animation-delay: .2s; }
.mic-wave span:nth-child(4){ animation-delay: .3s; }
.mic-wave span:nth-child(5){ animation-delay: .4s; }
.mic-wave span:nth-child(6){ animation-delay: .5s; }
.mic-wave span:nth-child(7){ animation-delay: .6s; }
.mic-wave span:nth-child(8){ animation-delay: .7s; }
.mic-wave span:nth-child(9){ animation-delay: .6s; }
.mic-wave span:nth-child(10){ animation-delay: .5s; }
.mic-wave span:nth-child(11){ animation-delay: .4s; }
.mic-wave span:nth-child(12){ animation-delay: .3s; }
.mic-wave span:nth-child(13){ animation-delay: .2s; }
.mic-wave span:nth-child(14){ animation-delay: .1s; }
@keyframes wave {
  0%, 100% { height: 20%; opacity: .6; }
  50% { height: 90%; opacity: 1; }
}

.mic-transcript {
  background: var(--cream);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  border: 1px solid var(--line-soft);
}
.mic-transcript .typing::after {
  content: "▋";
  display: inline-block;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  color: var(--forest);
}
@keyframes blink { 50% { opacity: 0; } }

/* finance mock */
.fin-card { width: 100%; max-width: 460px; }
.fin-summary {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-soft);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.fin-cell { background: #ffffff; padding: 14px 12px; }
.fin-cell-label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.fin-cell-val { font-family: var(--serif); font-size: 22px; margin-top: 4px; color: var(--graphite); }
.fin-cell-val.green { color: var(--olive); }
.fin-list { margin-top: 14px; display: flex; flex-direction: column; gap: 0; }
.fin-list-item {
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  align-items: center;
}
.fin-list-item:last-child { border-bottom: none; }
.fin-name { color: var(--graphite); }
.fin-status { font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 500; }
.fin-status.paid { background: rgba(160,194,158,.3); color: var(--olive-deep); }
.fin-status.pend { background: rgba(212,207,186,.5); color: #6a5d3b; }
.fin-amt { font-weight: 500; color: var(--graphite); font-feature-settings: "tnum" 1; }

/* contracts */
.docs-card { width: 100%; max-width: 380px; position: relative; }
.docs-stack { position: relative; height: 320px; }
.doc-paper {
  position: absolute;
  width: 240px; height: 300px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 22px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 8px;
}
.doc-paper.p1 { left: 0; top: 10px; transform: rotate(-6deg); }
.doc-paper.p2 { left: 50px; top: 0; transform: rotate(2deg); background: #FCFCF7; }
.doc-paper.p3 { left: 90px; top: 8px; transform: rotate(8deg); }
.doc-paper-h { font-family: var(--serif); font-size: 13px; color: var(--forest); padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.doc-line { height: 4px; background: var(--mist); border-radius: 2px; }
.doc-line.short { width: 60%; }
.doc-line.mid { width: 80%; }
.doc-sig {
  margin-top: auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--forest);
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}
.doc-stamp {
  position: absolute;
  right: -10px; bottom: 30px;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--forest-darker);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  text-align: center;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
  transform: rotate(-12deg);
  z-index: 5;
}

/* reports */
.report-card { width: 100%; max-width: 460px; }
.report-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.bars {
  display: flex; align-items: flex-end; gap: 4px; height: 100px;
  padding: 8px 0;
}
.bar {
  flex: 1; background: var(--leaf); border-radius: 3px 3px 0 0;
  min-height: 8px;
  transition: height .8s cubic-bezier(.2,.7,.2,1);
}
.bar.active { background: var(--forest); }
.bar-row {
  display: flex; gap: 2px; margin-top: 6px;
  font-size: 9px; color: var(--ink-mute);
  text-align: center;
}
.bar-row span { flex: 1; }

/* ====== Section: Segurança ====== */
.section-security {
  background: var(--cream);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.security-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.security-head h2 { margin-top: 12px; }
.security-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 80px;
  align-items: stretch;
  position: relative;
}
@media (max-width: 880px) { .security-cards { grid-template-columns: 1fr; } }
.sec-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.sec-card.featured {
  background: var(--graphite);
  color: var(--cream);
  border-color: var(--graphite);
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-glow);
  z-index: 2;
}
.sec-card.blur { filter: blur(2px); opacity: .55; pointer-events: none; }
.sec-card-h {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.sec-card.featured .sec-card-h { color: var(--leaf); }
.sec-card-host { font-family: var(--serif); font-size: 22px; color: var(--graphite); letter-spacing: -.01em; font-weight: 400; }
.sec-card.featured .sec-card-host { color: var(--cream); }
.sec-grade {
  width: 76px; height: 76px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 44px;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.sec-grade.a { background: linear-gradient(160deg, #4a7e58, #2a4534); }
.sec-grade.c { background: linear-gradient(160deg, #d6a35d, #a8773a); }
.sec-grade.d { background: linear-gradient(160deg, #c9785a, #8a4d33); }
.sec-grade::after {
  content: "";
  position: absolute;
  top: -30%; left: -30%;
  width: 80%; height: 200%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.25), transparent);
  transform: rotate(20deg);
}
.sec-score-row {
  display: flex; gap: 4px; align-items: center;
  font-size: 11px;
  color: var(--ink-mute);
}
.sec-card.featured .sec-score-row { color: rgba(248,249,239,.6); }
.sec-headers {
  display: flex; flex-direction: column; gap: 6px;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
  margin-top: auto;
}
.sec-card.featured .sec-headers { border-color: rgba(248,249,239,.1); }
.sec-h-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px;
}
.sec-h-name { color: var(--ink-mute); }
.sec-card.featured .sec-h-name { color: rgba(248,249,239,.65); }
.sec-h-stat { font-weight: 500; }
.sec-h-stat.ok { color: var(--olive); }
.sec-h-stat.bad { color: #c9785a; }

.sec-banner {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(160,194,158,.3);
  color: var(--olive-deep);
  font-size: 12px;
  font-weight: 500;
  margin-top: 6px;
}

/* trust list */
.trust-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-card {
  background: #ffffff;
  border-radius: var(--r-md);
  padding: 24px 22px;
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s, box-shadow .25s;
}
.trust-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.trust-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(160,194,158,.2);
  color: var(--forest);
  display: flex; align-items: center; justify-content: center;
}
.trust-card h4 { font-family: var(--sans); font-weight: 500; font-size: 14px; color: var(--graphite); }
.trust-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

.security-foot {
  margin-top: 50px;
  text-align: center;
}
.security-foot p {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--graphite);
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.3;
}

/* ====== Section: Tudo em um só lugar (Telas) ====== */
.section-all {
  background: var(--bg);
  overflow: hidden;
}
.all-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.all-tabs {
  display: flex; justify-content: center; gap: 6px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  width: fit-content;
  margin: 0 auto 40px;
  flex-wrap: wrap;
}
.all-tab {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-weight: 400;
  transition: all .2s;
}
.all-tab:hover { color: var(--forest); }
.all-tab.active {
  background: var(--forest);
  color: var(--cream);
  font-weight: 500;
}

.all-stage {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--cream-warm), var(--cream));
  border: 1px solid var(--line);
  padding: clamp(20px, 3vw, 40px);
  min-height: 580px;
  overflow: hidden;
}
.all-stage::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 110%, rgba(55,89,67,.08), transparent 60%);
  pointer-events: none;
}
.all-screen {
  position: absolute;
  inset: 30px;
  opacity: 0;
  transition: opacity .5s;
  display: flex; align-items: stretch; justify-content: center;
}
.all-screen.active { opacity: 1; position: relative; inset: 0; }
.all-screen .app-mock { box-shadow: var(--shadow-lg); width: 100%; max-width: 1080px; margin: 0 auto; min-height: 540px; }

/* Different stages share .app-mock */
/* Patient list */
.tbl { width: 100%; font-size: 12px; }
.tbl thead th {
  text-align: left;
  padding: 10px 12px;
  background: #FAFAF3;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--line-soft);
}
.tbl tbody tr { border-bottom: 1px solid var(--line-soft); }
.tbl tbody tr:hover { background: #FCFCF7; }
.tbl td {
  padding: 12px;
  vertical-align: middle;
  font-size: 13px;
  color: var(--ink-soft);
}
.tbl-name { display: flex; align-items: center; gap: 10px; }
.tbl-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--forest-darker);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500;
}
.tbl-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-block;
}
.tbl-tag.green { background: rgba(160,194,158,.3); color: var(--olive-deep); }
.tbl-tag.blue { background: rgba(186,204,219,.4); color: #2c4659; }
.tbl-tag.sand { background: rgba(212,207,186,.5); color: #6a5d3b; }

/* ====== Section: Planos ====== */
.section-plans {
  background: var(--cream);
  border-top: 1px solid var(--line-soft);
}
.plans-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 980px) { .plans-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.plan {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 32px 32px;
  display: flex; flex-direction: column; gap: 22px;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.featured {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
  position: relative;
  box-shadow: var(--shadow-glow);
  transform: translateY(-12px);
}
.plan.featured:hover { transform: translateY(-16px); }
.plan-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--forest-darker);
  font-weight: 500;
  position: absolute;
  top: -12px; left: 32px;
}
.plan-name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -.01em;
  color: var(--graphite);
}
.plan.featured .plan-name { color: var(--cream); }
.plan-desc { font-size: 13px; color: var(--ink-mute); }
.plan.featured .plan-desc { color: rgba(248,249,239,.7); }
.plan-price {
  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--serif);
  color: var(--graphite);
  letter-spacing: -.02em;
}
.plan.featured .plan-price { color: var(--cream); }
.plan-price .currency { font-size: 18px; }
.plan-price .amount { font-size: 56px; line-height: 1; font-weight: 400; }
.plan-price .period { font-size: 14px; color: var(--ink-mute); font-family: var(--sans); margin-left: 4px; }
.plan.featured .plan-price .period { color: rgba(248,249,239,.6); }
.plan-cta { margin-top: 6px; }
.plan-cta .btn { width: 100%; justify-content: center; }
.plan.featured .btn-primary { background: var(--leaf); color: var(--graphite); }
.plan.featured .btn-primary:hover { background: var(--cream); }
.plan-divider { height: 1px; background: var(--line-soft); }
.plan.featured .plan-divider { background: rgba(248,249,239,.15); }
.plan-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.plan-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.45; }
.plan-feats li svg { color: var(--forest); flex-shrink: 0; margin-top: 2px; }
.plan.featured .plan-feats li { color: rgba(248,249,239,.85); }
.plan.featured .plan-feats li svg { color: var(--leaf); }

.plans-foot {
  margin-top: 50px;
  display: flex; justify-content: center; align-items: center; gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-mute);
}
.plans-foot .stripe-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ffffff;
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 12px;
}

/* ====== Section: FAQ ====== */
.section-faq { background: var(--bg); }
.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-side h2 { margin-bottom: 18px; }
.faq-side p { color: var(--ink-soft); }

.faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  text-align: left;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--graphite);
  font-weight: 400;
  letter-spacing: -.01em;
  transition: color .2s;
}
.faq-q:hover { color: var(--forest); }
.faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .35s, background .25s, border-color .25s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--forest); border-color: var(--forest); color: var(--cream); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.2,.7,.2,1);
}
.faq-a-inner {
  padding: 0 0 26px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  max-width: 65ch;
}
.faq-item.open .faq-a { max-height: 400px; }

/* ====== Section: CTA Final ====== */
.section-final {
  background: var(--forest);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.section-final::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 0%, rgba(160,194,158,.25), transparent 60%),
    radial-gradient(ellipse 50% 70% at 10% 100%, rgba(248,249,239,.06), transparent 60%);
}
.section-final .container { position: relative; z-index: 1; }
.final-inner {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.section-final h2 {
  color: var(--cream);
  font-size: clamp(40px, 5.6vw, 76px);
}
.section-final h2 em { color: var(--leaf); font-style: italic; }
.final-sub {
  margin-top: 26px;
  font-size: clamp(17px, 1.4vw, 20px);
  color: rgba(248,249,239,.8);
  max-width: 56ch;
  margin-left: auto; margin-right: auto;
}
.final-cta-row {
  margin-top: 44px;
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.section-final .btn-primary { background: var(--leaf); color: var(--graphite); }
.section-final .btn-primary:hover { background: var(--cream); }
.section-final .btn-ghost { color: var(--cream); border-color: rgba(248,249,239,.25); }
.section-final .btn-ghost:hover { background: rgba(248,249,239,.06); border-color: rgba(248,249,239,.4); }

.final-bg-mark {
  position: absolute;
  bottom: -120px; right: -100px;
  width: 600px; height: 600px;
  opacity: .04;
}
