
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #101c31;
  --muted: #465771;
  --blue: #1864d6;
  --primary: #174fae;
  --primary-hover: #123f8e;
  --title-accent: #1c63cc;
  --link: #173b71;
  --line: #d8e2ee;
  --pale: #f6f8fb;
  --tint: #e1edfd;
  --on-dark: #d4e8ff;
  --on-dark-accent: #84c3ff;
  --nav-line: #6781a2;
  --white: #fff;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { background: var(--pale); color: var(--ink); font-family: 'DM Sans', sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* NAV */
nav { position: sticky; top: 0; z-index: 100; background: var(--ink); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ink); padding: 0 32px; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo {font-family: 'Pacifico', cursive; font-size: 1.5rem;}
.nav-logo span { color: var(--on-dark-accent); }
.nav-back { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-back:hover { color: var(--blue); }

.pro-nav { color: var(--white); }
.pro-nav a { color: var(--white); background: transparent; }
.pro-nav a:hover, .pro-nav a:focus-visible { background: #26374e; }
.integ-icon { color: var(--primary); }
.pac-icon { color: var(--on-dark-accent); }
:focus-visible { outline-color: var(--blue); }
.pro-nav :focus-visible { outline-color: var(--on-dark-accent); }

/* HERO */
.hero { background: var(--pale); padding: 88px 24px 80px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: transparent; pointer-events: none; }
.badge { display: inline-flex; align-items: center; gap: 7px; background: var(--tint); border: 1px solid var(--line); color: var(--link); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; margin-bottom: 28px; }
.badge-dot { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.85)} }
.hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(30px, 5vw, 52px); font-weight: 400; line-height: 1.2; color: var(--ink); max-width: 720px; margin: 0 auto 20px; }
.hero h1 em { font-style: italic; color: var(--title-accent); }
.hero > p { font-size: 16px; color: var(--muted); max-width: 560px; margin: 0 auto 40px; line-height: 1.8; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-light { background: var(--primary); color: var(--white); border: none; border-radius: 10px; padding: 13px 26px; font-size: 14px; font-weight: 600; font-family: 'DM Sans', sans-serif; cursor: pointer; text-decoration: none; transition: opacity 0.2s, transform 0.15s; display: inline-block; }
.btn-light:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--link); border: 1.5px solid #a7b9d2; border-radius: 10px; padding: 13px 26px; font-size: 14px; font-weight: 500; font-family: 'DM Sans', sans-serif; cursor: pointer; text-decoration: none; transition: border-color 0.2s, transform 0.15s; display: inline-block; }
.btn-ghost:hover { border-color: var(--primary); transform: translateY(-1px); }

/* STATS */
.stats-bar { background: var(--white); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-item { padding: 28px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'DM Serif Display', serif; font-size: 32px; color: var(--primary); display: block; margin-bottom: 4px; }
.stat-label { font-size: 12px; color: var(--muted); line-height: 1.4; }

/* SECTIONS */
.section { max-width: 920px; margin: 0 auto; padding: 64px 24px; }
.section-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.section-title { font-family: 'DM Serif Display', serif; font-size: clamp(22px, 3vw, 32px); font-weight: 400; color: var(--ink); margin-bottom: 10px; line-height: 1.25; }
.section-sub { font-size: 15px; color: var(--muted); max-width: 600px; margin-bottom: 40px; line-height: 1.75; }
hr.div { border: none; border-top: 1px solid var(--line); }

/* INTEGRAÇÃO CARDS */
.integ-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.integ-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 26px; transition: transform 0.2s, box-shadow 0.2s; position: relative; overflow: hidden; }
.integ-card:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.06); }
.integ-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--on-dark-accent)); opacity: 0; transition: opacity 0.2s; }
.integ-card:hover::after { opacity: 1; }
.integ-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.integ-card h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; line-height: 1.35; }
.integ-card p  { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* PACIENTE SECTION */
.paciente-section { background: var(--ink); padding: 72px 24px; position: relative; overflow: hidden; }
.paciente-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 50%, rgba(24,100,214,0.2) 0%, transparent 55%); pointer-events: none; }
.paciente-inner { max-width: 920px; margin: 0 auto; }
.paciente-section .section-eyebrow { color: var(--on-dark-accent); }
.paciente-section .section-title { color: #fff; }
.paciente-section .section-sub { color: var(--on-dark); max-width: 580px; margin-bottom: 48px; }
.paciente-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.pac-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 22px; transition: background 0.2s; }
.pac-card:hover { background: rgba(255,255,255,0.1); }
.pac-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(132,195,255,0.15); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.pac-card h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 6px; line-height: 1.35; }
.pac-card p  { font-size: 13px; color: var(--on-dark); line-height: 1.6; }
.pac-tag { display: inline-block; background: rgba(132,195,255,0.15); color: var(--on-dark-accent); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 100px; margin-top: 10px; }

