/* ICMED landing v2 — relies on colors_and_type.css for tokens */

/* --- Reset & base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: var(--lh-normal);
  color: var(--fg-secondary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
[data-lucide] { stroke-width: 1.75; }

/* --- Reveal on scroll ------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms cubic-bezier(0.4,0,0.2,1), transform 700ms cubic-bezier(0.4,0,0.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 600ms cubic-bezier(0.4,0,0.2,1), transform 600ms cubic-bezier(0.4,0,0.2,1); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 560ms; }

/* --- Layout ----------------------------------------------------------- */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 880px; }
.section { padding: var(--space-4xl) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--blue-dark); color: white; }

.section__head { max-width: 820px; margin: 0 auto var(--space-2xl); }
.section__head--center { text-align: center; }
.section__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 16px 0 0;
  text-wrap: balance;
}
.section__lede {
  font-size: 18px; line-height: 1.6; color: var(--fg-secondary);
  margin: 20px 0 0;
}
.section--dark .section__title { color: white; }
.section--dark .section__lede { color: rgba(255,255,255,0.78); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: ""; display: inline-block;
  width: 28px; height: 1px;
  background: var(--green);
}
.eyebrow--num::before { display: none; }
.eyebrow--num .num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: var(--green);
  letter-spacing: 0;
}
.eyebrow--alt { color: rgba(255,255,255,0.85); }
.eyebrow--alt::before { background: rgba(255,255,255,0.5); }
.eyebrow--alt .num { color: var(--green-light); }
.eyebrow--center { justify-content: center; }

