/* PayPrev — Telemedicina | estilos globais */
:root {
  --navy: #0F2B49;
  --navy-2: #163C67;
  --blue: #1B4A7E;
  --blue-600: #163C67;
  --blue-50: #EAF0F7;
  --mint: #9AB152;
  --mint-50: #F1F5E4;
  --ink: #0F2B49;
  --muted: #5B6785;
  --line: #E3E8F2;
  --bg: #F6F8FC;
  --white: #FFFFFF;
  --danger: #E5484D;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15,43,73,.06), 0 12px 32px -12px rgba(15,43,73,.18);
  --shadow-lg: 0 30px 80px -24px rgba(15,43,73,.35);
  --container: 1180px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--white);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
svg.i { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; }
p { margin: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 16px/1 var(--font); transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(27,74,126,.8); }
.btn-primary:hover { background: var(--blue-600); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-mint { background: var(--mint); color: var(--navy); }
.btn-mint:hover { filter: brightness(1.05); }
.btn-lg { padding: 18px 32px; font-size: 17px; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--blue-50); color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(154,177,82,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(154,177,82,0); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.header.scrolled { border-bottom-color: var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo img { height: 36px; width: auto; }
.nav { display: flex; gap: 32px; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a { white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 12px 20px; font-size: 15px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 96px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 820px; height: 820px; border-radius: 50%;
  background: radial-gradient(circle, rgba(27,74,126,.14), transparent 62%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: -200px; bottom: -260px; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(154,177,82,.14), transparent 62%); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); margin: 22px 0 22px; }
.hero h1 .hl { color: var(--blue); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .16em; background: var(--mint); opacity: .45; border-radius: 4px; z-index: -1;
}
.hero .lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 34px; }
.hero-price { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-price .price { font-size: 15px; color: var(--muted); }
.hero-price .price strong { font-size: 28px; color: var(--ink); letter-spacing: -.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink);
}
.chip svg { width: 18px; height: 18px; color: var(--mint); }

/* Mockup do celular */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; aspect-ratio: 9 / 19; border-radius: 46px; padding: 12px;
  background: var(--navy); box-shadow: var(--shadow-lg); transform: rotate(-3deg);
}
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; translate: -50% 0; width: 90px; height: 24px; border-radius: 20px; background: #000; z-index: 3; }
.screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  background: linear-gradient(160deg, #2A5F96 0%, #123257 55%, #0F2B49 100%);
}
.doctor {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.doctor-avatar {
  width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.14);
  display: grid; place-items: center; border: 2px solid rgba(255,255,255,.25);
}
.doctor-avatar svg { width: 92px; height: 92px; color: #fff; }
.call-top { position: absolute; top: 64px; left: 0; right: 0; text-align: center; color: #fff; }
.call-top strong { display: block; font-size: 17px; }
.call-top span { font-size: 13px; opacity: .8; }
.self-view {
  position: absolute; right: 16px; bottom: 120px; width: 78px; height: 104px; border-radius: 16px;
  background: linear-gradient(160deg, #9AB152, #4E5C29); border: 2px solid rgba(255,255,255,.6);
  display: grid; place-items: center;
}
.self-view svg { width: 40px; height: 40px; color: rgba(255,255,255,.9); }
.call-actions { position: absolute; bottom: 36px; left: 0; right: 0; display: flex; justify-content: center; gap: 18px; }
.call-actions span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); }
.call-actions span.end { background: var(--danger); }
.call-actions svg { width: 22px; height: 22px; color: #fff; }

.float-card {
  position: absolute; background: var(--white); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px; font-size: 14px; z-index: 2; animation: float 6s ease-in-out infinite;
}
.float-card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.float-card .ic svg { width: 22px; height: 22px; }
.float-card strong { display: block; font-size: 14px; line-height: 1.2; }
.float-card small { color: var(--muted); font-size: 12.5px; }
.fc-1 { top: 200px; left: -10px; }
.fc-1 .ic { background: var(--mint-50); color: #5F6F33; }
.fc-2 { bottom: 90px; right: -16px; animation-delay: -3s; }
.fc-2 .ic { background: var(--blue-50); color: var(--blue); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Faixa de números ---------- */
.stats { background: var(--navy); color: #fff; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat strong { display: block; font-size: 34px; letter-spacing: -.03em; line-height: 1.1; }
.stat strong em { font-style: normal; color: var(--mint); }
.stat span { font-size: 14.5px; color: rgba(255,255,255,.7); }

/* ---------- Seções ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); margin: 16px 0 16px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* Como funciona */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px;
  transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step .num {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 22px;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 20px;
}
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* Benefícios */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.benefits h2 { font-size: clamp(32px, 4vw, 46px); margin: 16px 0 18px; }
.benefits > div > p { color: var(--muted); font-size: 18px; margin-bottom: 30px; }
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefit {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
}
.benefit .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 16px; }
.benefit:nth-child(even) .ic { background: var(--mint-50); color: #5F6F33; }
.benefit .ic svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 18px; margin-bottom: 6px; }
.benefit p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.seal {
  display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; margin-top: 8px;
}
.seal svg { width: 40px; height: 40px; color: var(--mint); flex-shrink: 0; }
.seal strong { display: block; font-size: 16px; }
.seal span { font-size: 14.5px; color: rgba(255,255,255,.75); }

/* Especialidades */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.spec {
  display: flex; align-items: center; gap: 12px; padding: 18px 18px; background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; font-weight: 700; font-size: 15.5px; transition: border-color .2s, transform .2s;
}
.spec:hover { border-color: var(--blue); transform: translateY(-2px); }
.spec .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex-shrink: 0; }
.spec .ic svg { width: 20px; height: 20px; }
.spec.featured { grid-column: span 2; background: var(--blue); color: #fff; border-color: var(--blue); }
.spec.featured .ic { background: rgba(255,255,255,.18); color: #fff; }
.spec.featured small { display: block; font-weight: 500; font-size: 13px; opacity: .85; }

/* Plano */
.plan-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.plan-wrap h2 { font-size: clamp(32px, 4vw, 46px); margin: 16px 0 18px; }
.plan-wrap > div > p { color: var(--muted); font-size: 18px; }
.plan {
  position: relative; background: var(--navy); color: #fff; border-radius: 28px; padding: 44px 40px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.plan::before {
  content: ""; position: absolute; top: -140px; right: -140px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(27,74,126,.6), transparent 65%);
}
.plan > * { position: relative; }
.plan .tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--mint); color: var(--navy); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.plan h3 { font-size: 24px; margin: 18px 0 6px; }
.plan .sub { color: rgba(255,255,255,.7); font-size: 15px; }
.plan .amount { display: flex; align-items: flex-start; gap: 6px; margin: 26px 0 4px; }
.plan .amount .cur { font-size: 22px; font-weight: 700; margin-top: 10px; }
.plan .amount .val { font-size: 72px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan .amount .per { align-self: flex-end; color: rgba(255,255,255,.7); margin-bottom: 10px; font-size: 16px; }
.plan .note { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 26px; }
.plan ul { list-style: none; margin: 0 0 32px; padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 14px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.plan li svg { width: 22px; height: 22px; color: var(--mint); flex-shrink: 0; margin-top: 1px; }
.plan .btn { width: 100%; }
.compare { margin-top: 30px; display: grid; gap: 12px; }
.compare-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-size: 15.5px; }
.compare-row strong { font-size: 17px; }
.compare-row.good { border-color: var(--mint); background: var(--mint-50); }

/* Sobre */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about-card { background: var(--navy); border-radius: 28px; padding: 48px 40px; color: #fff; }
.about-card img { height: 40px; width: auto; margin-bottom: 28px; }
.about-card p { color: rgba(255,255,255,.75); font-size: 16px; }
.about-card .loc { display: flex; gap: 10px; align-items: center; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; }
.about-card .loc svg { width: 20px; height: 20px; color: var(--mint); }
.about h2 { font-size: clamp(30px, 3.6vw, 42px); margin: 16px 0 18px; }
.about > div > p { color: var(--muted); font-size: 17.5px; margin-bottom: 26px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.pillar strong { display: flex; align-items: center; gap: 8px; font-size: 16.5px; margin-bottom: 4px; }
.pillar strong::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.pillar p { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: border-color .2s; }
.faq details[open] { border-color: var(--blue); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue); font-size: 22px; font-weight: 500; transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); font-size: 16px; }

/* CTA final */
.cta-band { padding: 0 0 110px; }
.cta-box {
  position: relative; overflow: hidden; border-radius: 32px; padding: 72px 48px; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, #163C67 50%, var(--navy) 100%);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.cta-box > * { position: relative; }
.cta-box h2 { font-size: clamp(30px, 4.4vw, 50px); max-width: 760px; margin: 0 auto 16px; }
.cta-box p { color: rgba(255,255,255,.82); font-size: 18px; max-width: 560px; margin: 0 auto 32px; }
.cta-box .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.cta-box .btn-ghost:hover { border-color: #fff; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer img { height: 30px; width: auto; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer .contact-li { display: flex; gap: 10px; align-items: flex-start; }
.footer .contact-li svg { width: 18px; height: 18px; color: var(--mint); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px;
}

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; }
[hidden] { display: none !important; }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .eyebrow .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .specs { grid-template-columns: repeat(3, 1fr); }
  .spec.featured { grid-column: span 1; }
  .nav { gap: 22px; }
}
@media (max-width: 960px) {
  .nav, .header-cta .btn-ghost { display: none; }
  .menu-toggle { display: block; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
  }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .hero { padding: 40px 0 72px; }
  .hero-grid, .benefits, .plan-wrap, .about { grid-template-columns: 1fr; gap: 48px; }
  .phone-wrap { margin-top: 10px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .header-cta .btn { padding: 11px 16px; font-size: 14px; }
  .logo img { height: 24px; }
  .hero h1 .hl { white-space: normal; }
  .hero-actions .btn { width: 100%; }
  .benefit-list { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .spec.featured { grid-column: span 2; }
  .spec { padding: 14px; font-size: 14.5px; gap: 10px; }
  .spec .ic { width: 34px; height: 34px; }
  .plan { padding: 36px 24px; }
  .plan .amount .val { font-size: 60px; }
  .pillars { grid-template-columns: 1fr; }
  .cta-box { padding: 56px 22px; border-radius: 24px; }
  .cta-actions .btn { width: 100%; }
  .float-card { display: none; }
  .phone { width: 260px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

/* =========================================================
   Página de adesão (assinar.html)
   ========================================================= */
.signup { background: var(--bg); min-height: 100vh; }
.signup-hero { padding: 48px 0 0; }
.signup-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; padding-bottom: 96px; }
.signup-title h1 { font-size: clamp(30px, 4vw, 44px); margin: 14px 0 10px; }
.signup-title p { color: var(--muted); font-size: 17px; margin-bottom: 32px; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 8px 36px 36px; box-shadow: var(--shadow); }
.fieldset { border: 0; margin: 0; padding: 30px 0 6px; border-bottom: 1px solid var(--line); min-width: 0; }
.fieldset:last-of-type { border-bottom: 0; }
.legend + * { clear: both; }
.legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 800; margin-bottom: 20px; padding: 0; letter-spacing: -.01em; }
.legend .n { width: 32px; height: 32px; border-radius: 10px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 15px; }
.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px 16px; }
.col-6 { grid-column: span 6; } .col-4 { grid-column: span 4; } .col-3 { grid-column: span 3; } .col-2 { grid-column: span 2; } .col-1 { grid-column: span 1; }

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select {
  width: 100%; height: 52px; padding: 0 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--white); font: 500 16px var(--font); color: var(--ink); transition: border-color .15s, box-shadow .15s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6785' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px;
}
.field input::placeholder { color: #A3ADC2; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(27,74,126,.12); }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field .err { display: none; font-size: 13px; color: var(--danger); font-weight: 600; }
.field.invalid .err { display: block; }
.field .hint { font-size: 13px; color: var(--muted); }

/* Cartões de escolha (pagamento / contato) */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 16px; border: 1.5px solid var(--line);
  cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; height: 100%;
}
.choice label:hover { border-color: #B8C3DD; }
.choice .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--bg); color: var(--muted); flex-shrink: 0; transition: .15s; }
.choice .ic svg { width: 24px; height: 24px; }
.choice strong { display: block; font-size: 16px; }
.choice small { color: var(--muted); font-size: 13.5px; line-height: 1.4; display: block; }
.choice input:checked + label { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(27,74,126,.12); }
.choice input:checked + label .ic { background: var(--blue); color: #fff; }
.choice input:focus-visible + label { outline: 3px solid rgba(27,74,126,.4); outline-offset: 2px; }
.choices.invalid .choice label { border-color: var(--danger); }
.group-err { display: none; font-size: 13px; color: var(--danger); font-weight: 600; margin-top: 8px; }
.choices.invalid + .group-err { display: block; }

.reveal-box {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease, margin .35s ease; margin-top: 0;
}
.reveal-box > div { overflow: hidden; }
.reveal-box.open { grid-template-rows: 1fr; margin-top: 18px; }
.reveal-inner { padding: 22px; border-radius: 16px; background: var(--bg); border: 1px dashed #C9D3E8; }
.info-note { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.info-note svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); cursor: pointer; margin-top: 4px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); flex-shrink: 0; }
.check a { color: var(--blue); font-weight: 600; text-decoration: underline; }
.check.invalid { color: var(--danger); }

.submit-row { margin-top: 28px; }
.submit-row .btn { width: 100%; padding: 20px; font-size: 17px; }
.submit-row .btn[disabled] { opacity: .6; cursor: progress; }
.secure { display: flex; gap: 8px; justify-content: center; align-items: center; font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.secure svg { width: 16px; height: 16px; color: #5F6F33; }
.form-alert { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #FDECEC; color: #B4232A; font-size: 14.5px; font-weight: 600; }
.form-alert.show { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Resumo lateral */
.summary { position: sticky; top: 100px; display: grid; gap: 16px; }
.summary .plan { padding: 32px 28px; border-radius: 24px; }
.summary .plan .amount .val { font-size: 56px; }
.summary .plan ul { margin-bottom: 0; gap: 12px; }
.summary .plan li { font-size: 15px; }
.help-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; font-size: 15px; }
.help-card strong { display: block; margin-bottom: 4px; }
.help-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }
.help-card a { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--blue); }
.help-card a svg { width: 18px; height: 18px; }

/* Sucesso */
.success { display: none; text-align: center; padding: 56px 24px; }
.success.show { display: block; }
.success .badge { width: 84px; height: 84px; border-radius: 50%; background: var(--mint-50); color: #5F6F33; display: grid; place-items: center; margin: 0 auto 24px; }
.success .badge svg { width: 44px; height: 44px; }
.success h2 { font-size: 32px; margin-bottom: 12px; }
.success p { color: var(--muted); font-size: 17px; max-width: 460px; margin: 0 auto 28px; }

.header-simple .container { height: 72px; }
.back-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 15px; color: var(--muted); }
.back-link:hover { color: var(--ink); }
.back-link svg { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .signup-grid { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .summary .plan ul { display: none; }
  .summary .help-card { display: none; }
}
@media (max-width: 600px) {
  .form-card { padding: 4px 18px 24px; border-radius: 20px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .col-6, .col-4 { grid-column: span 2; } .col-3 { grid-column: span 2; } .col-2 { grid-column: span 1; }
  .grid .half-sm { grid-column: span 1; }
  .choices { grid-template-columns: 1fr; }
}

/* Páginas de texto (privacidade) */
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 800px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 12px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 16.5px; }
.legal p + p { margin-top: 12px; }
