/* ============================================================
   midas — landing page
   calm technology for psychologists
   ============================================================ */

:root {
  /* paleta */
  --bg: #FBFAF6;
  --bg-soft: #F4F2EC;
  --paper: #FFFFFF;
  --green-soft: #A8D5BA;
  --green-soft-tint: #E4F1E9;
  --green-deep: #4A7C59;
  --green-darker: #2F5640;
  --green-ink: #1E3D2A;
  --lilac: #CDB4DB;
  --lilac-soft: #F3E8FF;
  --lilac-deep: #6B5FA6;
  --ink: #1A2420;
  --ink-soft: #5B6760;
  --ink-mute: #8A958E;
  --line: #E7E3D9;
  --line-soft: #EFECE3;
  --warn-bg: #FEF3C7;
  --warn-bd: #FDE68A;
  --warn-tx: #92400E;
  --pend-bg: #F3E8FF;
  --pend-bd: #E9D5FF;
  --pend-tx: #6B5FA6;
  --done-bg: #F3F4F6;
  --done-bd: #E5E7EB;
  --done-tx: #6B7280;
  --money-bg: #ECFDF5;
  --money-bd: #A7F3D0;
  --money-tx: #065F46;

  /* radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;

  /* shadows (calm, never heavy) */
  --sh-xs: 0 1px 2px rgba(31,42,36,.04);
  --sh-sm: 0 2px 8px rgba(31,42,36,.05), 0 1px 2px rgba(31,42,36,.04);
  --sh-md: 0 10px 30px -12px rgba(31,42,36,.10), 0 4px 12px -4px rgba(31,42,36,.06);
  --sh-lg: 0 30px 80px -30px rgba(31,42,36,.16), 0 10px 28px -12px rgba(31,42,36,.08);
  --sh-xl: 0 60px 120px -40px rgba(31,42,36,.22), 0 20px 40px -16px rgba(31,42,36,.10);

  /* type */
  --f-display: "Sora", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
.ital { font-style: italic; font-weight: 400; color: var(--green-deep); }
.muted { color: var(--ink-soft); font-weight: 500; }

/* ============ Reveal anim ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(251, 250, 246, .65);
  backdrop-filter: saturate(1.1) blur(14px);
  -webkit-backdrop-filter: saturate(1.1) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, padding .3s;
}
.nav.scrolled {
  background: rgba(251, 250, 246, .88);
  border-bottom-color: var(--line);
  padding: 12px clamp(20px, 4vw, 56px);
}
.nav-brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 2px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--green-deep);
  letter-spacing: -.01em;
}
.nav-logo {
  height: 32px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.nav-links a {
  position: relative;
  transition: color .2s;
}
.nav-links a:hover { color: var(--green-deep); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-link-quiet {
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: color .2s;
}
.nav-link-quiet:hover { color: var(--green-deep); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -.005em;
  transition: transform .15s ease, background .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary {
  background: var(--green-deep);
  color: #fff;
  box-shadow: var(--sh-sm), inset 0 1px 0 rgba(255,255,255,.16);
}
.btn-primary:hover {
  background: var(--green-darker);
  box-shadow: var(--sh-md), inset 0 1px 0 rgba(255,255,255,.16);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost:hover {
  background: rgba(74,124,89,.06);
  box-shadow: inset 0 0 0 1px var(--green-soft);
  color: var(--green-deep);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 160px clamp(20px, 5vw, 56px) 0;
  min-height: 100vh;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-grad {
  position: absolute;
  inset: 0;
  background: transparent;
}
.sparkle-field { position: absolute; inset: 0; }
.spk {
  position: absolute;
  opacity: .55;
  filter: drop-shadow(0 6px 18px rgba(205,180,219,.4));
  animation: float 8s ease-in-out infinite;
  will-change: transform;
}
.spk-1  { top: 14%; left: 8%;   width: 38px; height: 38px; animation-delay: 0s;    opacity: .60; }
.spk-2  { top: 22%; right: 12%; width: 56px; height: 56px; animation-delay: -2s;   opacity: .65; }
.spk-3  { top: 60%; left: 4%;   width: 22px; height: 22px; animation-delay: -4s;   opacity: .50; }
.spk-4  { top: 70%; right: 8%;  width: 28px; height: 28px; animation-delay: -1.5s; opacity: .45; }
.spk-5  { top: 38%; left: 48%;  width: 14px; height: 14px; animation-delay: -3s;   opacity: .40; }
.spk-6  { top: 8%;  left: 60%;  width: 18px; height: 18px; animation-delay: -2.4s; opacity: .40; }
.spk-7  { top: 48%; left: 22%;  width: 32px; height: 32px; animation-delay: -1s;   opacity: .45; }
.spk-8  { top: 18%; left: 35%;  width: 16px; height: 16px; animation-delay: -3.5s; opacity: .50; }
.spk-9  { top: 78%; left: 55%;  width: 24px; height: 24px; animation-delay: -0.8s; opacity: .40; }
.spk-10 { top: 32%; right: 28%; width: 12px; height: 12px; animation-delay: -5s;   opacity: .35; }
.spk-11 { top: 85%; left: 18%;  width: 20px; height: 20px; animation-delay: -2.8s; opacity: .50; }
.spk-12 { top: 55%; right: 22%; width: 36px; height: 36px; animation-delay: -4.5s; opacity: .38; }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(8deg); }
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
}
.orb-1 { width: 360px; height: 360px; background: rgba(168,213,186,.55); top: 30%; left: -120px; }
.orb-2 { width: 300px; height: 300px; background: rgba(205,180,219,.45); top: 0;  right: -100px; }

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding-top: 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: lowercase;
  letter-spacing: .02em;
  color: var(--ink-soft);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-deep);
  box-shadow: 0 0 0 4px rgba(74,124,89,.15);
  animation: pulse 2.4s ease-in-out infinite;
}
.eyebrow-dark { background: var(--bg-soft); }
.eyebrow-dark .dot.dark { background: var(--green-deep); }
.eyebrow-spk {
  width: 11px; height: 11px;
  flex-shrink: 0;
  animation: spk-spin 8s linear infinite;
}
@keyframes spk-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,124,89,.25); }
  50% { box-shadow: 0 0 0 6px rgba(74,124,89,0); }
}

.hero-title {
  margin-top: 28px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(40px, 6.6vw, 88px);
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--green-ink);
  text-wrap: balance;
}
.hero-title .ital { color: var(--green-deep); }
.hero-sub {
  margin: 28px auto 0;
  max-width: 640px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.hero-cta {
  margin-top: 36px;
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-meta {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-mute);
  text-transform: lowercase;
}
.hero-meta .sep { color: var(--lilac); }

/* hero stage / dashboard mockup */
.hero-stage {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 80px auto 0;
  padding: 0 0 200px;
}
.dash-window {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--paper);
  box-shadow: var(--sh-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.dash-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 38px;
  padding: 0 16px;
  background: #FAFAF7;
  border-bottom: 1px solid var(--line-soft);
}
.dash-traffic { display: flex; gap: 6px; }
.dash-traffic span { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.dash-traffic span:nth-child(1) { background: #f3c8c0; }
.dash-traffic span:nth-child(2) { background: #f2ddb4; }
.dash-traffic span:nth-child(3) { background: #c0deca; }
.dash-url {
  flex: 0 1 320px;
  margin: 0 auto;
  padding: 4px 14px;
  background: var(--bg);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-soft);
  text-align: center;
  border: 1px solid var(--line-soft);
}
.dash-chrome-spacer { width: 60px; }

.dash-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 560px;
}

/* sidebar */
.dash-side {
  background: #FAFAF6;
  border-right: 1px solid var(--line-soft);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dash-brand {
  display: flex;
  align-items: center;
  padding: 0 6px;
}
.dash-logo {
  height: 24px;
  width: auto;
  display: block;
}
.dash-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--ink-soft);
  border-radius: var(--r-sm);
  transition: background .15s, color .15s;
  cursor: pointer;
}
.dash-nav-section {
  font-family: var(--f-body);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-mute);
  padding: 10px 12px 4px;
}
.dash-nav a:hover { background: rgba(107,95,166,.08); color: var(--ink); }
.dash-nav a.active {
  background: #6B5FA6;
  color: #fff;
  font-weight: 500;
}
.dash-nav a.active .ico { background: #fff; }
.dash-nav .pill {
  margin-left: auto;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--lilac-soft);
  color: var(--lilac-deep);
  font-size: 11px;
  font-weight: 500;
}
.dash-side-foot {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 8px;
  border-radius: var(--r-md);
}
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #A8D5BA, #CDB4DB);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.dash-foot-info { flex: 1; min-width: 0; }
.dash-side-foot .name { font-size: 12.5px; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-side-foot .sub { font-family: var(--f-body); font-size: 10px; color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-logout {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--ink-mute);
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.dash-logout:hover { background: #FEE2E2; color: #DC2626; }

/* main */
.dash-main {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #F0F7F2;
  min-width: 0;
  overflow-x: hidden;
}
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.dash-greet { font-family: var(--f-display); font-size: 20px; font-weight: 600; color: var(--green-ink); letter-spacing: -.01em; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.dash-sess-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 9px; border-radius: 999px;
  background: #E8F5EE; color: var(--green-deep);
  font-size: 10.5px; font-weight: 600; font-family: var(--f-body);
}
.sess-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-deep);
  animation: sessDotPulse 2s ease-in-out infinite;
}
@keyframes sessDotPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }
.dash-date { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
.dash-head-actions { display: flex; gap: 7px; align-items: center; }
.dh-btn {
  height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background .15s, color .15s, box-shadow .15s;
}
.dh-btn-ghost {
  width: 32px; padding: 0; justify-content: center;
  background: #fff; border: 1px solid #E0E5E2; color: var(--ink-soft);
}
.dh-btn-ghost:hover { background: #E8F5EE; border-color: #A8D5BA; color: var(--green-deep); }
.dh-btn-agenda {
  background: #fff;
  border: 1px solid #E0E5E2;
  color: var(--green-deep);
}
.dh-btn-agenda:hover { background: #E8F5EE; border-color: #A8D5BA; }
.dh-btn-accent { background: var(--green-deep); color: #fff; }
.dh-btn-accent:hover { background: #3a6647; }

/* daily quote card */
.quote-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #4A7C59 0%, #3d7a52 60%, #2e5e3e 100%);
  border-radius: 18px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
}
.qc-sparkles { position: absolute; inset: 0; pointer-events: none; }
.qc-label {
  font-family: var(--f-body);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #A8D5BA;
  margin-bottom: 6px;
}
.qc-text {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.45;
}

/* stat cards */
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-card {
  background: #fff;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #E8EDE9;
  box-shadow: 0 1px 4px rgba(30,50,35,.06);
}
.stat-icon-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.stat-ic {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
}
.stat-badge {
  font-family: var(--f-body); font-size: 9.5px;
  background: #F0F7F2; color: var(--green-deep);
  padding: 2px 8px; border-radius: 999px;
  text-transform: lowercase;
}
.stat-value { font-family: var(--f-display); font-size: 28px; font-weight: 700; color: #1A2320; letter-spacing: -.02em; line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 11px; color: #9CA5AE; }
.stat-sub { font-family: var(--f-body); font-size: 9.5px; color: #9CA5AE; margin-top: 3px; }
.stat-bar { margin-top: 10px; height: 4px; background: #E8F5EE; border-radius: 999px; overflow: hidden; }
.stat-bar div { height: 100%; background: linear-gradient(90deg, #A8D5BA, #4A7C59); border-radius: 999px; }

/* two-column layout */
.dash-cols { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; opacity: .92; }
.dash-col-left { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dash-col-right { display: flex; flex-direction: column; gap: 10px; min-width: 0; }

/* panel */
.d-panel {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #E8EDE9;
  box-shadow: 0 1px 3px rgba(30,50,35,.05);
  overflow: hidden;
  min-width: 0;
  width: 100%;
}
.d-panel-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px 10px;
  border-bottom: 1px solid #F3F4F5;
}
.d-panel-head-left { display: flex; align-items: center; gap: 7px; }
.d-panel-head h4 { font-family: var(--f-display); font-size: 13px; font-weight: 600; color: var(--ink); }
.d-count-badge {
  font-family: var(--f-body); font-size: 10px; font-weight: 600;
  background: #E8F5EE; color: var(--green-deep);
  padding: 1px 7px; border-radius: 999px;
}
.d-panel-link {
  font-family: var(--f-body); font-size: 10px; color: var(--green-deep);
  display: inline-flex; align-items: center; gap: 2px; cursor: pointer;
}
.d-panel-actions { display: flex; align-items: center; gap: 8px; }
.d-panel-link-sm { font-family: var(--f-body); font-size: 10px; color: #6B5FA6; cursor: pointer; }

/* session rows */
.d-sess-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid #F3F4F5;
  transition: background .15s;
  min-width: 0;
}
.d-sess-row:last-child { border-bottom: none; }
.d-sess-row:hover { background: #E8F5EE; }
.d-sess-row.done { opacity: .5; }
.d-sess-time {
  font-family: var(--f-display); font-size: 12px; font-weight: 500; color: var(--ink);
  width: 36px; flex-shrink: 0; text-align: left;
}
.d-sess-av {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: #EDE9F8; color: #6B5FA6;
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: 10px; font-weight: 700;
}
.d-sess-info { flex: 1; min-width: 0; }
.d-sess-name { font-size: 12.5px; font-weight: 500; color: var(--ink); }
.d-sess-badges { display: flex; align-items: center; gap: 6px; margin-top: 1px; }
.d-sess-dur { font-family: var(--f-body); font-size: 10px; color: var(--ink-mute); }
.d-sbadge {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--f-body); font-size: 10px; font-weight: 500;
}
.d-sbadge-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.d-sbadge-dot.pulse { animation: sessDotPulse 1.8s ease-in-out infinite; }
.d-sbadge.done { color: #059669; }
.d-sbadge.upcoming { color: #6B5FA6; }
.d-sbadge.pending { color: #D97706; }
.d-edit-btn {
  width: 30px; height: 30px; border-radius: 11px;
  border: 1px solid var(--line-soft);
  display: grid; place-items: center;
  color: var(--ink-mute);
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.d-edit-btn:hover { background: #E8F5EE; color: var(--green-deep); }

/* reminder rows */
.d-rem-row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid #F3F4F5;
  transition: background .15s;
}
.d-rem-row:last-child { border-bottom: none; }
.d-rem-row:hover { background: rgba(107,95,166,.04); }
.d-check {
  width: 16px; height: 16px; border-radius: 4px;
  border: 1.5px solid #C8CDD3;
  flex-shrink: 0; margin-top: 1px;
  display: grid; place-items: center;
  transition: background .15s, border-color .15s;
}
.d-check.checked { background: #6B5FA6; border-color: #6B5FA6; }
.d-rem-body { flex: 1; min-width: 0; }
.d-rem-body.done .d-rem-title { text-decoration: line-through; opacity: .5; }
.d-rem-title { font-size: 12px; color: var(--ink); line-height: 1.3; }
.d-rem-meta { display: flex; align-items: center; gap: 6px; margin-top: 3px; }
.d-rem-pat {
  display: inline-flex; align-items: center; gap: 3px;
  font-family: var(--f-body); font-size: 9.5px;
  background: #EDE9F8; color: #6B5FA6;
  padding: 1px 7px; border-radius: 999px;
}
.d-due {
  font-family: var(--f-body); font-size: 9.5px;
  padding: 1px 6px; border-radius: 999px;
}
.d-due.today { background: #E8F5EE; color: var(--green-deep); }
.d-due.overdue { background: #FEE2E2; color: #DC2626; }
.d-due.future { background: #EDE9F8; color: #6B5FA6; }

/* finance rows */
.d-fin-row {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 16px;
  border-bottom: 1px solid #F3F4F5;
  font-size: 11.5px;
  transition: background .15s;
  min-width: 0;
}
.d-fin-row:last-child { border-bottom: none; }
.d-fin-row:hover { background: rgba(0,0,0,.02); }
.d-fin-desc { flex: 1; min-width: 0; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-fin-badge {
  font-family: var(--f-body); font-size: 9px; padding: 2px 6px; border-radius: 999px; font-weight: 500; white-space: nowrap;
}
.d-fin-badge.paid { background: #D1FAE5; color: #059669; }
.d-fin-badge.pend { background: #EDE9F8; color: #6B5FA6; }
.d-fin-badge.over { background: #FEE2E2; color: #DC2626; }
.d-fin-act-col { width: 58px; display: flex; justify-content: center; flex-shrink: 0; }
.d-fin-action {
  font-family: var(--f-body); font-size: 11px; padding: 2px 10px; border-radius: 999px;
  font-weight: 600; white-space: nowrap;
  background: #A8D5BA; color: #1A3D2B;
  transition: background .15s;
}
.d-fin-action:hover { background: #8FC9A5; }
.d-fin-action.danger { background: #FEE2E2; color: #DC2626; }
.d-fin-action.danger:hover { background: #fecaca; }
.d-fin-val {
  font-family: var(--f-display); font-size: 11px; font-weight: 600;
  text-align: right; width: 76px; flex-shrink: 0;
  color: var(--ink);
}
.d-fin-val.credit { color: #059669; }
.d-fin-val.debit  { color: #DC2626; }

/* pending patients rows */
.d-pend-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid #F3F4F5;
  transition: background .15s;
  cursor: pointer;
}
.d-pend-row:last-child { border-bottom: none; }
.d-pend-row:hover { background: #F7F5FF; }
.d-pend-info { flex: 1; min-width: 0; }
.d-pend-name { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.d-pend-missing { font-size: 10.5px; color: var(--green-deep); margin-top: 1px; font-family: var(--f-body); }
.d-pend-arrow { color: var(--ink-mute); flex-shrink: 0; }

/* birthday rows */
.d-bday-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 16px;
  border-bottom: 1px solid #F3F4F5;
  transition: background .15s;
}
.d-bday-row:last-child { border-bottom: none; }
.d-bday-row:hover { background: rgba(251,191,36,.06); }
.d-bday-name { font-size: 12px; font-weight: 500; color: var(--ink); }
.d-bday-badge {
  font-family: var(--f-body); font-size: 9.5px; padding: 2px 8px; border-radius: 999px; font-weight: 500;
}
.d-bday-badge.today { background: #FEF3C7; color: #92400E; }
.d-bday-badge.soon  { background: #EDE9F8; color: #6B5FA6; }

/* keep old tags for other sections */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: lowercase;
  white-space: nowrap;
  border: 1px solid;
}
.tag.sm { padding: 2px 8px; font-size: 10px; }
.tag-confirm  { background: #D1FAE5; border-color: #6EE7B7; color: #059669; }
.tag-upcoming { color: #6B5FA6; border-color: transparent; background: transparent; }
.tag-pending  { background: var(--warn-bg); border-color: var(--warn-bd); color: var(--warn-tx); }
.tag-done     { background: var(--done-bg); border-color: var(--done-bd); color: var(--done-tx); }
.tag-money    { background: var(--money-bg); border-color: var(--money-bd); color: var(--money-tx); }
.tag-pat-pending { background: #E0F2FE; border-color: #BAE6FD; color: #0284C7; }

/* floating chips */
.hero-chip {
  position: absolute;
  background: var(--paper);
  padding: 12px 16px;
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line-soft);
  z-index: 3;
  will-change: transform;
}
.chip-ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--lilac-soft);
  color: var(--lilac-deep);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.chip-ic-money { background: var(--money-bg); color: var(--money-tx); }
.chip-title { font-family: var(--f-display); font-size: 13px; font-weight: 600; color: var(--ink); }
.chip-sub { font-family: var(--f-body); font-size: 11px; color: var(--ink-mute); margin-top: 1px; }
.chip-1 { top: 38%; left: -12px; animation: floatChip 6s ease-in-out infinite; }
.chip-2 { top: 62%; right: -14px; animation: floatChip 7s ease-in-out infinite -2s; }
@keyframes floatChip {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================================
   STRIP
   ============================================================ */
.strip {
  padding: 60px clamp(20px, 5vw, 56px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.strip-inner { max-width: 1240px; margin: 0 auto; text-align: center; }
.strip-lede {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-mute);
  text-transform: lowercase;
  letter-spacing: .03em;
  margin-bottom: 24px;
}
.strip-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 5vw, 60px);
}
.strip-logos li {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-soft);
  opacity: .7;
  letter-spacing: -.005em;
  transition: opacity .2s, color .2s;
}
.strip-logos li:hover { opacity: 1; color: var(--green-deep); }

/* ============================================================
   SECTION shared
   ============================================================ */
.section {
  padding: clamp(80px, 12vw, 140px) clamp(20px, 5vw, 56px);
  position: relative;
}
.section-head {
  max-width: 880px;
  margin: 0 auto 64px;
}
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head-left { max-width: 1320px; margin-left: auto; margin-right: auto; }
.section-head h2 {
  font-family: var(--f-display);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: 1.06;
  color: var(--green-ink);
  margin-top: 22px;
  text-wrap: balance;
}
.section-head .lede {
  margin-top: 22px;
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 620px;
  text-wrap: pretty;
}
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ============================================================
   MÓDULOS
   ============================================================ */
.modulos { background: transparent; position: relative; }
.modulos::before,
.dif::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,213,186,.55) 35%, rgba(205,180,219,.55) 65%, transparent);
  pointer-events: none;
  z-index: 1;
}
.mod-sparkle-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.mspk {
  position: absolute;
  filter: drop-shadow(0 4px 14px rgba(205,180,219,.35));
  animation: float 9s ease-in-out infinite;
  will-change: transform;
}
.mspk-1  { top: 5%;  left: 3%;   width: 44px; height: 44px; animation-delay: -1s;   opacity: .55; }
.mspk-2  { top: 8%;  right: 6%;  width: 30px; height: 30px; animation-delay: -3s;   opacity: .50; }
.mspk-3  { top: 22%; left: 10%;  width: 18px; height: 18px; animation-delay: -5s;   opacity: .55; }
.mspk-4  { top: 18%; right: 18%; width: 52px; height: 52px; animation-delay: 0s;    opacity: .45; }
.mspk-5  { top: 42%; left: 1%;   width: 24px; height: 24px; animation-delay: -2.2s; opacity: .45; }
.mspk-6  { top: 55%; right: 3%;  width: 38px; height: 38px; animation-delay: -4s;   opacity: .40; }
.mspk-7  { top: 68%; left: 28%;  width: 16px; height: 16px; animation-delay: -1.8s; opacity: .50; }
.mspk-8  { top: 75%; right: 24%; width: 28px; height: 28px; animation-delay: -3.5s; opacity: .45; }
.mspk-9  { top: 85%; left: 8%;   width: 20px; height: 20px; animation-delay: -6s;   opacity: .40; }
.mspk-10 { top: 90%; right: 10%; width: 14px; height: 14px; animation-delay: -2.8s; opacity: .38; }

/* diferenciais sparkles */
.dif-sparkle-field { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.dspk {
  position: absolute;
  filter: drop-shadow(0 4px 14px rgba(205,180,219,.35));
  animation: float 9s ease-in-out infinite;
  will-change: transform;
}
.dspk-1 { top: 4%;  left: 2%;   width: 38px; height: 38px; animation-delay: -1.2s; opacity: .50; }
.dspk-2 { top: 10%; right: 5%;  width: 24px; height: 24px; animation-delay: -3.5s; opacity: .45; }
.dspk-3 { top: 28%; left: 6%;   width: 16px; height: 16px; animation-delay: -5.2s; opacity: .50; }
.dspk-4 { top: 22%; right: 15%; width: 44px; height: 44px; animation-delay: -0.8s; opacity: .40; }
.dspk-5 { top: 50%; left: 0.5%; width: 20px; height: 20px; animation-delay: -2.6s; opacity: .42; }
.dspk-6 { top: 58%; right: 2%;  width: 32px; height: 32px; animation-delay: -4.3s; opacity: .38; }
.dspk-7 { top: 72%; left: 22%;  width: 14px; height: 14px; animation-delay: -1.5s; opacity: .48; }
.dspk-8 { top: 85%; right: 20%; width: 22px; height: 22px; animation-delay: -3.1s; opacity: .42; }

.hero-modules-zone {
  background:
    radial-gradient(ellipse 75% 45% at 8%  18%, rgba(168,213,186,.48), transparent 55%),
    radial-gradient(ellipse 60% 40% at 88% 12%, rgba(205,180,219,.42), transparent 55%),
    radial-gradient(ellipse 55% 35% at 75% 55%, rgba(168,213,186,.32), transparent 55%),
    radial-gradient(ellipse 65% 40% at 15% 75%, rgba(205,180,219,.30), transparent 55%),
    radial-gradient(ellipse 80% 35% at 50% 95%, rgba(168,213,186,.28), transparent 60%),
    var(--bg);
}
.mod-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}
.mod {
  grid-column: span 4;
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: 28px 28px 0;
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s, border-color .3s;
  min-height: 440px;
  position: relative;
}
.mod:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--green-soft);
}
.mod-lg { grid-column: span 8; }
.mod header { display: flex; align-items: baseline; gap: 14px; }
.mod-num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: .04em;
}
.mod h3 {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--green-ink);
  letter-spacing: -.015em;
}
.mod p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 480px;
}
.mod-vis {
  margin: 8px -28px -1px;
  padding: 18px 22px;
  flex: 1;
  display: flex;
  align-items: flex-end;
  position: relative;
  min-height: 220px;
  background: linear-gradient(180deg, transparent 0%, var(--bg-soft) 100%);
}

/* dashboard mini visual */
.mod-vis-dash {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px 20px;
  background: #F0F7F2;
  align-items: stretch;
}

/* base card */
.mvd-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #E8EDE9;
  padding: 16px 18px;
  box-shadow: 0 1px 4px rgba(30,50,35,.06);
}
.mvd-clabel {
  font-family: var(--f-body);
  font-size: 11px;
  color: #9CA5AE;
  font-weight: 500;
  letter-spacing: .01em;
  margin-bottom: 4px;
}
.mvd-cvalue {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 700;
  color: #1A2320;
  letter-spacing: -.04em;
  line-height: 1;
}
.mvd-cvalue-md {
  font-size: 20px;
  letter-spacing: -.03em;
}
.mvd-csub {
  font-family: var(--f-body);
  font-size: 11px;
  color: #4A7C59;
  font-weight: 500;
  margin-top: 5px;
}

/* top stats row */
.mvd-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* bottom row */
.mvd-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* session dot indicators */
.mvd-dots {
  display: flex;
  gap: 5px;
  margin-top: 10px;
  align-items: center;
}
.mvd-dot-done,
.mvd-dot-now,
.mvd-dot-pend {
  width: 22px;
  height: 8px;
  border-radius: 4px;
}
.mvd-dot-done { background: #A8D5BA; }
.mvd-dot-now  { background: #4A7C59; }
.mvd-dot-pend { background: #E8EDE9; }

/* calendar mini */
/* agenda card — fiel ao timeGridWeek real */
.mod-vis-cal {
  padding: 0;
  overflow: hidden;
  align-items: stretch;
  align-self: stretch;
  position: relative;
}

.ag-scaled {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% / 0.6);
  height: calc(100% / 0.6);
  transform: scale(0.6);
  transform-origin: top left;
  display: flex;
  flex-direction: column;
  background: #fff;
}

/* topbar */
.ag-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-bottom: 1px solid #E8EDE9;
  background: #fff;
  flex-shrink: 0;
}
.ag-nav { display: flex; align-items: center; gap: 2px; }
.ag-nav-btn {
  width: 30px; height: 30px;
  border: 1px solid #E8EDE9;
  border-radius: 8px;
  display: grid; place-items: center;
  color: #6B5FA6;
  background: #fff;
  cursor: default;
}
.ag-nav-today {
  height: 30px;
  padding: 0 12px;
  border: 1px solid #E8EDE9;
  border-radius: 8px;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  color: #4A3D72;
  background: #fff;
  cursor: default;
}
.ag-title {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
  color: #1A2320;
  flex: 1;
}
.ag-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ag-view-toggle {
  display: flex;
  background: #EDE9F8;
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
.ag-view-btn {
  height: 28px;
  padding: 0 14px;
  border-radius: 7px;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  color: #9CA5AE;
  background: transparent;
  border: none;
  cursor: default;
}
.ag-view-btn.active {
  background: #fff;
  color: #6B5FA6;
  box-shadow: 0 1px 3px rgba(107,95,166,.2);
}
.ag-novo-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 14px;
  background: var(--green-deep);
  color: #fff;
  border-radius: 12px;
  border: none;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  cursor: default;
}

/* time grid */
.ag-grid {
  display: grid;
  grid-template-columns: 44px repeat(5, 1fr);
  grid-auto-rows: 1fr;
  grid-template-rows: auto repeat(4, 1fr);
  flex: 1;
  overflow: hidden;
}
.ag-gutter-head { border-bottom: 1px solid #F0F0F0; border-right: 1px solid #F0F0F0; }
.ag-day-head {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  color: #9CA5AE;
  text-align: center;
  padding: 8px 4px;
  border-bottom: 1px solid #F0F0F0;
  border-right: 1px solid #F0F0F0;
}
.ag-day-head span { display: block; font-size: 18px; font-weight: 700; color: #1A2320; line-height: 1.1; }
.ag-day-head.today { color: #6B5FA6; }
.ag-today-num {
  display: inline-flex !important;
  width: 32px; height: 32px;
  background: #6B5FA6;
  color: #fff !important;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 16px !important;
  margin: 0 auto;
}
.ag-time-lbl {
  font-family: var(--f-body);
  font-size: 11px;
  color: #C4C9CE;
  padding: 6px 6px 0 0;
  text-align: right;
  border-right: 1px solid #F0F0F0;
  border-bottom: 1px solid #F0F0F0;
}
.ag-slot {
  border-right: 1px solid #F0F0F0;
  border-bottom: 1px solid #F0F0F0;
  padding: 3px;
  position: relative;
  min-height: 52px;
}
.ag-ev {
  border-radius: 6px;
  border-left: 3px solid;
  padding: 4px 7px;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
}
.ag-ev span { font-size: 10px; opacity: .75; }
.ag-ev.confirmed  { background: #F3E8FF; border-color: #E9D5FF; color: #6B5FA6; }
.ag-ev.completed  { background: #E8F5EE; border-color: #A8D5BA; color: #2D6A4F; }
.ag-ev.pending    { background: #FEF3C7; border-color: #FDE68A; color: #92400E; }
.ag-ev.commitment { background: #EFF6FF; border-color: #BFDBFE; color: #1D4ED8; }

/* now indicator */
.now-row { position: relative; }
.ag-now-line {
  position: absolute;
  left: 0; right: 0;
  top: 40%;
  height: 2px;
  background: #6B5FA6;
  z-index: 2;
}
.ag-now-line::before {
  content: '';
  position: absolute;
  left: -4px; top: -4px;
  width: 10px; height: 10px;
  background: #6B5FA6;
  border-radius: 50%;
}

/* patient list mini */
/* patients table card */
.mod-vis-pat {
  padding: 0;
  overflow: hidden;
  align-items: stretch;
  align-self: stretch;
  position: relative;
}
.pt-scaled {
  position: absolute;
  top: 0; left: 0;
  width: calc(100% / 0.6);
  height: calc(100% / 0.6);
  transform: scale(0.6);
  transform-origin: top left;
  display: flex;
  flex-direction: column;
  background: #F0F7F2;
  padding: 28px 32px 20px;
  gap: 16px;
}
.pt-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pt-page-title {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 700;
  color: #1A2320;
}
.pt-novo-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 38px;
  padding: 0 16px;
  background: var(--green-deep);
  color: #fff;
  border-radius: 12px;
  border: none;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 600;
  cursor: default;
}
.pt-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pt-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  height: 38px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #E8EDE9;
  border-radius: 10px;
  font-family: var(--f-body);
  font-size: 13px;
  color: #9CA5AE;
}
.pt-filters { display: flex; gap: 6px; }
.pt-filter-btn {
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  color: #6B7280;
  background: #fff;
  border: 1px solid #E8EDE9;
  cursor: default;
}
.pt-filter-btn.active {
  background: #EDE9F8;
  color: #6B5FA6;
  border-color: #D4CCEF;
  font-weight: 600;
}
/* table */
.pt-table {
  background: #fff;
  border: 1px solid #E8EDE9;
  border-radius: 18px;
  overflow: hidden;
  flex: 1;
}
.pt-thead {
  display: grid;
  grid-template-columns: 2.5fr 1.6fr 1.4fr 1.4fr 0.8fr;
  padding: 10px 20px;
  border-bottom: 1px solid #F0F0F0;
  background: #F8F9FA;
}
.pt-thead span {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 600;
  color: #9CA5AE;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pt-row {
  display: grid;
  grid-template-columns: 2.5fr 1.6fr 1.4fr 1.4fr 0.8fr;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid #F5F6F7;
  transition: background .15s;
}
.pt-row:last-child { border-bottom: none; }
.pt-row:hover { background: #FAFBFC; }
.pt-patient-col { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pt-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #EDE9F8;
  color: #6B5FA6;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.pt-info { display: flex; flex-direction: column; min-width: 0; }
.pt-name { font-family: var(--f-body); font-size: 14px; font-weight: 500; color: #1A2320; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-sub  { font-family: var(--f-body); font-size: 12px; color: #9CA5AE; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-cell { font-family: var(--f-body); font-size: 13px; color: #374151; }
.pt-muted { color: #9CA5AE; }
.pt-today { color: #6B5FA6; font-weight: 600; }
.pt-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
}
.pt-badge.active   { background: #E8F5EE; color: #2D6A4F; }
.pt-badge.pending  { background: #FEF3C7; color: #92400E; }
.pt-badge.inactive { background: #F3F4F6; color: #6B7280; }

/* prontuário card */
.mod-vis-pront {
  padding: 0;
  overflow: hidden;
  align-items: stretch;
  align-self: stretch;
  position: relative;
}
.pr-scaled {
  position: absolute;
  top: 0; left: 0;
  width: calc(100% / 0.6);
  height: calc(100% / 0.6);
  transform: scale(0.6);
  transform-origin: top left;
  display: flex;
  flex-direction: column;
  background: #F0F7F2;
}
/* topbar */
.pr-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: #fff;
  border-bottom: 1px solid #EAE8F0;
}
.pr-back-btn {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--f-body); font-size: 13px; font-weight: 500;
  color: #8B84A0;
  background: #fff; border: 1px solid #EAE8F0;
  padding: 6px 12px; border-radius: 9px;
  cursor: default;
}
.pr-breadcrumb { font-family: var(--f-body); font-size: 13px; color: #B0AABF; }
/* patient bar */
.pr-patient-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid #EAE8F0;
}
.pr-patient-left { display: flex; align-items: center; gap: 14px; }
.pr-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: #EDE9F8; color: #6B5FA6;
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}
.pr-patient-name { font-family: var(--f-display); font-size: 18px; font-weight: 600; color: #1A1A2E; }
.pr-patient-meta { font-family: var(--f-body); font-size: 12px; color: #9CA3AF; margin-top: 2px; }
.pr-patient-actions { display: flex; align-items: center; gap: 8px; }
.pr-btn-purple {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 10px;
  background: #6B5FA6; color: #fff; border: none;
  font-family: var(--f-body); font-size: 13px; font-weight: 500;
  cursor: default;
}
.pr-btn-ghost {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 10px;
  background: #F5F3FC; color: #6B5FA6;
  border: 1.5px solid #CDB4DB;
  font-family: var(--f-body); font-size: 13px; font-weight: 500;
  cursor: default;
}
/* tab bar */
.pr-tabs {
  display: flex;
  background: #fff;
  border-bottom: 1px solid #EAE8F0;
  padding: 0 8px;
  overflow: hidden;
}
.pr-tab {
  padding: 10px 14px;
  font-family: var(--f-body); font-size: 13px; font-weight: 500;
  color: #9CA3AF;
  background: none; border: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap; cursor: default;
}
.pr-tab-active { color: #6B5FA6; border-bottom-color: #6B5FA6; }
/* content */
.pr-content {
  flex: 1; overflow: hidden;
  padding: 16px 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.pr-evo-head {
  display: flex; align-items: center; justify-content: space-between;
}
.pr-evo-title { font-family: var(--f-display); font-size: 15px; font-weight: 600; color: #1A1A2E; }
.pr-ia-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 10px;
  background: linear-gradient(135deg, #6B5FA6, #8B7EC8);
  color: #fff; border: none;
  font-family: var(--f-body); font-size: 13px; font-weight: 600;
  cursor: default;
  box-shadow: 0 2px 12px rgba(107,95,166,.35);
}
.pr-evo-card {
  background: #fff;
  border: 1px solid #EAE8F0;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.pr-evo-card-dim { opacity: .6; }
.pr-evo-card-head { display: flex; align-items: center; justify-content: space-between; }
.pr-evo-date { font-family: var(--f-body); font-size: 13px; font-weight: 500; color: #1A1A2E; }
.pr-evo-dur { font-family: var(--f-body); font-size: 12px; color: #9CA3AF; margin-left: 8px; }
.pr-evo-badge {
  font-family: var(--f-body); font-size: 11px; font-weight: 600;
  background: #E8F5EE; color: #2D6A4F;
  padding: 3px 10px; border-radius: 999px;
}
.pr-evo-body {
  font-family: var(--f-body); font-size: 13px; color: #374151;
  line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
/* anamnese content */
.pr-section-card {
  background: #fff;
  border: 1px solid #EAE8F0;
  border-radius: 18px;
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.pr-section-title { font-family: var(--f-display); font-size: 15px; font-weight: 600; color: #1A1A2E; }
.pr-section-sub { font-family: var(--f-body); font-size: 12px; color: #9CA3AF; margin-top: -10px; }
.pr-field { display: flex; flex-direction: column; gap: 4px; }
.pr-field-label { font-family: var(--f-body); font-size: 13px; font-weight: 600; color: #1A1A2E; }
.pr-field-sub { font-family: var(--f-body); font-size: 12px; color: #9CA3AF; }
.pr-textarea {
  background: #FAFAFA;
  border: 1.5px solid #EAE8F0;
  border-radius: 11px;
  padding: 10px 14px;
  font-family: var(--f-body); font-size: 13px; color: #1F2937;
  line-height: 1.65;
  min-height: 60px;
}
.pr-textarea-tall { min-height: 80px; }
.pr-save-row { display: flex; justify-content: flex-end; }
.pr-save-btn {
  padding: 10px 24px;
  background: #A8D5BA; color: #1A3D2B;
  border: none; border-radius: 10px;
  font-family: var(--f-body); font-size: 13px; font-weight: 500;
  cursor: default;
}

/* financeiro card (fn-scaled) */
.mod-vis-fin { padding: 0; overflow: hidden; align-items: stretch; align-self: stretch; position: relative; }
.fn-scaled {
  position: absolute; top: 0; left: 0;
  width: calc(100% / 0.6); height: calc(100% / 0.6);
  transform: scale(0.6); transform-origin: top left;
  background: #F0F7F2;
  display: flex; flex-direction: column;
  padding: 24px 28px 16px;
  gap: 14px;
}

/* header */
.fn-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.fn-title { font-family: var(--f-display); font-size: 22px; font-weight: 700; color: #1A2420; line-height: 1.2; margin: 0; }
.fn-sub { font-size: 12px; color: #8A958E; margin: 2px 0 0; }
.fn-header-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.fn-month-nav { display: flex; align-items: center; gap: 4px; background: #fff; border: 1px solid #E8EDE9; border-radius: 8px; padding: 4px 8px; }
.fn-nav-btn { background: none; border: none; color: #8A958E; cursor: pointer; padding: 0; display: flex; align-items: center; line-height: 1; }
.fn-month-label { font-size: 12px; font-weight: 500; color: #1A2420; white-space: nowrap; padding: 0 4px; }
.fn-ghost-btn { background: #fff; border: 1px solid #E8EDE9; border-radius: 8px; padding: 6px; display: flex; align-items: center; color: #8A958E; cursor: pointer; }
.fn-novo-btn {
  display: flex; align-items: center; gap: 6px;
  background: #6B5FA6; color: #fff;
  border: none; border-radius: 9px;
  padding: 8px 14px; font-size: 13px; font-weight: 600;
  font-family: var(--f-body); cursor: pointer; white-space: nowrap;
}

/* stat cards grid 2×3 */
.fn-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fn-stat-card {
  background: #fff; border: 1px solid #E8EDE9; border-radius: 12px;
  padding: 10px 12px; display: flex; align-items: flex-start; gap: 10px;
}
.fn-stat-ic { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fn-stat-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fn-stat-val { font-family: var(--f-display); font-size: 15px; font-weight: 700; color: #1A2420; white-space: nowrap; }
.fn-stat-lbl { font-size: 11px; font-weight: 600; color: #5B6760; }
.fn-stat-sub { font-size: 10px; color: #9CA5AE; }
.fn-val-red { color: #DC2626; }
.fn-val-amber { color: #D97706; }
.fn-val-purple { color: #6B5FA6; }

/* filter bar */
.fn-filter-bar { display: flex; align-items: center; gap: 8px; }
.fn-search {
  display: flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid #E8EDE9; border-radius: 9px;
  padding: 7px 10px; flex: 0 0 auto; min-width: 180px;
  font-size: 12px; color: #9CA5AE;
}
.fn-filters { display: flex; gap: 4px; }
.fn-filter-btn {
  background: none; border: 1px solid #E8EDE9; border-radius: 999px;
  padding: 4px 10px; font-size: 11px; font-weight: 500; color: #5B6760;
  cursor: pointer; font-family: var(--f-body); white-space: nowrap;
}
.fn-filter-active { background: #6B5FA6; color: #fff; border-color: #6B5FA6; }

/* table */
.fn-table { background: #fff; border: 1px solid #E8EDE9; border-radius: 14px; overflow: hidden; flex: 1; }
.fn-thead {
  display: grid; grid-template-columns: 22px 1fr 60px 90px 80px 60px;
  padding: 9px 16px; border-bottom: 1px solid #F0F2F1;
  background: #FAFAFA;
  font-size: 11px; font-weight: 600; color: #9CA5AE; gap: 10px; align-items: center;
}
.fn-row {
  display: grid; grid-template-columns: 22px 1fr 60px 90px 80px 60px;
  padding: 10px 16px; border-bottom: 1px solid #F5F6F7;
  align-items: center; gap: 10px;
}
.fn-row:last-child { border-bottom: none; }
.fn-cb { width: 14px; height: 14px; accent-color: #6B5FA6; cursor: pointer; }
.fn-row-desc { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fn-av {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; flex-shrink: 0;
}
.fn-av-purple { background: #EDE9F8; color: #6B5FA6; }
.fn-av-red { background: #FEE2E2; color: #DC2626; }
.fn-desc-name { font-size: 13px; font-weight: 500; color: #1A2420; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fn-cat-badge { font-size: 10px; font-weight: 500; padding: 2px 7px; border-radius: 999px; margin-top: 2px; display: inline-block; }
.fn-cat-receita { background: #E8F5EE; color: #2D6A4F; }
.fn-cat-debito { background: #FEE2E2; color: #DC2626; }
.fn-cell { font-size: 12px; color: #5B6760; white-space: nowrap; }
.fn-date { color: #8A958E; }
.fn-val-green { color: #2D6A4F; font-weight: 600; font-size: 13px; }
.fn-val-red { color: #DC2626; font-weight: 600; font-size: 13px; }
.fn-val-muted { color: #8A958E; font-weight: 500; font-size: 13px; }
.fn-status-badge { font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.fn-pago { background: #E8F5EE; color: #2D6A4F; }
.fn-pendente { background: #FEF3C7; color: #92400E; }
.fn-vencido { background: #FEE2E2; color: #DC2626; }
.fn-rec-btn {
  background: #EDE9F8; color: #6B5FA6; border: none; border-radius: 7px;
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.fn-action-btn {
  border: none; border-radius: 7px; padding: 5px 10px;
  font-size: 11px; font-weight: 600; cursor: pointer; font-family: var(--f-body); white-space: nowrap;
}
.fn-receber { background: #A8D5BA; color: #1A3D2B; }
.fn-pagar { background: #FEE2E2; color: #DC2626; }

/* lembretes card (lr-scaled) */
.mod-vis-rem { padding: 0; overflow: hidden; align-items: stretch; align-self: stretch; position: relative; }
.lr-scaled {
  position: absolute; top: 0; left: 0;
  width: calc(100% / 0.6); height: calc(100% / 0.6);
  transform: scale(0.6); transform-origin: top left;
  background: #F0F7F2;
  display: flex; flex-direction: column;
  padding: 24px 28px 16px;
  gap: 14px;
}

/* header */
.lr-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.lr-title { font-family: var(--f-display); font-size: 22px; font-weight: 700; color: #1A2420; line-height: 1.2; margin: 0; }
.lr-sub { font-size: 12px; color: #8A958E; margin: 2px 0 0; }
.lr-novo-btn {
  display: flex; align-items: center; gap: 6px;
  background: #6B5FA6; color: #fff;
  border: none; border-radius: 9px;
  padding: 8px 14px; font-size: 13px; font-weight: 600;
  font-family: var(--f-body); cursor: pointer; white-space: nowrap; flex-shrink: 0;
}

/* toolbar */
.lr-toolbar { display: flex; align-items: center; gap: 10px; }
.lr-search {
  display: flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid #E8EDE9; border-radius: 9px;
  padding: 7px 10px; flex: 0 0 auto; min-width: 200px;
  font-size: 12px; color: #9CA5AE;
}
.lr-filters { display: flex; gap: 4px; }
.lr-filter {
  background: none; border: 1px solid #E8EDE9; border-radius: 999px;
  padding: 4px 12px; font-size: 11px; font-weight: 500; color: #5B6760;
  cursor: pointer; font-family: var(--f-body);
}
.lr-filter-active { background: #6B5FA6; color: #fff; border-color: #6B5FA6; }

/* sections */
.lr-section { background: #fff; border: 1px solid #E8EDE9; border-radius: 14px; overflow: hidden; }
.lr-section + .lr-section { margin-top: 10px; }
.lr-section-head {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 20px 9px; border-bottom: 1px solid #F0F2F1;
  background: #FAFAFA;
}
.lr-section-label { font-size: 10px; font-weight: 600; color: #9CA5AE; letter-spacing: 0.06em; }
.lr-count-badge { background: #EDE9F8; color: #6B5FA6; font-size: 10px; font-weight: 600; border-radius: 999px; padding: 1px 7px; }
.lr-clear-btn { margin-left: auto; background: none; border: none; font-size: 11px; color: #9CA5AE; cursor: pointer; font-family: var(--f-body); }

/* items */
.lr-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 20px; border-bottom: 1px solid #F5F6F7;
}
.lr-item:last-child { border-bottom: none; }
.lr-item-done { opacity: 0.6; }
.lr-cb-btn {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #D1D5DB; background: none; cursor: pointer;
  flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center;
}
.lr-cb-done { background: #A8D5BA; border-color: #A8D5BA; }
.lr-item-body { flex: 1; min-width: 0; }
.lr-item-title { font-size: 13px; font-weight: 500; color: #1A2420; margin: 0; line-height: 1.4; }
.lr-title-done { text-decoration: line-through; color: #8A958E; font-weight: 400; }
.lr-item-meta { display: flex; align-items: center; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.lr-patient-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 500; color: #6B5FA6;
  background: #EDE9F8; border-radius: 999px; padding: 2px 8px;
}
.lr-time { font-size: 11px; color: #8A958E; }

/* urgency badges */
.lr-badge { font-size: 10px; font-weight: 500; padding: 3px 9px; border-radius: 999px; white-space: nowrap; flex-shrink: 0; align-self: center; }
.lr-badge-red    { background: #FEE2E2; color: #DC2626; }
.lr-badge-amber  { background: #FEF3C7; color: #92400E; }
.lr-badge-blue   { background: #EFF6FF; color: #1D4ED8; }
.lr-badge-gray   { background: #F3F4F6; color: #6B7280; }

/* configurações */
/* configurações card (cg-scaled) */
.mod-vis-cfg { padding: 0; overflow: hidden; align-items: stretch; align-self: stretch; position: relative; }
.cg-scaled {
  position: absolute; top: 0; left: 0;
  width: calc(100% / 0.6); height: calc(100% / 0.6);
  transform: scale(0.6); transform-origin: top left;
  background: #F0F7F2;
  display: flex; flex-direction: column;
  padding: 22px 26px 16px;
  gap: 12px;
}

/* header */
.cg-header { display: flex; align-items: center; justify-content: space-between; }
.cg-title { font-family: var(--f-display); font-size: 22px; font-weight: 700; color: #1A2420; margin: 0; }

/* tabs */
.cg-tabs { display: flex; gap: 2px; background: #fff; border: 1px solid #E8EDE9; border-radius: 10px; padding: 3px; align-self: flex-start; }
.cg-tab {
  background: none; border: none; border-radius: 8px;
  padding: 5px 12px; font-size: 12px; font-weight: 500; color: #5B6760;
  cursor: pointer; font-family: var(--f-body); white-space: nowrap;
}
.cg-tab-active { background: #6B5FA6; color: #fff; }

/* setting cards */
.cg-card {
  background: #fff; border: 1.5px solid #E8EDE9; border-radius: 14px;
  padding: 16px 18px;
}
.cg-card + .cg-card { margin-top: 0; }
.cg-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cg-card-title { font-size: 14px; font-weight: 600; color: #1A2420; margin: 0; }
.cg-card-sub { font-size: 11px; color: #8A958E; margin: 3px 0 0; }
.cg-divider { height: 1px; background: #F0F2F1; margin: 12px 0; }
.cg-label { font-size: 10px; font-weight: 600; color: #9CA5AE; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 6px; }

/* toggle switch */
.cg-toggle { position: relative; display: inline-block; width: 36px; height: 20px; flex-shrink: 0; }
.cg-toggle input { display: none; }
.cg-toggle-track {
  position: absolute; inset: 0; border-radius: 999px;
  background: #A8D5BA; transition: background .2s;
}
.cg-track-off { background: #D1D5DB; }
.cg-toggle-knob {
  position: absolute; top: 2px; left: 18px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: left .2s;
}
.cg-knob-off { left: 2px; }

/* toggle rows */
.cg-toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; }
.cg-toggle-row + .cg-toggle-row { border-top: 1px solid #F5F6F7; }
.cg-toggle-row-lbl { font-size: 13px; color: #1A2420; padding-left: 12px; }

/* checkboxes */
.cg-check-row { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.cg-checkbox {
  width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid #D1D5DB;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cg-cb-on { background: #6B5FA6; border-color: #6B5FA6; }
.cg-check-lbl { font-size: 13px; color: #1A2420; }

/* save row */
.cg-save-row { display: flex; justify-content: flex-end; margin-top: 12px; }
.cg-save-btn {
  background: #6B5FA6; color: #fff; border: none; border-radius: 8px;
  padding: 7px 18px; font-size: 12px; font-weight: 600;
  font-family: var(--f-body); cursor: pointer;
}

/* google calendar card */
.cg-gcal-row { display: flex; align-items: center; gap: 14px; }
.cg-gcal-ic {
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid #E8EDE9; background: #FAFAFA;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cg-gcal-info { flex: 1; min-width: 0; }
.cg-gcal-name { font-size: 14px; font-weight: 600; color: #1A2420; margin: 0; }
.cg-gcal-status { font-size: 11px; margin: 2px 0 0; }
.cg-gcal-connected { color: #2D6A4F; }
.cg-gcal-btn-disconnect {
  background: none; border: 1.5px solid #E8EDE9; border-radius: 8px;
  padding: 6px 14px; font-size: 12px; font-weight: 500; color: #5B6760;
  cursor: pointer; font-family: var(--f-body); white-space: nowrap; flex-shrink: 0;
}
.cg-gcal-hint {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: 11px; color: #9CA5AE; margin: 10px 0 0; line-height: 1.5;
}

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.dif {
  background: transparent;
  position: relative;
}
.dif .section-head { max-width: 1180px; padding: 0; margin-left: auto; margin-right: auto; }
.dif-head-wrap { display: inline-block; }
.dif-head-wrap .lede { max-width: 100%; }
.dif-underline {
  text-decoration: none;
  background-image: linear-gradient(90deg, #4A7C59, #9B8FD4);
  background-repeat: no-repeat;
  background-size: 100% 3px;
  background-position: 0 85%;
  padding-bottom: 0;
}
.dif-row {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
}
.dif-row.reverse .dif-copy { order: 2; }
.dif-row.reverse .dif-vis  { order: 1; }
.dif-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: lowercase;
  letter-spacing: .03em;
  color: var(--green-deep);
  padding: 4px 12px;
  background: var(--green-soft-tint);
  border-radius: 999px;
}
.dif-copy h3 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--green-ink);
  margin-top: 16px;
  text-wrap: balance;
}
.dif-copy p {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 440px;
  text-wrap: pretty;
}
.dif-list { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.dif-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px;
  color: var(--ink);
}
.check-ic {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-soft-tint);
  color: var(--green-deep);
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.dif-purple .dif-tag {
  background: var(--lilac-soft);
  color: var(--lilac-deep);
}
.dif-purple .check-ic {
  background: var(--lilac-soft);
  color: var(--lilac-deep);
}

/* dif vis — google calendar integration card */
.gcal-dif-card {
  background: var(--paper);
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 28px 28px 20px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: 0 4px 24px rgba(74,124,89,.08);
}

.gcal-connect-box {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--bg-soft); border-radius: 14px;
  padding: 22px 20px 18px;
  border: 1px solid var(--line-soft);
}
.gcal-connect-logos { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.gcal-logo-midas, .gcal-logo-google {
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line-soft); background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.gcal-sync-arrows { display: flex; align-items: center; }
.gcal-connect-title { font-family: var(--f-display); font-size: 15px; font-weight: 600; color: var(--green-ink); margin: 0; }
.gcal-connect-email { font-size: 12px; color: var(--ink-mute); margin: 0; }
.gcal-connected-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #E8F5EE; color: #2D6A4F;
  font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 999px; margin-top: 2px;
}

.gcal-sync-list { display: flex; flex-direction: column; gap: 0; }
.gcal-sync-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line-soft);
}
.gcal-sync-item:last-child { border-bottom: none; }
.gcal-sync-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.gcal-dot-midas { background: #4A7C59; }
.gcal-dot-google { background: #4285F4; }
.gcal-meet-link { display: flex; align-items: center; gap: 4px; color: #4285F4; }
.gcal-sync-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.gcal-sync-name { font-size: 13px; font-weight: 500; color: var(--green-ink); }
.gcal-sync-time { font-size: 11px; color: var(--ink-mute); }
.gcal-sync-badge {
  font-size: 11px; font-weight: 500; padding: 3px 10px;
  border-radius: 999px; white-space: nowrap; flex-shrink: 0;
}
.gcal-badge-synced { background: #E8F5EE; color: #2D6A4F; }
.gcal-badge-blocked { background: #EFF6FF; color: #1D4ED8; }

/* dif vis — calendar board */
.cal-board {
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--line-soft);
  position: relative;
  transform: rotate(-1deg);
}
.cal-board-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal-board-head > span { font-family: var(--f-display); font-weight: 600; font-size: 14px; }
.cal-board-nav { display: flex; gap: 6px; align-items: center; font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); }
.cal-board-nav > span { padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); cursor: pointer; }
.cal-board-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; min-height: 280px; }
.cbg-col { background: var(--bg-soft); border-radius: var(--r-sm); padding: 10px; display: flex; flex-direction: column; gap: 6px; min-height: 280px; }
.cbg-day { font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-mute); text-transform: lowercase; }
.cbg-num { font-family: var(--f-display); font-size: 20px; font-weight: 600; color: var(--green-ink); margin-bottom: 6px; }
.cbg-num.today { color: #6B5FA6; position: relative; display: inline-block; width: max-content; }
.cbg-num.today::after { content: ""; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: #6B5FA6; border-radius: 1px; }
.cbg-ev {
  font-family: var(--f-mono);
  font-size: 10px;
  padding: 4px 7px;
  border-radius: 5px;
  border: 1px solid;
  background: var(--paper);
}
.cbg-ev.ev-confirm { background: var(--pend-bg); border-color: var(--pend-bd); color: var(--pend-tx); }
.cbg-ev.ev-active  { background: var(--green-soft); border-color: var(--green-deep); color: var(--green-ink); font-weight: 500; box-shadow: 0 0 0 3px rgba(168,213,186,.35); }
.cbg-ev.ev-pending { background: var(--warn-bg); border-color: var(--warn-bd); color: var(--warn-tx); }
.cal-toast {
  position: absolute;
  bottom: -18px;
  right: 30px;
  background: var(--warn-bg);
  border: 1px solid var(--warn-bd);
  color: var(--warn-tx);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  display: flex; align-items: center; gap: 6px;
  box-shadow: var(--sh-md);
  animation: gentleBob 4s ease-in-out infinite;
}
@keyframes gentleBob {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* dif vis — autocadastro link card */
/* autocadastro phone mockup */
.ac-vis { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ac-url-bar {
  display: flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 999px;
  padding: 6px 14px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-mute);
  box-shadow: var(--sh-xs);
}

/* bezel */
.ac-bezel {
  width: 200px;
  background: #111315;
  padding: 10px 7px;
  border-radius: 36px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08),
    0 28px 56px rgba(0,0,0,.30),
    0 4px 12px rgba(0,0,0,.15);
  position: relative;
}
.ac-bezel::before {
  content: '';
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 5px;
  background: #2A2D2F;
  border-radius: 999px;
  z-index: 2;
}
.ac-screen {
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  display: flex; flex-direction: column;
  height: auto;
}

/* status bar */
.ac-status-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px 2px; background: #fff;
  font-size: 9px; font-weight: 600; color: #1A2420;
}
.ac-status-icons { display: flex; align-items: center; gap: 3px; color: #1A2420; }

/* app header */
.ac-app-header {
  background: #fff; border-bottom: 1px solid #E8EDE9;
  padding: 5px 10px; display: flex; align-items: center; justify-content: center;
}

/* hero */
.ac-hero {
  background: linear-gradient(160deg, #2D6A4F, #4A7C59);
  padding: 8px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
}
.ac-hero-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,.2); border: 1.5px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 700; color: #fff; margin-bottom: 2px;
}
.ac-hero-name { font-size: 9px; font-weight: 600; color: #fff; text-align: center; margin: 0; }
.ac-hero-crp { font-size: 8px; color: rgba(255,255,255,.7); margin: 0; }

/* progress */
.ac-progress {
  display: flex; align-items: flex-start; justify-content: center;
  background: #fff; border-bottom: 1px solid #F0F2F1;
  padding: 5px 8px 4px;
}
.ac-step-item { display: flex; flex-direction: column; align-items: center; gap: 1px; flex-shrink: 0; }
.ac-step-dot {
  width: 14px; height: 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 7px; font-weight: 600;
}
.ac-dot-active { background: #6B5FA6; color: #fff; }
.ac-dot-pending { background: #E8EDE9; color: #9CA5AE; }
.ac-step-lbl { font-size: 6.5px; color: #9CA5AE; white-space: nowrap; }
.ac-lbl-active { color: #6B5FA6; font-weight: 600; }
.ac-step-line { flex: 1; height: 1px; background: #E8EDE9; margin: 6px 2px 0; }

/* content */
.ac-content { padding: 6px 7px 4px; display: flex; flex-direction: column; gap: 4px; }
.ac-step-title { font-family: var(--f-display); font-size: 10px; font-weight: 600; color: #1A2420; margin: 0; }
.ac-step-sub { font-size: 7.5px; color: #8A958E; margin: 0; line-height: 1.4; }
.ac-field-card {
  background: #fff; border: 1px solid #E8EDE9; border-radius: 8px;
  padding: 6px 7px; display: flex; flex-direction: column; gap: 5px;
}
.ac-field { display: flex; flex-direction: column; gap: 2px; }
.ac-field label { font-size: 6.5px; font-weight: 600; color: #9CA5AE; text-transform: uppercase; letter-spacing: 0.04em; }
.ac-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ac-input {
  background: #FAFAFA; border: 1px solid #E8EDE9; border-radius: 4px;
  padding: 4px 5px; font-size: 8px; color: #9CA5AE;
}
.ac-filled { color: #1A2420; border-color: #A8D5BA; background: #fff; }
.ac-pills { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 1px; }
.ac-pill {
  padding: 2px 6px; border-radius: 999px; font-size: 7.5px; font-weight: 500;
  border: 1px solid #E8EDE9; color: #5B6760; background: #fff;
}
.ac-pill-active { background: #6B5FA6; color: #fff; border-color: #6B5FA6; }

/* footer */
.ac-footer { padding: 4px 7px 7px; background: #fff; border-top: 1px solid #F0F2F1; }
.ac-continuar-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 4px;
  background: #6B5FA6; color: #fff; border: none; border-radius: 999px;
  padding: 5px; font-size: 9px; font-weight: 600; font-family: var(--f-body); cursor: pointer;
}

/* dif vis — prontuário integrado */
/* ── prontuário diferencial: drawer sobre EvolucaoDetail ── */
.pdif-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(0,0,0,.10);
}
.pdif-scaled {
  position: absolute; top: 0; left: 0;
  width: calc(100% / 0.62); height: calc(100% / 0.62);
  transform: scale(0.62); transform-origin: top left;
  background: #F0F7F2;
  display: flex; flex-direction: column;
  font-family: var(--f-body);
}

/* ── background layer (EvolucaoDetail, dimmed) ── */
.pdif-bg-layer {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: #F0F7F2;
}

/* header */
.pdif-header {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: #fff; border-bottom: 1px solid #E8EDE9;
  flex-shrink: 0;
}
.pdif-back-btn {
  display: flex; align-items: center; gap: 4px;
  background: none; border: none; font-size: 13px; font-weight: 500; color: #5B6760;
  cursor: pointer; font-family: var(--f-body); padding: 0;
}
.pdif-h-divider { width: 1px; height: 18px; background: #E8EDE9; }
.pdif-ver-pront-btn {
  display: flex; align-items: center; gap: 5px;
  background: #EDE9F8; border: 1px solid #D3CDF0; border-radius: 8px;
  padding: 5px 10px; font-size: 12px; font-weight: 500; color: #6B5FA6;
  cursor: pointer; font-family: var(--f-body); white-space: nowrap;
}
.pdif-ver-pront-active {
  background: #6B5FA6; color: #fff; border-color: #5a4f94;
}
.pdif-session-info { display: flex; align-items: center; gap: 8px; margin-left: 4px; }
.pdif-session-date { font-size: 13px; color: #1A2420; font-weight: 500; }
.pdif-session-type {
  font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 999px;
  background: #E8F5EE; color: #2D6A4F;
}
.pdif-salvar-btn {
  background: #A8D5BA; color: #1A3D2B; border: none; border-radius: 9px;
  padding: 7px 18px; font-size: 13px; font-weight: 600; font-family: var(--f-body); cursor: pointer;
}

/* 2-col grid (fundo) */
.pdif-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 14px 20px 0;
  flex-shrink: 0;
}

/* section cards */
.pdif-section-card {
  background: #fff; border: 1px solid #E8EDE9; border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column;
}
.pdif-section-head {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px 9px;
  border-bottom: 1px solid #F0F2F1;
  color: #8A958E;
}
.pdif-section-head span {
  font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #9CA5AE; flex: 1;
}
.pdif-ia-btn {
  display: flex; align-items: center; gap: 5px;
  background: #6B5FA6; color: #fff; border: none; border-radius: 7px;
  padding: 5px 10px; font-size: 11px; font-weight: 600; font-family: var(--f-body); cursor: pointer;
  white-space: nowrap;
}
.pdif-editor {
  padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.pdif-editor-line { height: 7px; background: #E8EDE9; border-radius: 4px; }

/* ── dim overlay ── */
.pdif-dim-overlay {
  position: absolute; inset: 0;
  background: rgba(10,20,15,.28);
  z-index: 1;
}

/* ── drawer ── */
.pdif-drawer {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 58%;
  background: #fff;
  border-left: 1px solid #E8EDE9;
  box-shadow: -12px 0 40px rgba(0,0,0,.14);
  z-index: 2;
  display: flex; flex-direction: column;
}

/* drawer header */
.pdif-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #E8EDE9;
  flex-shrink: 0;
}
.pdif-drawer-pat { display: flex; align-items: center; gap: 12px; }
.pdif-drawer-av {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #A8D5BA, #4A7C59);
  color: #fff; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pdif-drawer-name { font-size: 14px; font-weight: 600; color: #1A2420; }
.pdif-drawer-meta { font-size: 11px; color: #8A958E; margin-top: 1px; }
.pdif-drawer-close {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid #E8EDE9;
  background: #F8FAF8; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #8A958E; flex-shrink: 0;
}

/* drawer tabs */
.pdif-drawer-tabs {
  display: flex; border-bottom: 1px solid #E8EDE9;
  padding: 0 18px; flex-shrink: 0;
}
.pdif-dtab {
  background: none; border: none; border-bottom: 2px solid transparent;
  padding: 10px 12px; font-size: 12px; font-weight: 500; color: #8A958E;
  cursor: pointer; font-family: var(--f-body); white-space: nowrap;
}
.pdif-dtab-active { color: #6B5FA6; border-bottom-color: #6B5FA6; }

/* drawer body: evolution list */
.pdif-drawer-body {
  flex: 1; overflow: hidden;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 8px;
}

/* evolution cards inside drawer */
.pdif-devo-card {
  background: #FAFBFA; border: 1px solid #E8EDE9; border-radius: 12px;
  padding: 12px 14px; display: flex; flex-direction: column; gap: 8px;
}
.pdif-devo-current {
  background: #F5F3FD; border-color: #D3CDF0;
}
.pdif-devo-row {
  display: flex; align-items: center; justify-content: space-between;
}
.pdif-devo-info { display: flex; flex-direction: column; gap: 2px; }
.pdif-devo-num { font-size: 12px; font-weight: 600; color: #1A2420; }
.pdif-devo-date { font-size: 11px; color: #8A958E; }
.pdif-devo-badge { font-size: 10px; font-weight: 600; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.pdif-devo-now { background: #F5F3FD; color: #6B5FA6; border: 1px solid #D3CDF0; }
.pdif-devo-done { background: #F3F4F6; color: #6B7280; }
.pdif-devo-lines { display: flex; flex-direction: column; gap: 6px; }
.pdif-devo-line { height: 6px; background: #E8EDE9; border-radius: 3px; }
.pdif-devo-current .pdif-devo-line { background: #D3CDF0; }

/* dif vis — prontuário */
.pront-window {
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: 0;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transform: rotate(.8deg);
}
.pw-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-soft);
}
.pw-pat { display: flex; gap: 12px; align-items: center; }
.pw-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-soft), var(--green-deep));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 600; font-size: 14px;
}
.pw-name { font-family: var(--f-display); font-size: 16px; font-weight: 600; color: var(--green-ink); }
.pw-meta { font-family: var(--f-mono); font-size: 11px; color: var(--ink-mute); margin-top: 2px; }
.pw-tabs { display: flex; gap: 4px; padding: 0 22px; border-bottom: 1px solid var(--line-soft); }
.pw-tabs span {
  font-family: var(--f-mono); font-size: 11px;
  padding: 12px 12px;
  color: var(--ink-mute);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  text-transform: lowercase;
}
.pw-tabs span.active { color: var(--green-deep); border-color: var(--green-deep); font-weight: 500; }
.pw-content { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.pw-label { font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-mute); text-transform: lowercase; margin-bottom: 6px; }
.pw-pill {
  display: inline-block;
  background: var(--lilac-soft);
  color: var(--lilac-deep);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
}
.pw-line { height: 8px; background: var(--bg-soft); border-radius: 4px; margin-bottom: 6px; }
.pw-line.w95 { width: 95%; } .pw-line.w90 { width: 90%; } .pw-line.w85 { width: 85%; } .pw-line.w70 { width: 70%; } .pw-line.w55 { width: 55%; }
.pw-evo { display: flex; gap: 6px; flex-wrap: wrap; }
.evo-pill {
  font-family: var(--f-mono);
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-soft);
}
.evo-pill.active { background: var(--green-soft); color: var(--green-ink); font-weight: 500; }

/* dif vis — messages */
.msg-stack { display: flex; flex-direction: column; gap: 14px; max-width: 420px; margin-left: auto; }
.msg {
  background: var(--paper);
  padding: 14px 16px;
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  border: 1px solid var(--line-soft);
}
.msg-head {
  font-family: var(--f-mono); font-size: 10.5px;
  color: var(--ink-mute);
  text-transform: lowercase;
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 8px;
}
.msg-head.right { justify-content: flex-end; }
.msg-ic { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 700; color: #fff; }
.msg-ic-wa { background: #25D366; }
.msg-ic-em { background: var(--lilac-deep); }
.msg-body { font-size: 14px; line-height: 1.5; color: var(--ink); }
.msg-body.right { text-align: right; }
.msg-actions { display: flex; gap: 8px; margin-top: 10px; }
.btnmini { font-family: var(--f-display); font-size: 12px; padding: 5px 12px; border-radius: 999px; background: var(--green-deep); color: #fff; }
.btnmini.ghost { background: transparent; color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line); }
.msg-reply { background: var(--green-soft-tint); border-color: var(--green-soft); }
.msg-email { transform: translateX(-20px); }

/* ============================================================
   FLUXO
   ============================================================ */
/* ============================================================
   DORES
   ============================================================ */
.dores { background: var(--paper); }
.dores-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.dores-left { position: sticky; top: 100px; }
.dores-left h2 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--green-ink);
  margin-top: 16px;
}
.dores-sub {
  margin-top: 20px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 400px;
}
.dores-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dor-item {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-soft);
}
.dor-item:first-child { padding-top: 0; }
.dor-item:last-child { border-bottom: none; }
.dor-accent {
  width: 3px;
  border-radius: 99px;
  flex-shrink: 0;
  align-self: stretch;
  min-height: 100%;
}
.dor-accent-green { background: var(--green-soft); }
.dor-accent-lilac { background: var(--lilac); }
.dor-text { display: flex; flex-direction: column; gap: 10px; }
.dor-quote {
  font-family: var(--f-display);
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 500;
  color: var(--green-ink);
  line-height: 1.4;
}
.dor-body {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ============================================================
   QUOTE
   ============================================================ */
.quote {
  background:
    radial-gradient(ellipse 75% 45% at 8%  18%, rgba(168,213,186,.48), transparent 55%),
    radial-gradient(ellipse 60% 40% at 88% 12%, rgba(205,180,219,.42), transparent 55%),
    radial-gradient(ellipse 55% 35% at 75% 55%, rgba(168,213,186,.32), transparent 55%),
    radial-gradient(ellipse 65% 40% at 15% 75%, rgba(205,180,219,.30), transparent 55%),
    radial-gradient(ellipse 80% 35% at 50% 95%, rgba(168,213,186,.28), transparent 60%),
    var(--bg);
  padding: clamp(80px, 12vw, 140px) clamp(20px, 5vw, 56px);
  text-align: center;
}
.quote-inner { max-width: 920px; margin: 0 auto; position: relative; }
.quote-spk {
  width: 36px; height: 36px;
  margin: 0 auto 28px;
  display: block;
  opacity: .7;
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.quote-text {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.35;
  color: var(--green-ink);
  letter-spacing: -.012em;
  text-wrap: balance;
}
.quote-text .ital { color: var(--lilac-deep); }
.modules-ital { font-style: italic; color: var(--lilac-deep); }
.quote-author {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}
.qa-av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lilac), var(--lilac-deep));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 600;
}
.qa-name { font-family: var(--f-display); font-size: 15px; font-weight: 600; color: var(--green-ink); }
.qa-sub { font-family: var(--f-mono); font-size: 11px; color: var(--ink-mute); margin-top: 2px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: var(--bg); }
.price-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.price {
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .3s, box-shadow .3s;
}
.price:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.price-head { display: flex; justify-content: space-between; align-items: center; }
.price h4 { font-family: var(--f-display); font-size: 18px; font-weight: 600; color: var(--green-ink); }
.price-tag {
  font-family: var(--f-mono); font-size: 10.5px;
  background: var(--green-soft-tint);
  color: var(--green-deep);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: lowercase;
}
.price-amount {
  font-family: var(--f-display);
  font-size: 44px;
  font-weight: 600;
  color: var(--green-ink);
  letter-spacing: -.022em;
}
.price-amount span { font-family: var(--f-body); font-size: 15px; font-weight: 400; color: var(--ink-mute); margin-left: 4px; }
.price-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.price ul { display: flex; flex-direction: column; gap: 9px; flex: 1; }
.price li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px;
  color: var(--ink);
}
.price li::before {
  content: "✓";
  color: var(--green-deep);
  font-weight: 600;
  font-size: 13px;
}
.price-feat {
  background: linear-gradient(180deg, #fff 0%, var(--green-soft-tint) 100%);
  border-color: var(--green-soft);
  position: relative;
  transform: scale(1.02);
  box-shadow: var(--sh-md);
}
.price-ribbon {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--lilac);
  color: var(--lilac-deep);
  font-family: var(--f-mono);
  font-size: 10.5px;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: lowercase;
  font-weight: 500;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-soft); }
.faq-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.faq-head h2 {
  font-family: var(--f-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: 1.06;
  color: var(--green-ink);
  margin-top: 22px;
  text-wrap: balance;
}
.faq-head .lede { margin-top: 22px; font-size: 17px; color: var(--ink-soft); line-height: 1.55; }
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  background: var(--paper);
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  padding: 18px 22px;
  transition: box-shadow .2s, background .2s;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--green-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--green-deep);
  font-size: 20px;
  font-weight: 300;
  transition: transform .3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  text-wrap: pretty;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-final {
  background: var(--green-ink);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-spk { position: absolute; will-change: transform; }
.cta-spk-1 { top: 18%; left: 12%; width: 60px; height: 60px; opacity: .7; animation: float 8s ease-in-out infinite; }
.cta-spk-2 { bottom: 22%; right: 16%; width: 80px; height: 80px; opacity: .5; animation: float 10s ease-in-out infinite -3s; }
.cta-spk-3 { top: 60%; left: 8%; width: 28px; height: 28px; opacity: .6; animation: float 7s ease-in-out infinite -1.5s; }
.cta-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.cta-final h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.04;
  text-wrap: balance;
  color: #fff;
}
.cta-final p {
  margin-top: 22px;
  font-size: 18px;
  color: rgba(255,255,255,.75);
  line-height: 1.55;
  max-width: 540px;
  margin-left: auto; margin-right: auto;
  text-wrap: pretty;
}
.cta-actions { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-final .btn-primary { background: var(--lilac); color: var(--green-ink); }
.cta-final .btn-primary:hover { background: #e6d3eb; }
.cta-final .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.cta-final .btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.cta-meta {
  margin-top: 22px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: rgba(255,255,255,.55);
  text-transform: lowercase;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  padding: 80px clamp(20px, 5vw, 56px) 40px;
  border-top: 1px solid var(--line);
}
.foot-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.foot-logo {
  display: block;
}
.foot-logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.foot-tag {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 260px;
}
.foot-h {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-mute);
  text-transform: lowercase;
  letter-spacing: .03em;
  margin-bottom: 14px;
}
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col a {
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color .15s;
}
.foot-col a:hover { color: var(--green-deep); }
.foot-bottom {
  max-width: 1240px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-mute);
  text-transform: lowercase;
}

/* ============================================================
   ICONS (inline css icons)
   ============================================================ */
.ico {
  width: 14px; height: 14px;
  display: inline-block;
  background: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  flex-shrink: 0;
}
.ico-grid { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='3' y='3' width='7' height='7' rx='1.5'/><rect x='14' y='3' width='7' height='7' rx='1.5'/><rect x='3' y='14' width='7' height='7' rx='1.5'/><rect x='14' y='14' width='7' height='7' rx='1.5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='3' y='3' width='7' height='7' rx='1.5'/><rect x='14' y='3' width='7' height='7' rx='1.5'/><rect x='3' y='14' width='7' height='7' rx='1.5'/><rect x='14' y='14' width='7' height='7' rx='1.5'/></svg>"); }
.ico-cal { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='3' y='5' width='18' height='16' rx='2'/><path d='M3 10h18M8 3v4M16 3v4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='3' y='5' width='18' height='16' rx='2'/><path d='M3 10h18M8 3v4M16 3v4'/></svg>"); }
.ico-user { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='8' r='4'/><path d='M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='8' r='4'/><path d='M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8'/></svg>"); }
.ico-file { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><path d='M14 2v6h6M8 13h8M8 17h5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><path d='M14 2v6h6M8 13h8M8 17h5'/></svg>"); }
.ico-coin { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='9'/><path d='M15 9.5C14.5 8.5 13.4 8 12 8c-1.5 0-3 .7-3 2.2 0 3 6 1.5 6 4.6 0 1.6-1.5 2.2-3 2.2-1.4 0-2.5-.5-3-1.5M12 7v2m0 6v2'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='9'/><path d='M15 9.5C14.5 8.5 13.4 8 12 8c-1.5 0-3 .7-3 2.2 0 3 6 1.5 6 4.6 0 1.6-1.5 2.2-3 2.2-1.4 0-2.5-.5-3-1.5M12 7v2m0 6v2'/></svg>"); }
.ico-bell { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9M10 21a2 2 0 0 0 4 0'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9M10 21a2 2 0 0 0 4 0'/></svg>"); }
.ico-gear { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='3'/><path d='M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1A1.7 1.7 0 0 0 4.6 9a1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1A1.7 1.7 0 0 0 9 4.6 1.7 1.7 0 0 0 10 3.1V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8 1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1Z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='3'/><path d='M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1A1.7 1.7 0 0 0 4.6 9a1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1A1.7 1.7 0 0 0 9 4.6 1.7 1.7 0 0 0 10 3.1V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8 1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1Z'/></svg>"); }
.ico-search { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.5-3.5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.5-3.5'/></svg>"); }
.ico-clock { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='9'/><path d='M12 7v5l3 2'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='9'/><path d='M12 7v5l3 2'/></svg>"); }
.ico-mon { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='2' y='4' width='20' height='12' rx='2'/><path d='M8 20h8M12 16v4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='2' y='4' width='20' height='12' rx='2'/><path d='M8 20h8M12 16v4'/></svg>"); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* mobile topbar — hidden on desktop */
.dash-topbar {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #FAFAF6;
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  z-index: 10;
}
.dash-topbar-menu {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.dash-topbar-menu:hover { background: rgba(107,95,166,.08); }
.dash-topbar-logo { height: 26px; width: auto; display: block; }
.dash-topbar-av {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #A8D5BA, #CDB4DB);
  color: #fff; display: grid; place-items: center;
  font-family: var(--f-display); font-size: 11px; font-weight: 600;
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .dash-stats { grid-template-columns: repeat(3, 1fr); }
  .dash-cols { grid-template-columns: 1fr; }
  .mod, .mod-lg { grid-column: span 6; }
  .dif-row { grid-template-columns: 1fr; gap: 48px; padding: 60px 0; }
  .dif-row.reverse .dif-copy { order: 1; }
  .dif-row.reverse .dif-vis  { order: 2; }
  .dores-inner { grid-template-columns: 1fr; }
  .dores-left { position: static; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; }
  .price-feat { transform: none; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-chip { display: none; }
  .mod-grid { grid-template-columns: repeat(12, 1fr); }
}

@media (max-width: 860px) {
  /* tablet: hide sidebar, show topbar, reduce padding */
  .dash-topbar { display: flex; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-main { padding: 20px; gap: 14px; }
  .dash-head-actions .dh-btn-ghost { display: none; }
  .dash-head-actions .dh-btn-agenda { display: none; }
  .dash-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .dash-cols { grid-template-columns: 1fr; gap: 12px; }
  .dash-head { flex-wrap: nowrap; align-items: center; }
}

@media (max-width: 700px) {
  .nav-actions .nav-link-quiet { display: none; }
  .hero { padding-top: 120px; }
  .hero-stage { padding-bottom: 80px; }
  /* mobile: compact header, 1-col stats */
  .dash-main { padding: 14px; gap: 10px; }
  .dash-greet { font-size: 15px; }
  .dash-sess-badge { font-size: 9.5px; }
  .dash-head-actions .dh-btn-agenda { display: none; }
  .dash-stats { grid-template-columns: repeat(1, 1fr); gap: 8px; }
  .stat-value { font-size: 22px; }
  .d-sess-row { padding: 8px 12px; gap: 8px; }
  .d-rem-row { padding: 8px 12px; }
  .d-fin-row { padding: 8px 12px; }
  .d-pend-row { padding: 8px 12px; }
  .d-bday-row { padding: 8px 12px; }
  .d-panel-head { padding: 10px 12px 8px; }
  .d-fin-val { width: 64px; font-size: 10px; }
  .d-fin-act-col { width: 52px; }
  .mod, .mod-lg { grid-column: span 12; min-height: 360px; }
  .mod-grid { grid-template-columns: 1fr; }
  .dores-inner { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; padding-bottom: 40px; }
  .foot-bottom { flex-direction: column; gap: 6px; }
  .strip-logos { gap: 20px; }
  .strip-logos li { font-size: 15px; }
}