.grad {
  font-style: normal;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.grad-on-dark {
  background: linear-gradient(135deg, #5BC9A0 0%, #45B58B 50%, #4A7BC8 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* --- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  border-radius: 12px; padding: 13px 22px;
  transition: all var(--t-base);
  white-space: nowrap;
  position: relative;
}
.btn [data-lucide] { width: 16px; height: 16px; transition: transform var(--t-base); }
.btn:hover [data-lucide] { transform: translateX(3px); }
.btn--lg { font-size: 16px; padding: 17px 30px; border-radius: 14px; }
.btn--lg [data-lucide] { width: 18px; height: 18px; }
.btn--xl { font-size: 17px; padding: 20px 36px; border-radius: 16px; }
.btn--xl [data-lucide] { width: 20px; height: 20px; }
.btn--primary {
  background: var(--gradient-primary); color: white;
  box-shadow: var(--shadow-md), var(--shadow-glow-green);
}
.btn--primary:hover { background: var(--gradient-primary-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg), 0 0 40px rgba(69,181,139,0.3); }
.btn--primary:active { transform: translateY(0); }
.btn--secondary {
  background: white; color: var(--fg);
  border: 1px solid var(--border);
}
.btn--secondary:hover { border-color: var(--border-hover); color: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--fg); padding: 9px 14px; }
.btn--ghost:hover { color: var(--green-dark); background: var(--bg-alt); }
.btn--white { background: white; color: var(--blue-dark); box-shadow: var(--shadow-md); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* --- Top bar (urgency) ------------------------------------------------ */
.topbar {
  background: var(--blue-dark);
  color: white;
  font-size: 13px;
  padding: 10px 0;
  position: relative;
  z-index: 51;
  overflow: hidden;
}
.topbar__inner {
  max-width: var(--container-max); margin: 0 auto; padding: 0 32px;
  display: flex; justify-content: center; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.topbar__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(69,181,139,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(69,181,139,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(69,181,139,0); }
  100% { box-shadow: 0 0 0 0 rgba(69,181,139,0); }
}
.topbar__label { color: rgba(255,255,255,0.75); }
.topbar__strong { color: white; font-weight: 600; }
.topbar__divider { color: rgba(255,255,255,0.3); }

/* --- Header ----------------------------------------------------------- */
.icmed-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.icmed-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.icmed-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  height: 72px;
  padding: 0 32px;
  display: flex; align-items: center; gap: 32px;
}
.icmed-header__logo img { height: 26px; width: auto; }
.icmed-header__nav { display: flex; gap: 24px; flex: 1; justify-content: center; }
.icmed-header__nav a {
  font-size: 14px; font-weight: 500; color: var(--fg-secondary);
  transition: color var(--t-fast);
  position: relative;
}
.icmed-header__nav a:hover { color: var(--green-dark); }
.icmed-header__nav a::after {
  content: ""; position: absolute; bottom: -6px; left: 0; right: 100%;
  height: 1.5px; background: var(--green);
  transition: right var(--t-base);
}
.icmed-header__nav a:hover::after { right: 0; }
.icmed-header__cta { display: flex; gap: 8px; align-items: center; }

/* --- Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: 64px;
  padding-bottom: 40px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 90% 0%, rgba(69,181,139,0.12) 0%, rgba(45,90,160,0.06) 40%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(45,90,160,0.06) 0%, transparent 60%),
    var(--bg);
  pointer-events: none;
  z-index: 0;
}
.hero__bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(45,90,160,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,90,160,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero__copy { max-width: 640px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 9999px;
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-secondary);
  margin-bottom: 24px;
}
.hero__badge-pill {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gradient-primary);
  color: white;
  padding: 3px 9px;
  border-radius: 9999px;
}
.hero__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin: 0 0 20px;
  text-wrap: balance;
}
.hero__title em { font-style: normal; }
.hero__sub {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.4;
  color: var(--fg-muted);
  margin: 0 0 28px;
  text-wrap: balance;
  max-width: 520px;
}
.hero__divider {
  width: 56px; height: 2px;
  background: var(--gradient-primary);
  margin: 28px 0;
  border-radius: 2px;
}
.hero__answer {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 0 0 32px;
  text-wrap: balance;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__cta-meta {
  font-size: 13px; color: var(--fg-muted);
  display: inline-flex; align-items: center; gap: 6px;
}
.hero__cta-meta [data-lucide] { width: 14px; height: 14px; color: var(--green); }

/* Hero visual — animated dashboard mockup */
.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 600px;
}
.hero__device {
  position: absolute;
  inset: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(69,181,139,0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero__device-bar {
  height: 36px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 6px;
  padding: 0 14px;
}
.hero__device-bar-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--fg-disabled); }
.hero__device-bar-dot:nth-child(1) { background: #ef4444aa; }
.hero__device-bar-dot:nth-child(2) { background: #f59e0baa; }
.hero__device-bar-dot:nth-child(3) { background: #10b981aa; }
.hero__device-bar-title {
  margin-left: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.hero__device-body {
  flex: 1;
  padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
  background:
    linear-gradient(180deg, white 0%, var(--bg-alt) 100%);
}
.hero__metric {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.hero__metric-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.hero__metric-row { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.hero__metric-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--blue-dark);
}
.hero__metric-delta {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  display: inline-flex; align-items: center; gap: 3px;
}
.hero__metric-bar {
  margin-top: 10px;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-tertiary);
  overflow: hidden;
}
.hero__metric-bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
  width: 0;
  animation: barfill 1.6s 0.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hero__metric-bar-fill--82 { animation-name: barfill82; }
.hero__metric-bar-fill--67 { animation-name: barfill67; }
@keyframes barfill { from { width: 0; } to { width: 91%; } }
@keyframes barfill82 { from { width: 0; } to { width: 82%; } }
@keyframes barfill67 { from { width: 0; } to { width: 67%; } }

.hero__chart {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  flex: 1;
  display: flex; flex-direction: column;
}
.hero__chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.hero__chart-svg { flex: 1; min-height: 0; }
.hero__chart-svg svg { width: 100%; height: 100%; }
.hero__chart .ln { stroke: var(--blue); stroke-width: 2.5; fill: none; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2s 0.6s cubic-bezier(0.4,0,0.2,1) forwards; }
.hero__chart .area { fill: url(#heroFill); opacity: 0; animation: fadein 0.8s 1.6s forwards; }
.hero__chart .dot { fill: var(--green); stroke: white; stroke-width: 2; opacity: 0; animation: pop 0.4s 2.2s cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(0); transform-origin: 360px 28px; } to { opacity: 1; transform: scale(1); } }

.hero__pill {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  animation: float 6s ease-in-out infinite;
}
.hero__pill--alert {
  top: 16%; left: -16px;
  animation-delay: -2s;
}
.hero__pill--ok {
  bottom: 12%; right: -20px;
  animation-delay: -4s;
}
.hero__pill-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(69,181,139,0.12); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
}
.hero__pill-icon [data-lucide] { width: 14px; height: 14px; }
.hero__pill--alert .hero__pill-icon { background: rgba(239,68,68,0.10); color: #ef4444; }
.hero__pill-text strong { display: block; color: var(--fg); font-weight: 600; }
.hero__pill-text span { color: var(--fg-muted); font-size: 11.5px; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* --- Marquee ---------------------------------------------------------- */
.marquee {
  background: var(--blue-dark);
  color: white;
  padding: 22px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.marquee__track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  letter-spacing: -0.01em;
}
.marquee__item { display: inline-flex; align-items: center; gap: 56px; }
.marquee__item::after {
  content: "·";
  color: var(--green);
  font-style: normal;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Recognition (Block 2) -------------------------------------------- */
.recog {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.recog__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.recog__item {
  position: relative;
  padding: 22px 28px 22px 56px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--fg);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-base);
  cursor: pointer;
  user-select: none;
}
.recog__item:nth-child(odd) { border-right: 1px solid var(--border); }
.recog__item:nth-last-child(-n+2) { border-bottom: none; }
.recog__item::before {
  content: "";
  position: absolute;
  left: 24px; top: 26px;
  width: 16px; height: 16px;
  border: 1.5px solid var(--fg-disabled);
  border-radius: 4px;
  background: white;
  transition: all var(--t-base);
}
.recog__item::after {
  content: "";
  position: absolute;
  left: 28px; top: 32px;
  width: 8px; height: 4px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
  transition: transform var(--t-base);
}
.recog__item:hover { background: var(--bg-alt); }
.recog__item.checked::before {
  border-color: var(--green);
  background: var(--green);
}
.recog__item.checked::after { transform: rotate(-45deg) scale(1); }
.recog__item.checked { color: var(--fg-muted); }
.recog__item strong {
  color: var(--blue-dark);
  font-weight: 600;
  transition: color var(--t-base);
}
.recog__item.checked strong { color: var(--fg-muted); }

.recog__counter {
  text-align: center;
  margin-top: 36px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 19px;
  color: var(--fg);
}
.recog__counter strong {
  font-style: normal;
  font-weight: 700;
  color: var(--green-dark);
}
.recog__counter--done {
  font-size: 22px;
  color: var(--blue-dark);
}

/* --- Diagnosis (Block 3) ---------------------------------------------- */
.diag {
  background: var(--blue-dark);
  color: white;
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}
.diag::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 10% 100%, rgba(69,181,139,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(74,123,200,0.22) 0%, transparent 60%);
  pointer-events: none;
}
.diag__inner { position: relative; max-width: 920px; margin: 0 auto; }
.diag__verdict {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 24px 0 36px;
  text-wrap: balance;
}
.diag__verdict .strike {
  position: relative;
  color: rgba(255,255,255,0.55);
  display: inline-block;
}
.diag__verdict .strike::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  top: 52%;
  height: 3px;
  background: var(--green);
  transform: rotate(-3deg);
  transform-origin: left center;
  animation: strikein 0.6s cubic-bezier(0.4,0,0.2,1) both;
}
.diag.in .diag__verdict .strike:nth-of-type(1)::after { animation-delay: 0.3s; }
.diag.in .diag__verdict .strike:nth-of-type(2)::after { animation-delay: 0.6s; }
.diag .diag__verdict .strike::after { transform: rotate(-3deg) scaleX(0); }
.diag.in .diag__verdict .strike::after { animation: strikein 0.6s cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes strikein {
  from { transform: rotate(-3deg) scaleX(0); }
  to   { transform: rotate(-3deg) scaleX(1); }
}
.diag__verdict .truth {
  display: block;
  color: white;
  margin-top: 12px;
}
.diag__body {
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin: 0 0 20px;
  max-width: 760px;
}
.diag__body strong { color: white; font-weight: 600; }
.diag__roles {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.diag__role {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid rgba(69,181,139,0.4);
}
.diag__role h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--green-light);
  margin: 0 0 10px;
}
.diag__role p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
}

/* --- Compare (NEW — sem ICMED vs com ICMED) --------------------------- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
}
.compare {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 32px;
  display: flex; flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.compare--bad { background: var(--bg-alt); }
.compare--good {
  background: white;
  border-color: rgba(69,181,139,0.3);
  box-shadow: var(--shadow-md), 0 0 40px rgba(69,181,139,0.10);
}
.compare--good::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 24px 24px 0 0;
}
.compare__head { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.compare__tag {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 8px;
}
.compare--good .compare__tag { color: var(--green-dark); }
.compare__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0;
}
.compare__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  flex: 1;
}
.compare__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.compare__row:last-child { border-bottom: none; }
.compare__row-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.compare__row-value {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-align: right;
}
.compare--good .compare__row-value { color: var(--blue-dark); font-weight: 700; }
.compare--bad .compare__row-value { color: var(--fg); }

.compare__vs {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--fg-muted);
  letter-spacing: -0.02em;
  width: 64px;
}
.compare__vs span {
  width: 64px; height: 64px; border-radius: 50%;
  background: white;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.compare-foot {
  margin-top: 36px;
  text-align: center;
}
.compare-foot p {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.3;
  color: var(--fg);
  margin: 0;
  text-wrap: balance;
}
.compare-foot p .grad { font-style: normal; }

/* --- Stats row -------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.stats::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; height: 2px;
  background: var(--gradient-primary);
}
.stat {
  padding: 32px 24px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat__n {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--blue-dark);
}
.stat__n .unit { color: var(--green); }
.stat__d {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  margin-top: 10px;
  text-transform: uppercase;
}
.stats-foot {
  margin-top: 32px;
  text-align: center;
  font-size: 15px;
  color: var(--fg-secondary);
  max-width: 720px;
  margin-left: auto; margin-right: auto;
  line-height: 1.6;
}

/* --- Leaks (Block 4) -------------------------------------------------- */
.leaks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.leak {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px 32px;
  position: relative;
  transition: all var(--t-base);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.leak::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 0;
  background: var(--gradient-primary);
  transition: height var(--t-base);
}
.leak:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(69,181,139,0.3);
}
.leak:hover::before { height: 3px; }
.leak__num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--green-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 12px;
}
.leak__num-big {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--gradient-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.leak__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 0 0 18px;
}
.leak__symptoms {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.leak__symptoms li {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--fg-secondary);
  padding-left: 18px;
  position: relative;
}
.leak__symptoms li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 1px;
  background: var(--fg-muted);
}
.leak__cost {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.leak__cost strong {
  display: block;
  color: var(--blue-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-transform: none;
  margin-top: 4px;
}

/* --- Patient cycle timeline (NEW) ------------------------------------- */
.cycle {
  position: relative;
  padding: 24px 0 0;
}
.cycle__line {
  position: absolute;
  top: 50px;
  left: 5%; right: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 8%, var(--border) 92%, transparent 100%);
  z-index: 0;
}
.cycle__line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  width: var(--progress, 0%);
  transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
}
.cycle__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.cycle__step { text-align: center; padding: 0 12px; }
.cycle__dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--fg-disabled);
  margin: 42px auto 24px;
  position: relative;
  transition: all var(--t-base);
}
.cycle__step--active .cycle__dot {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(69,181,139,0.2);
}
.cycle__step--active .cycle__dot::after {
  content: "Você está aqui";
  position: absolute;
  left: 50%; top: -32px;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-dark);
  white-space: nowrap;
  background: white;
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(69,181,139,0.3);
}
.cycle__step h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.cycle__step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0;
}