/* FLOW */
.flow-section { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.flow-inner { max-width: 920px; margin: 0 auto; padding: 64px 24px; }
.flow-steps { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.flow-steps::before { content: ''; position: absolute; top: 28px; left: calc(16.6% + 14px); right: calc(16.6% + 14px); height: 1px; background: var(--line); }
.fstep { padding: 0 16px; text-align: center; }
.fstep-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--tint); border: 2px solid var(--blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; position: relative; z-index: 1; font-size: 12px; font-weight: 700; color: var(--primary); }
.fstep-moment { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.fstep h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; line-height: 1.3; }
.fstep p  { font-size: 12px; color: var(--muted); line-height: 1.55; }

/* PAINEL */
.painel-header { background: linear-gradient(160deg, var(--ink) 0%, var(--link) 100%); padding: 72px 24px 60px; text-align: center; position: relative; overflow: hidden; }
.painel-header::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 100%, rgba(132,195,255,0.1) 0%, transparent 55%); pointer-events: none; }
.painel-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(132,195,255,0.1); border: 1px solid rgba(132,195,255,0.25); color: var(--on-dark-accent); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; margin-bottom: 24px; }
.painel-header h2 { font-family: 'DM Serif Display', serif; font-size: clamp(24px, 4vw, 40px); font-weight: 400; color: #fff; margin-bottom: 16px; line-height: 1.2; }
.painel-header h2 em { font-style: italic; color: var(--on-dark-accent); }
.painel-header > p { font-size: 15px; color: var(--on-dark); max-width: 520px; margin: 0 auto 28px; line-height: 1.8; }
.pro-banner { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.8); font-size: 13px; padding: 10px 20px; border-radius: 10px; }

.painel-section { max-width: 920px; margin: 0 auto; padding: 56px 24px; }
.pc-card-wide { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 32px; margin-bottom: 20px; border-left: 4px solid var(--blue); }
.pc-wide-tag { font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.pc-card-wide h3 { font-family: 'DM Serif Display', serif; font-size: 22px; font-weight: 400; color: var(--ink); margin-bottom: 12px; }
.pc-card-wide p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.pc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 48px; }
.pc-grid-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px; transition: transform 0.2s, box-shadow 0.2s; }
.pc-grid-card:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.06); }
.pc-card-emoji { font-size: 22px; margin-bottom: 12px; }
.pc-card-title { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.pc-card-text  { font-size: 13px; color: var(--muted); line-height: 1.6; }
.pc-section-label { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pc-features { display: flex; flex-direction: column; gap: 0; margin-bottom: 40px; }
.pc-feature-item { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pc-feature-item:last-child { border-bottom: none; }
.pc-feature-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); margin-top: 5px; flex-shrink: 0; }
.pc-feature-content { flex: 1; }
.pc-feature-content strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.pc-feature-content span { font-size: 13px; color: var(--muted); line-height: 1.6; display: block; margin-bottom: 8px; }
.pc-flow-tag { display: inline-block; background: var(--tint); color: var(--primary); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 100px; }
.access-note { display: flex; align-items: flex-start; gap: 12px; background: var(--pale); border: 1px solid var(--tint); border-radius: 12px; padding: 18px 22px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.access-note svg { flex-shrink: 0; margin-top: 2px; color: var(--blue); }
.access-note a { color: var(--primary); font-weight: 600; }

/* QUOTE */
.quote-wrap { max-width: 920px; margin: 0 auto; padding: 0 24px 64px; }
.quote { background: var(--pale); border: 1px solid var(--tint); border-left: 4px solid var(--blue); border-radius: 0 14px 14px 0; padding: 28px 32px; }
.quote p { font-family: 'DM Serif Display', serif; font-style: italic; font-size: 19px; color: var(--ink); line-height: 1.6; margin-bottom: 12px; }
.quote-author { font-size: 12px; color: var(--muted); }

/* CTA */
.cta-section { background: var(--ink); padding: 72px 24px; text-align: center; }
.cta-section h2 { font-family: 'DM Serif Display', serif; font-size: clamp(24px, 3.5vw, 36px); font-weight: 400; color: #fff; margin-bottom: 12px; line-height: 1.25; }
.cta-section p { font-size: 15px; color: var(--on-dark); max-width: 480px; margin: 0 auto 36px; line-height: 1.75; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-cta-p { background: #fff; color: var(--primary); border: none; border-radius: 10px; padding: 14px 30px; font-size: 14px; font-weight: 600; font-family: 'DM Sans', sans-serif; cursor: pointer; text-decoration: none; transition: opacity 0.2s, transform 0.15s; display: inline-block; }
.btn-cta-p:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-cta-s { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); border-radius: 10px; padding: 14px 30px; font-size: 14px; font-weight: 500; font-family: 'DM Sans', sans-serif; cursor: pointer; text-decoration: none; transition: border-color 0.2s, transform 0.15s; display: inline-block; }
.btn-cta-s:hover { border-color: rgba(255,255,255,0.8); transform: translateY(-1px); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 640px) {
  nav { padding: 0 16px; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--line); }
  .stat-item:last-child { border-bottom: none; }
  .flow-steps { grid-template-columns: 1fr; gap: 32px; }
  .flow-steps::before { display: none; }
}

@media (max-width: 720px) {
  .pro-nav {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    height: auto;
    padding: 6px 10px;
  }

  .pro-nav > div {
    justify-content: center;
    flex-wrap: wrap;
  }

  .pro-nav ~ section[id] {
    scroll-margin-top: 104px;
  }
}

@media (max-width: 360px) {
  .pro-nav > div:first-child > span {
    display: none;
  }
}
