:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --text: #1f2a2b;
  --muted: #5d6868;
  --border: #e2e0da;
  --primary: #3f6f6a;
  --primary-dark: #2f5551;
  --primary-soft: #e3eeec;
  --accent: #bfe0d9;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 42, 43, 0.08);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); }
img { display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }
a { color: var(--primary); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ------------------------------------------------------------ botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.6rem 1.1rem; border-radius: 10px; border: 2px solid var(--primary);
  background: var(--primary); color: #fff; font-weight: 700; text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--primary); }
.btn.ghost:hover { background: var(--primary-soft); }
.btn.big { padding: 0.85rem 1.5rem; font-size: 1.05rem; }
.btn.block { width: 100%; }
.btn.light { background: #fff; color: var(--primary); border-color: #fff; }
.btn.light:hover { background: var(--primary-soft); }

/* ------------------------------------------------------------ cabeçalho */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 245, 242, 0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--text); font-size: 1.25rem; }
.logo strong { color: var(--primary); }
.logo.small { font-size: 1.05rem; }
.nav { display: flex; gap: 1.5rem; margin-left: 1rem; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--text); }
.header-actions { margin-left: auto; display: flex; gap: 0.5rem; }

/* ------------------------------------------------------------ hero */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--primary); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); letter-spacing: -0.02em; }
.hero h1 span { color: var(--primary); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36rem; }
.cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.75rem 0 1.25rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; color: var(--muted); font-size: 0.95rem; }
.hero-points li::before { content: '✓ '; color: var(--primary); font-weight: 800; }

/* celular ilustrativo */
.phone {
  justify-self: center; width: 280px; aspect-ratio: 9 / 18.5; border-radius: 38px; padding: 12px;
  background: #1f2a2b; box-shadow: var(--shadow), 0 30px 60px rgba(63, 111, 106, 0.25);
}
.phone-screen {
  height: 100%; border-radius: 28px; background: var(--bg); overflow: hidden;
  display: flex; flex-direction: column; font-size: 0.8rem;
}
.ph-top { background: #fff; padding: 22px 14px 10px; font-weight: 800; color: var(--primary); border-bottom: 1px solid var(--border); }
.ph-title { padding: 12px 14px 6px; font-weight: 800; font-size: 1rem; }
.ph-card {
  margin: 6px 12px; padding: 10px 12px; background: #fff; border: 1px solid var(--border); border-radius: 12px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center;
}
.tag { font-style: normal; font-size: 0.68rem; padding: 2px 8px; border-radius: 99px; border: 1px solid; }
.tag.ok { color: var(--primary); border-color: var(--primary); }
.tag.video { color: #7a5b00; border-color: #d9b44a; background: #fff8e1; }
.ph-note { margin: 10px 12px; padding: 10px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-dark); font-weight: 600; }
.ph-tabs { margin-top: auto; display: flex; justify-content: space-around; background: #fff; border-top: 1px solid var(--border); padding: 10px 4px 16px; }
.ph-tabs i { font-style: normal; font-size: 0.62rem; color: var(--muted); }
.ph-tabs i.on { color: var(--primary); font-weight: 800; }

/* ------------------------------------------------------------ seções */
.section { padding: 72px 0; }
.section.soft { background: var(--primary-soft); }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 42rem; margin-bottom: 2rem; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feature .ico { font-size: 1.6rem; margin-bottom: 0.5rem; }
.feature p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.pill {
  display: inline-block; vertical-align: middle; font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; padding: 2px 8px; border-radius: 99px; background: var(--primary); color: #fff;
}

.security { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { background: #fff; border-radius: var(--radius); padding: 16px 18px 16px 48px; position: relative; color: var(--muted); }
.checks li::before {
  content: '✓'; position: absolute; left: 16px; top: 15px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 0.8rem; display: grid; place-items: center;
}
.checks strong { color: var(--text); }

/* ------------------------------------------------------------ planos */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 24px; justify-content: center; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 32px 28px; display: flex; flex-direction: column;
}
.plan.featured { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); margin: 0;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 0.8rem; padding: 4px 14px; border-radius: 99px;
}
.plan h3 { font-size: 1.4rem; margin-bottom: 0.25rem; }
.plan-for { color: var(--muted); margin-bottom: 1rem; }
.price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 1.25rem; }
.price .cur { font-weight: 700; color: var(--muted); }
.price .val { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.02em; }
.price .per { color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 28px; position: relative; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.fine { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 1.5rem; }

.patients { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.patients .section-lead { margin-bottom: 0; }

/* ------------------------------------------------------------ dúvidas */
details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--primary); }
details[open] summary::after { content: '–'; }
details p { color: var(--muted); }

.final { background: var(--primary); color: #fff; text-align: center; padding: 64px 0; }
.final h2 { color: #fff; margin-bottom: 1.5rem; }

/* ------------------------------------------------------------ rodapé */
.footer { padding: 40px 0 24px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--primary); }
.legal { font-size: 0.85rem; margin-top: 24px; }

/* ------------------------------------------------------------ responsivo */
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .security { grid-template-columns: 1fr; }
  .phone { width: 240px; }
  .nav { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 40px 0; }
  .features { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  /* no celular os dois botões continuam visíveis: quem já é cliente precisa achar "Entrar" */
  .header-inner { gap: 0.75rem; }
  .logo { font-size: 1.1rem; }
  .header-actions .btn { padding: 0.45rem 0.75rem; font-size: 0.9rem; }
  .section { padding: 56px 0; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
}