/* --- Different (Block 5) ---------------------------------------------- */
.diff__intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
.diff__intro-claim {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 0;
  text-wrap: balance;
}
.diff__intro-note {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-secondary);
  margin: 0;
}

.steps3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.steps3::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--gradient-primary);
}
.step3 {
  padding: 40px 36px;
  position: relative;
  display: flex; flex-direction: column;
  border-right: 1px solid var(--border);
  transition: background var(--t-base);
}
.step3:last-child { border-right: none; }
.step3:hover { background: var(--bg-alt); }
.step3__when {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 4px;
}
.step3__phase {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.step3__num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: white;
  background: var(--gradient-primary);
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  letter-spacing: 0;
}
.step3__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0 0 14px;
}
.step3__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-secondary);
  margin: 0;
  flex: 1;
}
.step3__body strong { color: var(--fg); font-weight: 600; }

.diff__close {
  margin-top: 56px;
  padding: 44px 48px;
  background: var(--gradient-subtle);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-wrap: balance;
  position: relative;
  overflow: hidden;
}
.diff__close::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  top: -150px; right: -100px;
  background: radial-gradient(circle, rgba(69,181,139,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.diff__close .grad { font-style: normal; }

/* --- Audience (Funciona / Não funciona) ------------------------------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience__col {
  background: white; border-radius: 20px; border: 1px solid var(--border);
  padding: 36px 32px;
  transition: box-shadow var(--t-base);
}
.audience__col:hover { box-shadow: var(--shadow-md); }
.audience__col--yes { border-color: rgba(69,181,139,0.25); }
.audience__head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.audience__head h3 {
  font-family: var(--font-heading); font-weight: 600; font-size: 22px;
  margin: 0; color: var(--fg); letter-spacing: -0.01em;
}
.audience__icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.audience__col--yes .audience__icon { background: rgba(69,181,139,0.12); color: var(--green-dark); }
.audience__col--no  .audience__icon { background: var(--bg-tertiary); color: var(--fg-muted); }
.audience__icon [data-lucide] { width: 18px; height: 18px; }
.audience ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.audience li {
  position: relative; padding-left: 28px;
  font-size: 15.5px; line-height: 1.5; color: var(--fg-secondary);
}
.audience li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
}
.audience__col--yes li::before {
  background: rgba(69,181,139,0.15);
  background-image: linear-gradient(135deg, transparent 35%, var(--green) 35% 65%, transparent 65%),
                    linear-gradient(45deg, transparent 35%, var(--green) 35% 65%, transparent 65%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.audience__col--no li::before {
  background: var(--bg-tertiary);
  background-image: linear-gradient(45deg, transparent 45%, var(--fg-muted) 45% 55%, transparent 55%),
                    linear-gradient(-45deg, transparent 45%, var(--fg-muted) 45% 55%, transparent 55%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* --- Proof (Block 6) -------------------------------------------------- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.quote {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  margin: 0;
  display: flex; flex-direction: column; gap: 24px; justify-content: space-between;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
.quote:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(69,181,139,0.25); }
.quote__mark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 64px;
  line-height: 0.6;
  color: var(--green);
  height: 24px;
}
.quote blockquote {
  font-family: var(--font-heading);
  font-weight: 500;
  font-style: normal;
  font-size: 17.5px;
  line-height: 1.45;
  color: var(--fg);
  margin: 0;
  flex: 1;
}
.quote blockquote .pull {
  display: block;
  font-weight: 700;
  color: var(--blue-dark);
  font-size: 26px;
  letter-spacing: -0.015em;
  margin: 4px 0;
}
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient-primary); color: white;
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.quote__name { font-weight: 600; font-size: 14.5px; color: var(--fg); }
.quote__meta { font-size: 13px; color: var(--fg-muted); }

.quote--placeholder {
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(45,90,160,0.04) 14px 15px),
    var(--gradient-subtle);
  border-style: dashed;
}
.quote--placeholder blockquote {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  font-style: normal;
  color: var(--fg-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.6;
}

.dashboard-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.dashboard-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; height: 2px;
  background: var(--gradient-primary);
}
.dashboard-card__copy h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 0 0 12px;
}
.dashboard-card__copy p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0;
}
.dashboard-card__chart {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(45,90,160,0.04) 14px 15px),
    var(--gradient-subtle);
  border-radius: 14px;
  border: 1px dashed var(--border);
  padding: 20px;
}
.dashboard-card__chart-label {
  position: absolute;
  top: 16px; left: 20px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.dashboard-card__chart svg { width: 100%; height: 100%; }

/* --- CTA Final (Block 7) ---------------------------------------------- */
.cta-final {
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before, .cta-final::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-final::before {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 60%);
  top: -240px; right: -120px;
}
.cta-final::after {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(30,58,138,0.5) 0%, transparent 60%);
  bottom: -180px; left: -80px;
}
.cta-final__inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.cta-final h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: white;
  margin: 16px 0 24px;
  text-wrap: balance;
}
.cta-final p {
  font-size: 18px; line-height: 1.65;
  color: rgba(255,255,255,0.9);
  max-width: 640px; margin: 0 auto 36px;
}
.cta-final__btn-wrap { margin-bottom: 28px; }
.cta-final__fineprint {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.18);
  text-align: left;
}
.cta-final__fineprint > div h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin: 0 0 6px;
}
.cta-final__fineprint > div p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: white;
}

/* --- Footer ----------------------------------------------------------- */
.footer { background: var(--blue-dark); color: rgba(255,255,255,0.75); padding: 56px 0 0; }
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px;
}
.footer__brand img { height: 26px; margin-bottom: 16px; }
.footer__brand p { font-size: 14px; line-height: 1.6; max-width: 360px; color: rgba(255,255,255,0.7); margin: 0; }
.footer__col h4 {
  font-family: var(--font-body); font-weight: 600; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: white; margin: 0 0 16px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a, .footer__col span { font-size: 14px; color: rgba(255,255,255,0.7); transition: color var(--t-fast); }
.footer__col a:hover { color: white; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer__bottom-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: 13px; color: rgba(255,255,255,0.55);
}

/* --- Responsive ------------------------------------------------------- */
@media (max-width: 980px) {
  .icmed-header__nav { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { width: 100%; max-width: 480px; margin: 0 auto; aspect-ratio: 4 / 5; }
  .recog__list { grid-template-columns: 1fr; }
  .recog__item:nth-child(odd) { border-right: none; }
  .recog__item:nth-last-child(2) { border-bottom: 1px solid var(--border); }
  .compare-grid { grid-template-columns: 1fr; }
  .compare__vs { width: auto; transform: rotate(90deg); margin: 8px auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .leaks { grid-template-columns: 1fr; }
  .cycle__steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cycle__line { display: none; }
  .steps3 { grid-template-columns: 1fr; }
  .step3 { border-right: none; border-bottom: 1px solid var(--border); }
  .step3:last-child { border-bottom: none; }
  .diff__intro { grid-template-columns: 1fr; gap: 24px; }
  .audience { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .dashboard-card { grid-template-columns: 1fr; padding: 28px; }
  .diag__roles { grid-template-columns: 1fr; gap: 24px; }
  .cta-final__fineprint { grid-template-columns: 1fr; gap: 20px; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .hero { padding-top: 32px; }
  .recog__item { padding: 18px 18px 18px 48px; }
  .recog__item::before { left: 18px; }
  .recog__item::after { left: 22px; }
  .leak { padding: 28px 24px; }
  .step3 { padding: 32px 28px; }
  .compare { padding: 28px 24px; }
  .dashboard-card { padding: 24px; }
  .diff__close { padding: 28px 24px; }
  .topbar { font-size: 12px; }
  .topbar__inner { gap: 10px; }
  .topbar__divider { display: none; }
}
